{"id":"graphics.text.windows--graphicsWindowsTextClusterGeometry","name":"graphicsWindowsTextClusterGeometry","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsTextClusterGeometry","description":"A graphics windows text cluster geometry record carrying widthQ26_6, utf16Length, canWrapLineAfter, isWhitespace, isNewline, and related state.","context":"Capture Windows text shaping and glyph rasterization for the shared text model.","parameters":[],"returns":"void","members":[{"name":"widthQ26_6","kind":"field","type":"int","description":"Stores width q26 6 as int.","signature":"int widthQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"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":"canWrapLineAfter","kind":"field","type":"bool","description":"Stores can wrap line after as bool.","signature":"bool canWrapLineAfter","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isWhitespace","kind":"field","type":"bool","description":"Stores is whitespace as bool.","signature":"bool isWhitespace","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isNewline","kind":"field","type":"bool","description":"Stores is newline as bool.","signature":"bool isNewline","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isSoftHyphen","kind":"field","type":"bool","description":"Stores is soft hyphen as bool.","signature":"bool isSoftHyphen","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isRightToLeft","kind":"field","type":"bool","description":"Stores is right to left as bool.","signature":"bool isRightToLeft","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"graphicsWindowsTextClusterGeometry","kind":"constructor","parameters":[{"name":"widthQ26_6","type":"int","description":"Width q26 6."},{"name":"utf16Length","type":"int","description":"Utf16 length."},{"name":"canWrapLineAfter","type":"bool","description":"Can wrap line after."},{"name":"isWhitespace","type":"bool","description":"Is whitespace."},{"name":"isNewline","type":"bool","description":"Is newline."},{"name":"isSoftHyphen","type":"bool","description":"Is soft hyphen."},{"name":"isRightToLeft","type":"bool","description":"Is right to left."}],"returns":"void","signature":"graphicsWindowsTextClusterGeometry(int widthQ26_6, int utf16Length, bool canWrapLineAfter, bool isWhitespace, bool isNewline, bool isSoftHyphen, bool isRightToLeft)","description":"Graphics windows text cluster 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-8","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-9","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":97,"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 graphicsWindowsTextClusterGeometry","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.\ngraphicsWindowsTextClusterGeometry sample = graphicsWindowsTextClusterGeometry(1, 1, true, true, true, true, true)\nConsole.Log(Text.From(sample.widthQ26_6))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextclustergeometry\"\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":"49c26c1be5495a91e59952666f07367a9787f0d610838a89e530ddce4b7ed60b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-8","title":"graphicsWindowsTextClusterGeometry.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.\ngraphicsWindowsTextClusterGeometry instance = graphicsWindowsTextClusterGeometry(1, 1, true, true, true, true, 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__graphicswindowstextclustergeometry\"\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":"eb02a6c05c858875ecc32bcdfc70c5953abb1512ea790225f009d225cb4eef61","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-9","title":"graphicsWindowsTextClusterGeometry.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.\ngraphicsWindowsTextClusterGeometry instance = graphicsWindowsTextClusterGeometry(1, 1, true, true, true, true, true)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextclustergeometry\"\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":"f8cf01c278f6ae5f9af23fdaf5c8650a0167b005044ee38f65f7bf99595f41eb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["widthQ26_6","utf16Length","canWrapLineAfter","isWhitespace","isNewline","isSoftHyphen","isRightToLeft","graphicsWindowsTextClusterGeometry","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsTextClusterGeometry","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsTextClusterGeometry.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsTextClusterGeometry.md"}
