{"id":"graphics.text--CreateGraphicsGlyphClusterV2","name":"CreateGraphicsGlyphClusterV2","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsGlyphClusterV2(int index, int sourceStart, int sourceEnd, int glyphStart, int glyphEnd, text script, int bidiLevel, bool breakOpportunity, bool whitespace, bool missing) returns graphicsGlyphClusterV2","description":"Create graphics glyph cluster v2 from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"index","type":"int","description":"Supply index as int."},{"name":"sourceStart","type":"int","description":"Supply source start as int."},{"name":"sourceEnd","type":"int","description":"Supply source end as int."},{"name":"glyphStart","type":"int","description":"Supply glyph start as int."},{"name":"glyphEnd","type":"int","description":"Supply glyph end as int."},{"name":"script","type":"text","description":"Supply script as text."},{"name":"bidiLevel","type":"int","description":"Supply bidi level as int."},{"name":"breakOpportunity","type":"bool","description":"Supply break opportunity as bool."},{"name":"whitespace","type":"bool","description":"Supply whitespace as bool."},{"name":"missing","type":"bool","description":"Supply missing as bool."}],"returns":"graphicsGlyphClusterV2","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":837,"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 CreateGraphicsGlyphClusterV2","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.\nint index = 1\nint sourceStart = 1\nint sourceEnd = 1\nint glyphStart = 1\nint glyphEnd = 1\ntext script = \"script\"\nint bidiLevel = 1\nbool breakOpportunity = true\nbool whitespace = true\nbool missing = true\ngraphicsGlyphClusterV2 result = CreateGraphicsGlyphClusterV2(index, sourceStart, sourceEnd, glyphStart, glyphEnd, script, bidiLevel, breakOpportunity, whitespace, missing)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicsglyphclusterv2\"\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":"f93f39d4910e27780f8f9c3bcfe581e3e6015e38bdf2f18b4a574ad1ced881b8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsGlyphClusterV2","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsGlyphClusterV2.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsGlyphClusterV2.md"}
