# graphicsWindowsGlyphBridgeRunV1

A graphics windows glyph bridge run v1 record carrying index, captureSequence, sourceStartUtf16, sourceEndUtf16, sourceStartUtf8, and related state.

Last updated: 2026-09-09

Package: graphics.text.windows | Status: source-declared

Tags: cpu, graphics, graphics.text.windows, method, source-example, text, thing, windows, yeho

Capture Windows text shaping and glyph rasterization for the shared text model.

```yh
external thing graphicsWindowsGlyphBridgeRunV1
```

- int index: Stores index as int.
- int captureSequence: Stores capture sequence as int.
- int sourceStartUtf16: Stores source start utf16 as int.
- int sourceEndUtf16: Stores source end utf16 as int.
- int sourceStartUtf8: Stores source start utf8 as int.
- int sourceEndUtf8: Stores source end utf8 as int.
- int clusterStart: Stores cluster start as int.
- int clusterEnd: Stores cluster end as int.
- int glyphStart: Stores glyph start as int.
- int glyphEnd: Stores glyph end as int.
- int bidiLevel: Stores bidi level as int.
- text direction: Stores direction as text.
- bool sideways: Stores sideways as bool.
- graphicsWindowsGlyphBridgeRunV1(int index, int captureSequence, int sourceStartUtf16, int sourceEndUtf16, int sourceStartUtf8, int sourceEndUtf8, int clusterStart, int clusterEnd, int glyphStart, int glyphEnd, int bidiLevel, text direction, bool sideways): Graphics windows glyph bridge run v1.
- Snapshot() returns text: Snapshot.

## Use graphicsWindowsGlyphBridgeRunV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using graphics.text.windows

// Capture Windows text shaping and glyph rasterization for the shared text model.
graphicsWindowsGlyphBridgeRunV1 sample = graphicsWindowsGlyphBridgeRunV1(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, "direction", true)
Console.Log(Text.From(sample.index))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsglyphbridgerunv1"
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text.windows--graphicsWindowsGlyphBridgeRunV1/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsWindowsGlyphBridgeRunV1.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text.windows

// Snapshot.
graphicsWindowsGlyphBridgeRunV1 instance = graphicsWindowsGlyphBridgeRunV1(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, "direction", true)
text result = instance.Snapshot()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsglyphbridgerunv1"
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text.windows--graphicsWindowsGlyphBridgeRunV1/method-Snapshot-14 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/graphics/text/windows/shaped_text_bridge.yh

AI training permission: https://demonhunterlabs.com/ai-use
