{"id":"graphics.text.windows--CaptureGraphicsWindowsGlyphRuns","name":"CaptureGraphicsWindowsGlyphRuns","owner":"yeho","package":"graphics.text.windows","kind":"function","signature":"external CaptureGraphicsWindowsGlyphRuns(text value, text family, text locale, int weight, int sizeQ26_6, int maximumWidthQ26_6, int maximumHeightQ26_6, text source) returns graphicsWindowsGlyphRunCaptureSnapshot","description":"Capture graphics windows glyph runs.","context":"Capture Windows text shaping and glyph rasterization for the shared text model.","parameters":[{"name":"value","type":"text","description":"Supply value as text."},{"name":"family","type":"text","description":"Supply family as text."},{"name":"locale","type":"text","description":"Supply locale as text."},{"name":"weight","type":"int","description":"Supply weight as int."},{"name":"sizeQ26_6","type":"int","description":"Supply size q26 6 as int."},{"name":"maximumWidthQ26_6","type":"int","description":"Supply maximum width q26 6 as int."},{"name":"maximumHeightQ26_6","type":"int","description":"Supply maximum height q26 6 as int."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"graphicsWindowsGlyphRunCaptureSnapshot","members":[],"tags":["cpu","function","graphics","graphics.text.windows","source-example","text","windows","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/windows/glyph_run_capture.yh","line":1040,"sha256":"e64d82451ad85576d7ddcd4e74165aeaaa26f12f4e49928fe8a0a4ac0a0caa8f"},"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 CaptureGraphicsWindowsGlyphRuns","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.\ntext value = \"value\"\ntext family = \"cpu\"\ntext locale = \"locale\"\nint weight = 1\nint sizeQ26_6 = 1\nint maximumWidthQ26_6 = 1\nint maximumHeightQ26_6 = 1\ntext source = \"example\"\ngraphicsWindowsGlyphRunCaptureSnapshot result = CaptureGraphicsWindowsGlyphRuns(value, family, locale, weight, sizeQ26_6, maximumWidthQ26_6, maximumHeightQ26_6, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__capturegraphicswindowsglyphruns\"\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":"d3a97da3f2e4dbddcf04d25a6d69a6bf4659ce747cdd8b865048708a1ee23da6","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--CaptureGraphicsWindowsGlyphRuns","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--CaptureGraphicsWindowsGlyphRuns.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--CaptureGraphicsWindowsGlyphRuns.md"}
