graphics.text.windows · thing ·

graphicsWindowsShapedAlphaGeometryTextV1

A graphics windows shaped alpha geometry text v1 record carrying capture, shaped, alpha, geometry, captureGeneration, and related state.

cpugraphicsgraphics.text.windowsmethodsource-exampletextthingwindowsyeho

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

external thing graphicsWindowsShapedAlphaGeometryTextV1

Status: source-declared

Fields and methods (12)
graphicsWindowsGlyphRunCaptureSnapshot capture
Stores capture as graphicsWindowsGlyphRunCaptureSnapshot.
graphicsShapedTextV2 shaped
Stores shaped as graphicsShapedTextV2.
graphicsGlyphAlphaResourceSetV1 alpha
Stores alpha as graphicsGlyphAlphaResourceSetV1.
graphicsWindowsTextLayoutGeometrySnapshot geometry
Stores geometry as graphicsWindowsTextLayoutGeometrySnapshot.
int captureGeneration
Stores capture generation as int.
int geometryGeneration
Stores geometry generation as int.
bool oneNativeLayout
Stores one native layout as bool.
text source
Stores source as text.
graphicsWindowsShapedAlphaGeometryTextV1(graphicsWindowsGlyphRunCaptureSnapshot capture, graphicsShapedTextV2 shaped, graphicsGlyphAlphaResourceSetV1 alpha, graphicsWindowsTextLayoutGeometrySnapshot geometry, int captureGeneration, int geometryGeneration, bool oneNativeLayout, text source)
Graphics windows shaped alpha geometry text v1.
Available() returns bool
Available. Complete example
CleanupComplete() returns bool
Cleanup complete. Complete example
Snapshot() returns text
Snapshot. Complete example

Use graphicsWindowsShapedAlphaGeometryTextV1

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.
graphicsWindowsShapedAlphaGeometryTextV1 sample = graphicsWindowsShapedAlphaGeometryTextV1(graphicsWindowsGlyphRunCaptureSnapshot("example"), graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example"), graphicsGlyphAlphaResourceSetV1("example"), graphicsWindowsTextLayoutGeometrySnapshot("example"), 1, 1, true, "example")
Console.Log(Text.From(sample.captureGeneration))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsshapedalphageometrytextv1"
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"

graphicsWindowsShapedAlphaGeometryTextV1.Available

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

// Available.
graphicsWindowsShapedAlphaGeometryTextV1 instance = graphicsWindowsShapedAlphaGeometryTextV1(graphicsWindowsGlyphRunCaptureSnapshot("example"), graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example"), graphicsGlyphAlphaResourceSetV1("example"), graphicsWindowsTextLayoutGeometrySnapshot("example"), 1, 1, true, "example")
bool result = instance.Available()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsshapedalphageometrytextv1"
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"

graphicsWindowsShapedAlphaGeometryTextV1.CleanupComplete

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

// Cleanup complete.
graphicsWindowsShapedAlphaGeometryTextV1 instance = graphicsWindowsShapedAlphaGeometryTextV1(graphicsWindowsGlyphRunCaptureSnapshot("example"), graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example"), graphicsGlyphAlphaResourceSetV1("example"), graphicsWindowsTextLayoutGeometrySnapshot("example"), 1, 1, true, "example")
bool result = instance.CleanupComplete()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsshapedalphageometrytextv1"
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"

graphicsWindowsShapedAlphaGeometryTextV1.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.
graphicsWindowsShapedAlphaGeometryTextV1 instance = graphicsWindowsShapedAlphaGeometryTextV1(graphicsWindowsGlyphRunCaptureSnapshot("example"), graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example"), graphicsGlyphAlphaResourceSetV1("example"), graphicsWindowsTextLayoutGeometrySnapshot("example"), 1, 1, true, "example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsshapedalphageometrytextv1"
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_alpha_raster_v1.yh:37