graphics.text · function ·
CreateGraphicsShapedGlyphV2
Create graphics shaped glyph v2 from the supplied values.
Shape, measure, and represent text and glyph resources.
external CreateGraphicsShapedGlyphV2(int index, int glyphId, int advanceXQ26_6, int advanceYQ26_6, int offsetXQ26_6, int offsetYQ26_6, bool missing) returns graphicsShapedGlyphV2Status: source-declared
Parameters
int index- Supply index as int.
int glyphId- Supply glyph id as int.
int advanceXQ26_6- Supply advance xq26 6 as int.
int advanceYQ26_6- Supply advance yq26 6 as int.
int offsetXQ26_6- Supply offset xq26 6 as int.
int offsetYQ26_6- Supply offset yq26 6 as int.
bool missing- Supply missing as bool.
Use CreateGraphicsShapedGlyphV2
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
// Shape, measure, and represent text and glyph resources.
int index = 1
int glyphId = 1
int advanceXQ26_6 = 1
int advanceYQ26_6 = 1
int offsetXQ26_6 = 1
int offsetYQ26_6 = 1
bool missing = true
graphicsShapedGlyphV2 result = CreateGraphicsShapedGlyphV2(index, glyphId, advanceXQ26_6, advanceYQ26_6, offsetXQ26_6, offsetYQ26_6, missing)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__creategraphicsshapedglyphv2"
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"
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/shaping_v2.yh:832