{"id":"graphics.text.windows--ShapeRasterizeAndMeasureGraphicsWindowsTextV1","name":"ShapeRasterizeAndMeasureGraphicsWindowsTextV1","owner":"yeho","package":"graphics.text.windows","kind":"function","signature":"external ShapeRasterizeAndMeasureGraphicsWindowsTextV1(text value, text family, text locale, int weight, int sizeQ26_6, int maximumWidthQ26_6, int maximumHeightQ26_6, int pointXQ26_6, int pointYQ26_6, int candidateUtf16Position, bool candidateTrailing, int selectionStartUtf16, int selectionLengthUtf16, text source) returns graphicsWindowsShapedAlphaGeometryTextV1","description":"Shape rasterize and measure graphics windows text v1.","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":"pointXQ26_6","type":"int","description":"Supply point xq26 6 as int."},{"name":"pointYQ26_6","type":"int","description":"Supply point yq26 6 as int."},{"name":"candidateUtf16Position","type":"int","description":"Supply candidate utf16 position as int."},{"name":"candidateTrailing","type":"bool","description":"Supply candidate trailing as bool."},{"name":"selectionStartUtf16","type":"int","description":"Supply selection start utf16 as int."},{"name":"selectionLengthUtf16","type":"int","description":"Supply selection length utf16 as int."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"graphicsWindowsShapedAlphaGeometryTextV1","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_alpha_raster_v1.yh","line":194,"sha256":"04a65e0d33acc9cb8f322b73d53b54bc4ccc82aded1c37368411090eb82baa2f"},"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 ShapeRasterizeAndMeasureGraphicsWindowsTextV1","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\nint pointXQ26_6 = 1\nint pointYQ26_6 = 1\nint candidateUtf16Position = 1\nbool candidateTrailing = true\nint selectionStartUtf16 = 1\nint selectionLengthUtf16 = 1\ntext source = \"example\"\ngraphicsWindowsShapedAlphaGeometryTextV1 result = ShapeRasterizeAndMeasureGraphicsWindowsTextV1(value, family, locale, weight, sizeQ26_6, maximumWidthQ26_6, maximumHeightQ26_6, pointXQ26_6, pointYQ26_6, candidateUtf16Position, candidateTrailing, selectionStartUtf16, selectionLengthUtf16, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text_windows__shaperasterizeandmeasuregraphicswindowstextv1\"\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":"3d37461daab46a8c2846a5c451ab76b936a91035c141fe3bad93a9ea53d97b32","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text.windows--ShapeRasterizeAndMeasureGraphicsWindowsTextV1","json":"https://demonhunterlabs.com/reference/items/graphics.text.windows--ShapeRasterizeAndMeasureGraphicsWindowsTextV1.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text.windows--ShapeRasterizeAndMeasureGraphicsWindowsTextV1.md"}
