{"id":"graphics.text.windows--graphicsWindowsCapturedGlyphRun","name":"graphicsWindowsCapturedGlyphRun","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsCapturedGlyphRun","description":"A graphics windows captured glyph run record carrying sequence, textPositionUtf16, textLengthUtf16, sourceStartUtf8, sourceEndUtf8, and related state.","context":"Capture Windows text shaping and glyph rasterization for the shared text model.","parameters":[],"returns":"void","members":[{"name":"sequence","kind":"field","type":"int","description":"Stores sequence as int.","signature":"int sequence","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"textPositionUtf16","kind":"field","type":"int","description":"Stores text position utf16 as int.","signature":"int textPositionUtf16","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"textLengthUtf16","kind":"field","type":"int","description":"Stores text length utf16 as int.","signature":"int textLengthUtf16","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"sourceStartUtf8","kind":"field","type":"int","description":"Stores source start utf8 as int.","signature":"int sourceStartUtf8","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"sourceEndUtf8","kind":"field","type":"int","description":"Stores source end utf8 as int.","signature":"int sourceEndUtf8","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"bidiLevel","kind":"field","type":"int","description":"Stores bidi level as int.","signature":"int bidiLevel","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"direction","kind":"field","type":"text","description":"Stores direction as text.","signature":"text direction","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"sideways","kind":"field","type":"bool","description":"Stores sideways as bool.","signature":"bool sideways","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"measuringMode","kind":"field","type":"int","description":"Stores measuring mode as int.","signature":"int measuringMode","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"baselineXQ26_6","kind":"field","type":"int","description":"Stores baseline xq26 6 as int.","signature":"int baselineXQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"baselineYQ26_6","kind":"field","type":"int","description":"Stores baseline yq26 6 as int.","signature":"int baselineYQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"fontIdentityIndex","kind":"field","type":"int","description":"Stores font identity index as int.","signature":"int fontIdentityIndex","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"clusterMap","kind":"field","type":"list of int","description":"Stores cluster map as list of int.","signature":"list of int clusterMap","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"sourceClusters","kind":"field","type":"list of graphicsWindowsCapturedSourceCluster","description":"Stores source clusters as list of graphicsWindowsCapturedSourceCluster.","signature":"list of graphicsWindowsCapturedSourceCluster sourceClusters","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"glyphs","kind":"field","type":"list of graphicsWindowsCapturedGlyph","description":"Stores glyphs as list of graphicsWindowsCapturedGlyph.","signature":"list of graphicsWindowsCapturedGlyph glyphs","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"graphicsWindowsCapturedGlyphRun","kind":"constructor","parameters":[{"name":"sequence","type":"int","description":"Sequence."},{"name":"textPositionUtf16","type":"int","description":"Text position utf16."},{"name":"textLengthUtf16","type":"int","description":"Text length utf16."},{"name":"bidiLevel","type":"int","description":"Bidi level."},{"name":"direction","type":"text","description":"Direction."},{"name":"sideways","type":"bool","description":"Sideways."},{"name":"measuringMode","type":"int","description":"Measuring mode."},{"name":"baselineXQ26_6","type":"int","description":"Baseline xq26 6."},{"name":"baselineYQ26_6","type":"int","description":"Baseline yq26 6."}],"returns":"void","signature":"graphicsWindowsCapturedGlyphRun(int sequence, int textPositionUtf16, int textLengthUtf16, int bidiLevel, text direction, bool sideways, int measuringMode, int baselineXQ26_6, int baselineYQ26_6)","description":"Graphics windows captured glyph run.","tags":["thing","constructor","graphics.text.windows"],"updated":"2026-09-09"},{"name":"BuildSourceClusters","kind":"method","parameters":[{"name":"utf16ToUtf8Boundaries","type":"list of int","description":"Utf16 to utf8 boundaries."}],"returns":"bool","signature":"BuildSourceClusters(list of int utf16ToUtf8Boundaries) returns bool","description":"Build source clusters.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-BuildSourceClusters-16","updated":"2026-09-09"},{"name":"SourceClusterIssue","kind":"method","parameters":[{"name":"source","type":"text","description":"Source."}],"returns":"text","signature":"SourceClusterIssue(text source) returns text","description":"Source cluster issue.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-SourceClusterIssue-17","updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[{"name":"source","type":"text","description":"Source."},{"name":"utf16Length","type":"int","description":"Utf16 length."},{"name":"utf8Length","type":"int","description":"Utf8 length."}],"returns":"text","signature":"ValidationIssue(text source, int utf16Length, int utf8Length) returns text","description":"Validation issue.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-ValidationIssue-18","updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-Snapshot-19","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.text.windows","method","source-example","text","thing","windows","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/windows/glyph_run_capture.yh","line":220,"sha256":"e64d82451ad85576d7ddcd4e74165aeaaa26f12f4e49928fe8a0a4ac0a0caa8f"},"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 graphicsWindowsCapturedGlyphRun","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text.windows\n\n// Capture Windows text shaping and glyph rasterization for the shared text model.\ngraphicsWindowsCapturedGlyphRun sample = graphicsWindowsCapturedGlyphRun(1, 1, 1, 1, \"direction\", true, 1, 1, 1)\nConsole.Log(Text.From(sample.sequence))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedglyphrun\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"2375d522103b3e17a38b56b3031f3b2c82d5234ebaa3322843e497817aedee1b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BuildSourceClusters-16","title":"graphicsWindowsCapturedGlyphRun.BuildSourceClusters","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text.windows\n\n// Build source clusters.\ngraphicsWindowsCapturedGlyphRun instance = graphicsWindowsCapturedGlyphRun(1, 1, 1, 1, \"direction\", true, 1, 1, 1)\nlist of int argument_utf16ToUtf8Boundaries = []\nbool result = instance.BuildSourceClusters(argument_utf16ToUtf8Boundaries)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedglyphrun\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"1e4b9314160e007cbce7346f94ccea18c1e6916e282c4acc2f90c761ca9a435b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SourceClusterIssue-17","title":"graphicsWindowsCapturedGlyphRun.SourceClusterIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text.windows\n\n// Source cluster issue.\ngraphicsWindowsCapturedGlyphRun instance = graphicsWindowsCapturedGlyphRun(1, 1, 1, 1, \"direction\", true, 1, 1, 1)\ntext argument_source = \"argument source\"\ntext result = instance.SourceClusterIssue(argument_source)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedglyphrun\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"75d8817e327187c332b220fe30c715295fdbb6d2958ef68b00d1cd3b68f2239f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-18","title":"graphicsWindowsCapturedGlyphRun.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text.windows\n\n// Validation issue.\ngraphicsWindowsCapturedGlyphRun instance = graphicsWindowsCapturedGlyphRun(1, 1, 1, 1, \"direction\", true, 1, 1, 1)\ntext argument_source = \"argument source\"\nint argument_utf16Length = 1\nint argument_utf8Length = 1\ntext result = instance.ValidationIssue(argument_source, argument_utf16Length, argument_utf8Length)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedglyphrun\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"5b28a245130fdb1d5b290883ef3ca9ff81bd93204ba5819ed1baa0d3956cd29b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-19","title":"graphicsWindowsCapturedGlyphRun.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text.windows\n\n// Snapshot.\ngraphicsWindowsCapturedGlyphRun instance = graphicsWindowsCapturedGlyphRun(1, 1, 1, 1, \"direction\", true, 1, 1, 1)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedglyphrun\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"49693d326ad701f7c0ab6b75f3a917191b049df301d9544ea9c18eab9967a88c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["sequence","textPositionUtf16","textLengthUtf16","sourceStartUtf8","sourceEndUtf8","bidiLevel","direction","sideways","measuringMode","baselineXQ26_6","baselineYQ26_6","fontIdentityIndex","clusterMap","sourceClusters","glyphs","graphicsWindowsCapturedGlyphRun","BuildSourceClusters","SourceClusterIssue","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsCapturedGlyphRun","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsCapturedGlyphRun.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsCapturedGlyphRun.md"}
