{"id":"graphics.text--CreateGraphicsGlyphCluster","name":"CreateGraphicsGlyphCluster","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsGlyphCluster(text value, int sourceStart, int sourceEnd, text glyphId, int advance, text fontFamily, text script, int bidiLevel, bool breakOpportunity, bool missing) returns graphicsGlyphCluster","description":"Create graphics glyph cluster from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"value","type":"text","description":"Supply value as text."},{"name":"sourceStart","type":"int","description":"Supply source start as int."},{"name":"sourceEnd","type":"int","description":"Supply source end as int."},{"name":"glyphId","type":"text","description":"Supply glyph id as text."},{"name":"advance","type":"int","description":"Supply advance as int."},{"name":"fontFamily","type":"text","description":"Supply font family as text."},{"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":"missing","type":"bool","description":"Supply missing as bool."}],"returns":"graphicsGlyphCluster","members":[],"tags":["cpu","function","graphics","graphics.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping.yh","line":309,"sha256":"116949dcf311dd0fd246fd1f36696a40bd178e892887dff1d1d515316e09b6c5"},"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 CreateGraphicsGlyphCluster","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 value = \"value\"\nint sourceStart = 1\nint sourceEnd = 1\ntext glyphId = \"glyph Id\"\nint advance = 1\ntext fontFamily = \"font Family\"\ntext script = \"script\"\nint bidiLevel = 1\nbool breakOpportunity = true\nbool missing = true\ngraphicsGlyphCluster result = CreateGraphicsGlyphCluster(value, sourceStart, sourceEnd, glyphId, advance, fontFamily, script, bidiLevel, breakOpportunity, missing)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicsglyphcluster\"\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":"1ed9e1976486581d4c45f2552ecaa1c558de413922edd3c403ebec87abc22d55","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsGlyphCluster","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsGlyphCluster.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsGlyphCluster.md"}
