{"id":"graphics.text.windows--graphicsWindowsTextHitGeometry","name":"graphicsWindowsTextHitGeometry","owner":"yeho","package":"graphics.text.windows","kind":"thing","signature":"external thing graphicsWindowsTextHitGeometry","description":"A graphics windows text hit geometry record carrying textPosition, length, leftQ26_6, topQ26_6, widthQ26_6, and related state.","context":"Capture Windows text shaping and glyph rasterization for the shared text model.","parameters":[],"returns":"void","members":[{"name":"textPosition","kind":"field","type":"int","description":"Stores text position as int.","signature":"int textPosition","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"length","kind":"field","type":"int","description":"Stores length as int.","signature":"int length","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":"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":"bidiLevel","kind":"field","type":"int","description":"Stores bidi level as int.","signature":"int bidiLevel","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isText","kind":"field","type":"bool","description":"Stores is text as bool.","signature":"bool isText","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":"pointXQ26_6","kind":"field","type":"int","description":"Stores point xq26 6 as int.","signature":"int pointXQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"pointYQ26_6","kind":"field","type":"int","description":"Stores point yq26 6 as int.","signature":"int pointYQ26_6","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isTrailing","kind":"field","type":"bool","description":"Stores is trailing as bool.","signature":"bool isTrailing","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"isInside","kind":"field","type":"bool","description":"Stores is inside as bool.","signature":"bool isInside","tags":["thing","field","graphics.text.windows"],"updated":"2026-09-09"},{"name":"graphicsWindowsTextHitGeometry","kind":"constructor","parameters":[{"name":"textPosition","type":"int","description":"Text position."},{"name":"length","type":"int","description":"Length."},{"name":"leftQ26_6","type":"int","description":"Left q26 6."},{"name":"topQ26_6","type":"int","description":"Top q26 6."},{"name":"widthQ26_6","type":"int","description":"Width q26 6."},{"name":"heightQ26_6","type":"int","description":"Height q26 6."},{"name":"bidiLevel","type":"int","description":"Bidi level."},{"name":"isText","type":"bool","description":"Is text."},{"name":"isTrimmed","type":"bool","description":"Is trimmed."},{"name":"pointXQ26_6","type":"int","description":"Point xq26 6."},{"name":"pointYQ26_6","type":"int","description":"Point yq26 6."},{"name":"isTrailing","type":"bool","description":"Is trailing."},{"name":"isInside","type":"bool","description":"Is inside."}],"returns":"void","signature":"graphicsWindowsTextHitGeometry(int textPosition, int length, int leftQ26_6, int topQ26_6, int widthQ26_6, int heightQ26_6, int bidiLevel, bool isText, bool isTrimmed, int pointXQ26_6, int pointYQ26_6, bool isTrailing, bool isInside)","description":"Graphics windows text hit geometry.","tags":["thing","constructor","graphics.text.windows"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[{"name":"utf16Length","type":"int","description":"Utf16 length."},{"name":"source","type":"text","description":"Source."}],"returns":"text","signature":"ValidationIssue(int utf16Length, text source) returns text","description":"Validation issue.","tags":["thing","method","graphics.text.windows"],"exampleId":"method-ValidationIssue-14","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-15","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":137,"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 graphicsWindowsTextHitGeometry","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.\ngraphicsWindowsTextHitGeometry sample = graphicsWindowsTextHitGeometry(1, 1, 1, 1, 1, 1, 1, true, true, 1, 1, true, true)\nConsole.Log(Text.From(sample.textPosition))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstexthitgeometry\"\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":"8b3fff486e7b9440396d3c74dd689730cddcc3c7e7205d9bfd691bea6f8ea8eb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-14","title":"graphicsWindowsTextHitGeometry.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.\ngraphicsWindowsTextHitGeometry instance = graphicsWindowsTextHitGeometry(1, 1, 1, 1, 1, 1, 1, true, true, 1, 1, true, true)\nint argument_utf16Length = 1\ntext argument_source = \"argument source\"\ntext result = instance.ValidationIssue(argument_utf16Length, argument_source)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstexthitgeometry\"\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":"12a48ac72a946e6d0c51348980cd75331d1ad0a7374540f07e341b389e6e6e9d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-15","title":"graphicsWindowsTextHitGeometry.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.\ngraphicsWindowsTextHitGeometry instance = graphicsWindowsTextHitGeometry(1, 1, 1, 1, 1, 1, 1, true, true, 1, 1, true, true)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__graphicswindowstexthitgeometry\"\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":"d24b0eaab2f71e58563e8e11a96a7b510c5912f609f381c155e4e990d0ff3705","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["textPosition","length","leftQ26_6","topQ26_6","widthQ26_6","heightQ26_6","bidiLevel","isText","isTrimmed","pointXQ26_6","pointYQ26_6","isTrailing","isInside","graphicsWindowsTextHitGeometry","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--graphicsWindowsTextHitGeometry","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--graphicsWindowsTextHitGeometry.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--graphicsWindowsTextHitGeometry.md"}
