{"id":"graphics.text--graphicsTextMetricsV2","name":"graphicsTextMetricsV2","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsTextMetricsV2","description":"A graphics text metrics v2 record carrying ascentQ26_6, descentQ26_6, lineGapQ26_6, capHeightQ26_6, xHeightQ26_6, and related state.","context":"Shape, measure, and represent text and glyph resources.","parameters":[],"returns":"void","members":[{"name":"ascentQ26_6","kind":"field","type":"int","description":"Stores ascent q26 6 as int.","signature":"int ascentQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"descentQ26_6","kind":"field","type":"int","description":"Stores descent q26 6 as int.","signature":"int descentQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"lineGapQ26_6","kind":"field","type":"int","description":"Stores line gap q26 6 as int.","signature":"int lineGapQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"capHeightQ26_6","kind":"field","type":"int","description":"Stores cap height q26 6 as int.","signature":"int capHeightQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"xHeightQ26_6","kind":"field","type":"int","description":"Stores x height q26 6 as int.","signature":"int xHeightQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"underlinePositionQ26_6","kind":"field","type":"int","description":"Stores underline position q26 6 as int.","signature":"int underlinePositionQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"underlineThicknessQ26_6","kind":"field","type":"int","description":"Stores underline thickness q26 6 as int.","signature":"int underlineThicknessQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"advanceXQ26_6","kind":"field","type":"int","description":"Stores advance xq26 6 as int.","signature":"int advanceXQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"advanceYQ26_6","kind":"field","type":"int","description":"Stores advance yq26 6 as int.","signature":"int advanceYQ26_6","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsTextMetricsV2","kind":"constructor","parameters":[{"name":"ascentQ26_6","type":"int","description":"Ascent q26 6."},{"name":"descentQ26_6","type":"int","description":"Descent q26 6."},{"name":"lineGapQ26_6","type":"int","description":"Line gap q26 6."},{"name":"capHeightQ26_6","type":"int","description":"Cap height q26 6."},{"name":"xHeightQ26_6","type":"int","description":"X height q26 6."},{"name":"underlinePositionQ26_6","type":"int","description":"Underline position q26 6."},{"name":"underlineThicknessQ26_6","type":"int","description":"Underline thickness q26 6."},{"name":"advanceXQ26_6","type":"int","description":"Advance xq26 6."},{"name":"advanceYQ26_6","type":"int","description":"Advance yq26 6."}],"returns":"void","signature":"graphicsTextMetricsV2(int ascentQ26_6, int descentQ26_6, int lineGapQ26_6, int capHeightQ26_6, int xHeightQ26_6, int underlinePositionQ26_6, int underlineThicknessQ26_6, int advanceXQ26_6, int advanceYQ26_6)","description":"Graphics text metrics v2.","tags":["thing","constructor","graphics.text"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[{"name":"source","type":"text","description":"Source."}],"returns":"text","signature":"ValidationIssue(text source) returns text","description":"Validation issue.","tags":["thing","method","graphics.text"],"exampleId":"method-ValidationIssue-10","updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.text"],"exampleId":"method-Snapshot-11","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.text","method","source-example","text","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping_v2.yh","line":253,"sha256":"ad66072d9d12e22ed0e346be3498b8a3747585595527e5bbc916f1184c525ac4"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use graphicsTextMetricsV2","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text\n\n// Shape, measure, and represent text and glyph resources.\ngraphicsTextMetricsV2 sample = graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1)\nConsole.Log(Text.From(sample.ascentQ26_6))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicstextmetricsv2\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"e01c75dff53580bf12702999e780472d61e254b262db8db072bced471b9ea03d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-10","title":"graphicsTextMetricsV2.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Validation issue.\ngraphicsTextMetricsV2 instance = graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1)\ntext argument_source = \"argument source\"\ntext result = instance.ValidationIssue(argument_source)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicstextmetricsv2\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b917d2197b8686749b57f16c4e5741d8eedf70c70c80598867b7910565161bc5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-11","title":"graphicsTextMetricsV2.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Snapshot.\ngraphicsTextMetricsV2 instance = graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicstextmetricsv2\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"e99089c2c9e628c39122e23fb9a9bfe3d9564b3699ee0fe2178b31fefb664af9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["ascentQ26_6","descentQ26_6","lineGapQ26_6","capHeightQ26_6","xHeightQ26_6","underlinePositionQ26_6","underlineThicknessQ26_6","advanceXQ26_6","advanceYQ26_6","graphicsTextMetricsV2","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsTextMetricsV2","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsTextMetricsV2.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsTextMetricsV2.md"}
