graphics.text.windows · thing ·
graphicsWindowsCapturedGlyph
A graphics windows captured glyph record carrying index, glyphId, advanceQ26_6, advanceOffsetQ26_6, ascenderOffsetQ26_6.
Capture Windows text shaping and glyph rasterization for the shared text model.
external thing graphicsWindowsCapturedGlyphStatus: source-declared
Fields and methods (8)
int index- Stores index as int.
int glyphId- Stores glyph id as int.
int advanceQ26_6- Stores advance q26 6 as int.
int advanceOffsetQ26_6- Stores advance offset q26 6 as int.
int ascenderOffsetQ26_6- Stores ascender offset q26 6 as int.
graphicsWindowsCapturedGlyph(int index, int glyphId, int advanceQ26_6, int advanceOffsetQ26_6, int ascenderOffsetQ26_6)- Graphics windows captured glyph.
ValidationIssue(text source) returns text- Validation issue. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsWindowsCapturedGlyph
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.
graphicsWindowsCapturedGlyph sample = graphicsWindowsCapturedGlyph(1, 1, 1, 1, 1)
Console.Log(Text.From(sample.index))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowscapturedglyph"
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"
graphicsWindowsCapturedGlyph.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.
graphicsWindowsCapturedGlyph instance = graphicsWindowsCapturedGlyph(1, 1, 1, 1, 1)
text argument_source = "argument source"
text result = instance.ValidationIssue(argument_source)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowscapturedglyph"
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"
graphicsWindowsCapturedGlyph.Snapshot
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
// Snapshot.
graphicsWindowsCapturedGlyph instance = graphicsWindowsCapturedGlyph(1, 1, 1, 1, 1)
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowscapturedglyph"
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:133