graphics.text.windows · thing ·
graphicsWindowsShapedAlphaTextV1
A graphics windows shaped alpha text v1 record carrying capture, shaped, alpha, source.
Capture Windows text shaping and glyph rasterization for the shared text model.
external thing graphicsWindowsShapedAlphaTextV1Status: source-declared
Fields and methods (7)
graphicsWindowsGlyphRunCaptureSnapshot capture- Stores capture as graphicsWindowsGlyphRunCaptureSnapshot.
graphicsShapedTextV2 shaped- Stores shaped as graphicsShapedTextV2.
graphicsGlyphAlphaResourceSetV1 alpha- Stores alpha as graphicsGlyphAlphaResourceSetV1.
text source- Stores source as text.
graphicsWindowsShapedAlphaTextV1(graphicsWindowsGlyphRunCaptureSnapshot capture, graphicsShapedTextV2 shaped, graphicsGlyphAlphaResourceSetV1 alpha, text source)- Graphics windows shaped alpha text v1.
Available() returns bool- Available. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsWindowsShapedAlphaTextV1
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.
graphicsWindowsShapedAlphaTextV1 sample = graphicsWindowsShapedAlphaTextV1(graphicsWindowsGlyphRunCaptureSnapshot("example"), graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example"), graphicsGlyphAlphaResourceSetV1("example"), "example")
Console.Log(Text.From(sample.source))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsshapedalphatextv1"
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"
graphicsWindowsShapedAlphaTextV1.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.
graphicsWindowsShapedAlphaTextV1 instance = graphicsWindowsShapedAlphaTextV1(graphicsWindowsGlyphRunCaptureSnapshot("example"), graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example"), graphicsGlyphAlphaResourceSetV1("example"), "example")
bool result = instance.Available()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsshapedalphatextv1"
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"
graphicsWindowsShapedAlphaTextV1.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.
graphicsWindowsShapedAlphaTextV1 instance = graphicsWindowsShapedAlphaTextV1(graphicsWindowsGlyphRunCaptureSnapshot("example"), graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example"), graphicsGlyphAlphaResourceSetV1("example"), "example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsshapedalphatextv1"
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:7