{"id":"graphics.text.windows--graphicsWindowsTextLayoutCapability","name":"graphicsWindowsTextLayoutCapability","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsTextLayoutCapability","description":"A graphics windows text layout capability record carrying schema, schemaVersion, provider, target, capability, 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":"target","kind":"field","type":"text","description":"Stores target as text.","signature":"text target","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":"fractionalBits","kind":"field","type":"int","description":"Stores fractional bits as int.","signature":"int fractionalBits","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"features","kind":"field","type":"text","description":"Stores features as text.","signature":"text features","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":"graphicsWindowsTextLayoutCapability","kind":"constructor","parameters":[{"name":"available","type":"bool","description":"Available."},{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"graphicsWindowsTextLayoutCapability(bool available, text diagnostic)","description":"Graphics windows text layout capability.","tags":["thing","constructor","graphics.text.windows"],"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-10","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-11","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":3,"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 graphicsWindowsTextLayoutCapability","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.\ngraphicsWindowsTextLayoutCapability sample = graphicsWindowsTextLayoutCapability(true, \"diagnostic\")\nConsole.Log(Text.From(sample.schema))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlayoutcapability\"\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":"7d02bffd013d462994c49b2a8d707704dd9480c8e7b67d618591e7500b7b506c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-10","title":"graphicsWindowsTextLayoutCapability.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.\ngraphicsWindowsTextLayoutCapability instance = graphicsWindowsTextLayoutCapability(true, \"diagnostic\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlayoutcapability\"\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":"66f382b0e8609b78a95605fd796d553f47ab7a57f8459876cf510eb8b925df25","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-11","title":"graphicsWindowsTextLayoutCapability.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.\ngraphicsWindowsTextLayoutCapability instance = graphicsWindowsTextLayoutCapability(true, \"diagnostic\")\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstextlayoutcapability\"\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":"615b0c370d6f51634827363a64890293217cc6c24215ba77f2914dc15dccf66d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["schema","schemaVersion","provider","target","capability","available","fractionalBits","features","diagnostic","graphicsWindowsTextLayoutCapability","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsTextLayoutCapability","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsTextLayoutCapability.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsTextLayoutCapability.md"}
