{"id":"graphics.text.windows--graphicsWindowsCapturedSourceCluster","name":"graphicsWindowsCapturedSourceCluster","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsCapturedSourceCluster","description":"A graphics windows captured source cluster record carrying index, 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":"index","kind":"field","type":"int","description":"Stores index as int.","signature":"int index","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":"glyphStart","kind":"field","type":"int","description":"Stores glyph start as int.","signature":"int glyphStart","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"glyphEnd","kind":"field","type":"int","description":"Stores glyph end as int.","signature":"int glyphEnd","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"missing","kind":"field","type":"bool","description":"Stores missing as bool.","signature":"bool missing","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"graphicsWindowsCapturedSourceCluster","kind":"constructor","parameters":[{"name":"index","type":"int","description":"Index."},{"name":"textPositionUtf16","type":"int","description":"Text position utf16."},{"name":"textLengthUtf16","type":"int","description":"Text length utf16."},{"name":"sourceStartUtf8","type":"int","description":"Source start utf8."},{"name":"sourceEndUtf8","type":"int","description":"Source end utf8."},{"name":"glyphStart","type":"int","description":"Glyph start."},{"name":"glyphEnd","type":"int","description":"Glyph end."},{"name":"missing","type":"bool","description":"Missing."}],"returns":"void","signature":"graphicsWindowsCapturedSourceCluster(int index, int textPositionUtf16, int textLengthUtf16, int sourceStartUtf8, int sourceEndUtf8, int glyphStart, int glyphEnd, bool missing)","description":"Graphics windows captured source cluster.","tags":["thing","constructor","graphics.text.windows"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[{"name":"source","type":"text","description":"Source."},{"name":"runUtf16Start","type":"int","description":"Run utf16 start."},{"name":"runUtf16End","type":"int","description":"Run utf16 end."},{"name":"runUtf8Start","type":"int","description":"Run utf8 start."},{"name":"runUtf8End","type":"int","description":"Run utf8 end."},{"name":"glyphCount","type":"int","description":"Glyph count."}],"returns":"text","signature":"ValidationIssue(text source, int runUtf16Start, int runUtf16End, int runUtf8Start, int runUtf8End, int glyphCount) returns text","description":"Validation issue.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-ValidationIssue-9","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-10","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":174,"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 graphicsWindowsCapturedSourceCluster","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.\ngraphicsWindowsCapturedSourceCluster sample = graphicsWindowsCapturedSourceCluster(1, 1, 1, 1, 1, 1, 1, true)\nConsole.Log(Text.From(sample.index))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedsourcecluster\"\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":"51c1d946cff76cd0b3e9cd80b6bfaecf4de6f084a77235d340e2c64f045e7240","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-9","title":"graphicsWindowsCapturedSourceCluster.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.\ngraphicsWindowsCapturedSourceCluster instance = graphicsWindowsCapturedSourceCluster(1, 1, 1, 1, 1, 1, 1, true)\ntext argument_source = \"argument source\"\nint argument_runUtf16Start = 1\nint argument_runUtf16End = 1\nint argument_runUtf8Start = 1\nint argument_runUtf8End = 1\nint argument_glyphCount = 1\ntext result = instance.ValidationIssue(argument_source, argument_runUtf16Start, argument_runUtf16End, argument_runUtf8Start, argument_runUtf8End, argument_glyphCount)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedsourcecluster\"\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":"bf2eafe7d7da2b3643b168e578c0bbdf8cb7f0f283cdabeca9ad66fdcaf2bf91","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-10","title":"graphicsWindowsCapturedSourceCluster.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.\ngraphicsWindowsCapturedSourceCluster instance = graphicsWindowsCapturedSourceCluster(1, 1, 1, 1, 1, 1, 1, true)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedsourcecluster\"\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":"1fc1f2680aead8c4c7e68e41da19c2f5cd8a1baee2ea4d91fff995ddcc9a00ae","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["index","textPositionUtf16","textLengthUtf16","sourceStartUtf8","sourceEndUtf8","glyphStart","glyphEnd","missing","graphicsWindowsCapturedSourceCluster","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsCapturedSourceCluster","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsCapturedSourceCluster.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsCapturedSourceCluster.md"}
