{"id":"graphics.text--CreateGraphicsShapedText","name":"CreateGraphicsShapedText","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsShapedText(text value, graphicsFontReference font, text locale, text direction, int ascent, int descent, int lineGap, text source) returns graphicsShapedText","description":"Create graphics shaped text from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"value","type":"text","description":"Supply value as text."},{"name":"font","type":"graphicsFontReference","description":"Supply font as graphicsFontReference."},{"name":"locale","type":"text","description":"Supply locale as text."},{"name":"direction","type":"text","description":"Supply direction as text."},{"name":"ascent","type":"int","description":"Supply ascent as int."},{"name":"descent","type":"int","description":"Supply descent as int."},{"name":"lineGap","type":"int","description":"Supply line gap as int."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"graphicsShapedText","members":[],"tags":["cpu","function","graphics","graphics.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping.yh","line":314,"sha256":"116949dcf311dd0fd246fd1f36696a40bd178e892887dff1d1d515316e09b6c5"},"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 CreateGraphicsShapedText","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text\n\n// Shape, measure, and represent text and glyph resources.\ntext value = \"value\"\ngraphicsFontReference font = graphicsFontReference(\"cpu\", \"fallback Families\", 1, 1, 1, \"style\", \"features\", \"example\")\ntext locale = \"locale\"\ntext direction = \"direction\"\nint ascent = 1\nint descent = 1\nint lineGap = 1\ntext source = \"example\"\ngraphicsShapedText result = CreateGraphicsShapedText(value, font, locale, direction, ascent, descent, lineGap, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicsshapedtext\"\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","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"9e0d20df146fd88c9a0d968a3a05e7e39ca5db1c4b085597c349bbc436324f20","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsShapedText","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsShapedText.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsShapedText.md"}
