{"id":"graphics.text.windows--graphicsWindowsCapturedScriptSpan","name":"graphicsWindowsCapturedScriptSpan","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsCapturedScriptSpan","description":"A graphics windows captured script span record carrying index, sourceStartUtf16, sourceLengthUtf16, isoScriptCode, script, 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":"sourceStartUtf16","kind":"field","type":"int","description":"Stores source start utf16 as int.","signature":"int sourceStartUtf16","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"sourceLengthUtf16","kind":"field","type":"int","description":"Stores source length utf16 as int.","signature":"int sourceLengthUtf16","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isoScriptCode","kind":"field","type":"int","description":"Stores iso script code as int.","signature":"int isoScriptCode","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"script","kind":"field","type":"text","description":"Stores script as text.","signature":"text script","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"shapes","kind":"field","type":"int","description":"Stores shapes as int.","signature":"int shapes","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"graphicsWindowsCapturedScriptSpan","kind":"constructor","parameters":[{"name":"index","type":"int","description":"Index."},{"name":"sourceStartUtf16","type":"int","description":"Source start utf16."},{"name":"sourceLengthUtf16","type":"int","description":"Source length utf16."},{"name":"isoScriptCode","type":"int","description":"Iso script code."},{"name":"script","type":"text","description":"Script."},{"name":"shapes","type":"int","description":"Shapes."}],"returns":"void","signature":"graphicsWindowsCapturedScriptSpan(int index, int sourceStartUtf16, int sourceLengthUtf16, int isoScriptCode, text script, int shapes)","description":"Graphics windows captured script span.","tags":["thing","constructor","graphics.text.windows"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[{"name":"source","type":"text","description":"Source."},{"name":"utf16Length","type":"int","description":"Utf16 length."}],"returns":"text","signature":"ValidationIssue(text source, int utf16Length) returns text","description":"Validation issue.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-ValidationIssue-7","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":476,"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 graphicsWindowsCapturedScriptSpan","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.\ngraphicsWindowsCapturedScriptSpan sample = graphicsWindowsCapturedScriptSpan(1, 1, 1, 1, \"script\", 1)\nConsole.Log(Text.From(sample.index))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedscriptspan\"\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":"484f95b6b187db4ddb36240de3e8d80088f0a852fd8c4c2d98a3681944057e26","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-7","title":"graphicsWindowsCapturedScriptSpan.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.\ngraphicsWindowsCapturedScriptSpan instance = graphicsWindowsCapturedScriptSpan(1, 1, 1, 1, \"script\", 1)\ntext argument_source = \"argument source\"\nint argument_utf16Length = 1\ntext result = instance.ValidationIssue(argument_source, argument_utf16Length)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowscapturedscriptspan\"\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":"4418e6da8696a9c55b82d81034313e862bdf087f24e44f4d7aa60b217e25b34c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["index","sourceStartUtf16","sourceLengthUtf16","isoScriptCode","script","shapes","graphicsWindowsCapturedScriptSpan","ValidationIssue"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsCapturedScriptSpan","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsCapturedScriptSpan.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsCapturedScriptSpan.md"}
