{"id":"graphics.text.windows--ReadGraphicsWindowsTextGeometrySnapshot","name":"ReadGraphicsWindowsTextGeometrySnapshot","owner":"yeho","package":"graphics.text.windows","kind":"function","signature":"external ReadGraphicsWindowsTextGeometrySnapshot(int generation, int pointXQ26_6, int pointYQ26_6, text source) returns graphicsWindowsTextLayoutGeometrySnapshot","description":"Copies a previously produced bounded geometry generation. Fused providers use this reader after capturing glyph runs and geometry from one native layout, avoiding a second Measure call and therefore a second layout.","context":"Capture Windows text shaping and glyph rasterization for the shared text model.","parameters":[{"name":"generation","type":"int","description":"Supply generation as int."},{"name":"pointXQ26_6","type":"int","description":"Supply point xq26 6 as int."},{"name":"pointYQ26_6","type":"int","description":"Supply point yq26 6 as int."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"graphicsWindowsTextLayoutGeometrySnapshot","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/layout_geometry.yh","line":422,"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 ReadGraphicsWindowsTextGeometrySnapshot","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.\nint generation = 1\nint pointXQ26_6 = 1\nint pointYQ26_6 = 1\ntext source = \"example\"\ngraphicsWindowsTextLayoutGeometrySnapshot result = ReadGraphicsWindowsTextGeometrySnapshot(generation, pointXQ26_6, pointYQ26_6, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__readgraphicswindowstextgeometrysnapshot\"\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":"3441682856a5b94aa00c8a2920ef3eeb145431282f6745590b7d8367da97cb63","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--ReadGraphicsWindowsTextGeometrySnapshot","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--ReadGraphicsWindowsTextGeometrySnapshot.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--ReadGraphicsWindowsTextGeometrySnapshot.md"}
