graphics.text.windows · thing ·

graphicsWindowsCapturedScriptSpan

A graphics windows captured script span record carrying index, sourceStartUtf16, sourceLengthUtf16, isoScriptCode, script, and related state.

cpugraphicsgraphics.text.windowsmethodsource-exampletextthingwindowsyeho

Capture Windows text shaping and glyph rasterization for the shared text model.

external thing graphicsWindowsCapturedScriptSpan

Status: source-declared

Fields and methods (8)
int index
Stores index as int.
int sourceStartUtf16
Stores source start utf16 as int.
int sourceLengthUtf16
Stores source length utf16 as int.
int isoScriptCode
Stores iso script code as int.
text script
Stores script as text.
int shapes
Stores shapes as int.
graphicsWindowsCapturedScriptSpan(int index, int sourceStartUtf16, int sourceLengthUtf16, int isoScriptCode, text script, int shapes)
Graphics windows captured script span.
ValidationIssue(text source, int utf16Length) returns text
Validation issue. Complete example

Use graphicsWindowsCapturedScriptSpan

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using graphics.text.windows

// Capture Windows text shaping and glyph rasterization for the shared text model.
graphicsWindowsCapturedScriptSpan sample = graphicsWindowsCapturedScriptSpan(1, 1, 1, 1, "script", 1)
Console.Log(Text.From(sample.index))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowscapturedscriptspan"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

graphicsWindowsCapturedScriptSpan.ValidationIssue

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using graphics.text.windows

// Validation issue.
graphicsWindowsCapturedScriptSpan instance = graphicsWindowsCapturedScriptSpan(1, 1, 1, 1, "script", 1)
text argument_source = "argument source"
int argument_utf16Length = 1
text result = instance.ValidationIssue(argument_source, argument_utf16Length)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowscapturedscriptspan"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/graphics/text/windows/glyph_run_capture.yh:476