{"id":"graphics.text--CreateGraphicsTextShapingCapabilityV2","name":"CreateGraphicsTextShapingCapabilityV2","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsTextShapingCapabilityV2(text provider, text target, bool available, int fractionalBits, text features, text diagnostic) returns graphicsTextShapingCapabilityV2","description":"Create graphics text shaping capability v2 from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"provider","type":"text","description":"Supply provider as text."},{"name":"target","type":"text","description":"Supply target as text."},{"name":"available","type":"bool","description":"Supply available as bool."},{"name":"fractionalBits","type":"int","description":"Supply fractional bits as int."},{"name":"features","type":"text","description":"Supply features as text."},{"name":"diagnostic","type":"text","description":"Supply diagnostic as text."}],"returns":"graphicsTextShapingCapabilityV2","members":[],"tags":["cpu","function","graphics","graphics.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping_v2.yh","line":852,"sha256":"ad66072d9d12e22ed0e346be3498b8a3747585595527e5bbc916f1184c525ac4"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use CreateGraphicsTextShapingCapabilityV2","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text\n\n// Shape, measure, and represent text and glyph resources.\ntext provider = \"provider\"\ntext target = \"target\"\nbool available = true\nint fractionalBits = 1\ntext features = \"features\"\ntext diagnostic = \"diagnostic\"\ngraphicsTextShapingCapabilityV2 result = CreateGraphicsTextShapingCapabilityV2(provider, target, available, fractionalBits, features, diagnostic)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicstextshapingcapabilityv2\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"9e3ca433e94d42f82218112e10090db04b2124514368433be7cede16fad6f7a3","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsTextShapingCapabilityV2","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsTextShapingCapabilityV2.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsTextShapingCapabilityV2.md"}
