graphics.text.windows · thing ·
graphicsWindowsTextLineGeometry
A graphics windows text line geometry record carrying utf16Length, trailingWhitespaceLength, newlineLength, heightQ26_6, baselineQ26_6, and related state.
Capture Windows text shaping and glyph rasterization for the shared text model.
external thing graphicsWindowsTextLineGeometryStatus: source-declared
Fields and methods (9)
int utf16Length- Stores utf16 length as int.
int trailingWhitespaceLength- Stores trailing whitespace length as int.
int newlineLength- Stores newline length as int.
int heightQ26_6- Stores height q26 6 as int.
int baselineQ26_6- Stores baseline q26 6 as int.
bool isTrimmed- Stores is trimmed as bool.
graphicsWindowsTextLineGeometry(int utf16Length, int trailingWhitespaceLength, int newlineLength, int heightQ26_6, int baselineQ26_6, bool isTrimmed)- Graphics windows text line geometry.
ValidationIssue(text source) returns text- Validation issue. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsWindowsTextLineGeometry
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.
graphicsWindowsTextLineGeometry sample = graphicsWindowsTextLineGeometry(1, 1, 1, 1, 1, true)
Console.Log(Text.From(sample.utf16Length))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowstextlinegeometry"
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"
graphicsWindowsTextLineGeometry.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.
graphicsWindowsTextLineGeometry instance = graphicsWindowsTextLineGeometry(1, 1, 1, 1, 1, true)
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__graphicswindowstextlinegeometry"
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"
graphicsWindowsTextLineGeometry.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.
graphicsWindowsTextLineGeometry instance = graphicsWindowsTextLineGeometry(1, 1, 1, 1, 1, true)
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowstextlinegeometry"
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/layout_geometry.yh:59