{"id":"graphics.text.windows--graphicsWindowsTextLineGeometry","name":"graphicsWindowsTextLineGeometry","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsTextLineGeometry","description":"A graphics windows text line geometry record carrying utf16Length, trailingWhitespaceLength, newlineLength, heightQ26_6, baselineQ26_6, and related state.","context":"Capture Windows text shaping and glyph rasterization for the shared text model.","parameters":[],"returns":"void","members":[{"name":"utf16Length","kind":"field","type":"int","description":"Stores utf16 length as int.","signature":"int utf16Length","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"trailingWhitespaceLength","kind":"field","type":"int","description":"Stores trailing whitespace length as int.","signature":"int trailingWhitespaceLength","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"newlineLength","kind":"field","type":"int","description":"Stores newline length as int.","signature":"int newlineLength","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"heightQ26_6","kind":"field","type":"int","description":"Stores height q26 6 as int.","signature":"int heightQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"baselineQ26_6","kind":"field","type":"int","description":"Stores baseline q26 6 as int.","signature":"int baselineQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isTrimmed","kind":"field","type":"bool","description":"Stores is trimmed as bool.","signature":"bool isTrimmed","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"graphicsWindowsTextLineGeometry","kind":"constructor","parameters":[{"name":"utf16Length","type":"int","description":"Utf16 length."},{"name":"trailingWhitespaceLength","type":"int","description":"Trailing whitespace length."},{"name":"newlineLength","type":"int","description":"Newline length."},{"name":"heightQ26_6","type":"int","description":"Height q26 6."},{"name":"baselineQ26_6","type":"int","description":"Baseline q26 6."},{"name":"isTrimmed","type":"bool","description":"Is trimmed."}],"returns":"void","signature":"graphicsWindowsTextLineGeometry(int utf16Length, int trailingWhitespaceLength, int newlineLength, int heightQ26_6, int baselineQ26_6, bool isTrimmed)","description":"Graphics windows text line geometry.","tags":["thing","constructor","graphics.text.windows"],"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.windows"],"exampleId":"method-ValidationIssue-7","updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-Snapshot-8","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.text.windows","method","source-example","text","thing","windows","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/windows/layout_geometry.yh","line":59,"sha256":"c47887c7cea19d7b7ec453b685dd0308764521031754827b52583cf4cdc64044"},"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 graphicsWindowsTextLineGeometry","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text.windows\n\n// Capture Windows text shaping and glyph rasterization for the shared text model.\ngraphicsWindowsTextLineGeometry sample = graphicsWindowsTextLineGeometry(1, 1, 1, 1, 1, true)\nConsole.Log(Text.From(sample.utf16Length))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlinegeometry\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"114db291782d3eed395ef019e78f502d0262d4c6a96c96adf5ec0b6f6875570e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-7","title":"graphicsWindowsTextLineGeometry.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text.windows\n\n// Validation issue.\ngraphicsWindowsTextLineGeometry instance = graphicsWindowsTextLineGeometry(1, 1, 1, 1, 1, true)\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_windows__graphicswindowstextlinegeometry\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b86681efcd33d95db83d4c61bf161e6f335bcbb4f04a0fa0188e948d11bd5007","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-8","title":"graphicsWindowsTextLineGeometry.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text.windows\n\n// Snapshot.\ngraphicsWindowsTextLineGeometry instance = graphicsWindowsTextLineGeometry(1, 1, 1, 1, 1, true)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlinegeometry\"\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\n[[dependencies]]\npackage = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"d66fbb2d26f6c4d4ce8c6bd1331ebe1cc3356ea3f5d7667c8a4c99accf41b09d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["utf16Length","trailingWhitespaceLength","newlineLength","heightQ26_6","baselineQ26_6","isTrimmed","graphicsWindowsTextLineGeometry","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsTextLineGeometry","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsTextLineGeometry.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsTextLineGeometry.md"}
