{"id":"graphics.text.windows--graphicsWindowsTextLayoutSnapshot","name":"graphicsWindowsTextLayoutSnapshot","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsTextLayoutSnapshot","description":"A graphics windows text layout snapshot record carrying schema, schemaVersion, provider, capability, available, and related state.","context":"Capture Windows text shaping and glyph rasterization for the shared text model.","parameters":[],"returns":"void","members":[{"name":"schema","kind":"field","type":"text","description":"Stores schema as text.","signature":"text schema","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"schemaVersion","kind":"field","type":"int","description":"Stores schema version as int.","signature":"int schemaVersion","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"provider","kind":"field","type":"text","description":"Stores provider as text.","signature":"text provider","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"capability","kind":"field","type":"text","description":"Stores capability as text.","signature":"text capability","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"available","kind":"field","type":"bool","description":"Stores available as bool.","signature":"bool available","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"leftQ26_6","kind":"field","type":"int","description":"Stores left q26 6 as int.","signature":"int leftQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"topQ26_6","kind":"field","type":"int","description":"Stores top q26 6 as int.","signature":"int topQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"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":"widthIncludingTrailingWhitespaceQ26_6","kind":"field","type":"int","description":"Stores width including trailing whitespace q26 6 as int.","signature":"int widthIncludingTrailingWhitespaceQ26_6","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":"layoutWidthQ26_6","kind":"field","type":"int","description":"Stores layout width q26 6 as int.","signature":"int layoutWidthQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"layoutHeightQ26_6","kind":"field","type":"int","description":"Stores layout height q26 6 as int.","signature":"int layoutHeightQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"maximumBidiReorderingDepth","kind":"field","type":"int","description":"Stores maximum bidi reordering depth as int.","signature":"int maximumBidiReorderingDepth","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"lineCount","kind":"field","type":"int","description":"Stores line count as int.","signature":"int lineCount","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":"hit","kind":"field","type":"graphicsWindowsTextHitTestSnapshot","description":"Stores hit as graphicsWindowsTextHitTestSnapshot.","signature":"graphicsWindowsTextHitTestSnapshot hit","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"acquiredObjects","kind":"field","type":"int","description":"Stores acquired objects as int.","signature":"int acquiredObjects","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"releasedObjects","kind":"field","type":"int","description":"Stores released objects as int.","signature":"int releasedObjects","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"graphicsWindowsTextLayoutSnapshot","kind":"constructor","parameters":[{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"graphicsWindowsTextLayoutSnapshot(text source)","description":"Graphics windows text layout snapshot.","tags":["thing","constructor","graphics.text.windows"],"updated":"2026-09-09"},{"name":"CleanupComplete","kind":"method","parameters":[],"returns":"bool","signature":"CleanupComplete() returns bool","description":"Cleanup complete.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-CleanupComplete-21","updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-ValidationIssue-22","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-23","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_metrics.yh","line":90,"sha256":"a8cb24218dcb2004cb1f5fca46a2c6555d77b4b07ca30968b643f8921bd5a7f8"},"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 graphicsWindowsTextLayoutSnapshot","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.\ngraphicsWindowsTextLayoutSnapshot sample = graphicsWindowsTextLayoutSnapshot(\"example\")\nConsole.Log(Text.From(sample.schema))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlayoutsnapshot\"\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":"fd254ba4029db11191d8ff39e46121e89f42611fad70bdbafa0d515ac37f87c7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CleanupComplete-21","title":"graphicsWindowsTextLayoutSnapshot.CleanupComplete","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// Cleanup complete.\ngraphicsWindowsTextLayoutSnapshot instance = graphicsWindowsTextLayoutSnapshot(\"example\")\nbool result = instance.CleanupComplete()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlayoutsnapshot\"\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":"988cca53020def59145e7bb5a048c6ef68e4c1d93fc791d0bc3e84c9b265fb7c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-22","title":"graphicsWindowsTextLayoutSnapshot.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.\ngraphicsWindowsTextLayoutSnapshot instance = graphicsWindowsTextLayoutSnapshot(\"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlayoutsnapshot\"\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":"6b0c101491915a3b50686228d432c490b6ef74521faeb3510d1354241f619cc8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-23","title":"graphicsWindowsTextLayoutSnapshot.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.\ngraphicsWindowsTextLayoutSnapshot instance = graphicsWindowsTextLayoutSnapshot(\"example\")\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlayoutsnapshot\"\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":"698dc42d4211034fb65777cc95d6813a78651a0226d7e9bf5f607aef44962b32","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["schema","schemaVersion","provider","capability","available","leftQ26_6","topQ26_6","widthQ26_6","widthIncludingTrailingWhitespaceQ26_6","heightQ26_6","layoutWidthQ26_6","layoutHeightQ26_6","maximumBidiReorderingDepth","lineCount","utf16Length","hit","acquiredObjects","releasedObjects","diagnostic","source","graphicsWindowsTextLayoutSnapshot","CleanupComplete","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsTextLayoutSnapshot","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsTextLayoutSnapshot.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsTextLayoutSnapshot.md"}
