{"id":"frontend.yui--AppendYuiGlyphAlphaResourceSetV1","name":"AppendYuiGlyphAlphaResourceSetV1","owner":"yeho","package":"frontend.yui","kind":"function","signature":"external AppendYuiGlyphAlphaResourceSetV1(yuiDisplayList display, graphicsGlyphAlphaResourceSetV1 alpha, int firstCommandSequence, text ownerId, text layerId, text targetId, text paintId, text clipId, text transformId, int originX, int originY, text semanticRole) returns yuiDisplayList","description":"Bridge renderer-neutral shaped-run raster resources into renderer-v2 without leaking DirectWrite, font handles, or paint/clip policy into graphics.text.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[{"name":"display","type":"yuiDisplayList","description":"Supply display as yuiDisplayList."},{"name":"alpha","type":"graphicsGlyphAlphaResourceSetV1","description":"Supply alpha as graphicsGlyphAlphaResourceSetV1."},{"name":"firstCommandSequence","type":"int","description":"Supply first command sequence as int."},{"name":"ownerId","type":"text","description":"Supply owner id as text."},{"name":"layerId","type":"text","description":"Supply layer id as text."},{"name":"targetId","type":"text","description":"Supply target id as text."},{"name":"paintId","type":"text","description":"Supply paint id as text."},{"name":"clipId","type":"text","description":"Supply clip id as text."},{"name":"transformId","type":"text","description":"Supply transform id as text."},{"name":"originX","type":"int","description":"Supply origin x as int."},{"name":"originY","type":"int","description":"Supply origin y as int."},{"name":"semanticRole","type":"text","description":"Supply semantic role as text."}],"returns":"yuiDisplayList","members":[],"tags":["cpu","frontend","frontend.yui","function","source-example","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/render-glyph_alpha.yh","line":6,"sha256":"2316225cc583e60264a736ee6aabe2efb6c8f40e9051794424cfdb3e8ff41e04"},"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 AppendYuiGlyphAlphaResourceSetV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nyuiDisplayList display = yuiDisplayList(\"surface Id\")\ngraphicsGlyphAlphaResourceSetV1 alpha = graphicsGlyphAlphaResourceSetV1(\"example\")\nint firstCommandSequence = 1\ntext ownerId = \"owner Id\"\ntext layerId = \"layer Id\"\ntext targetId = \"target Id\"\ntext paintId = \"paint Id\"\ntext clipId = \"clip Id\"\ntext transformId = \"transform Id\"\nint originX = 1\nint originY = 1\ntext semanticRole = \"semantic Role\"\nyuiDisplayList result = AppendYuiGlyphAlphaResourceSetV1(display, alpha, firstCommandSequence, ownerId, layerId, targetId, paintId, clipId, transformId, originX, originY, semanticRole)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__appendyuiglyphalpharesourcesetv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"98d9d399f46373f0ea39440918a5faa543486523fcae3ca94d2744b53a555f6f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--AppendYuiGlyphAlphaResourceSetV1","json":"https://demonhunterlabs.com/reference/items/frontend.yui--AppendYuiGlyphAlphaResourceSetV1.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--AppendYuiGlyphAlphaResourceSetV1.md"}
