{"id":"runtime--Canvas.DrawCachedGlyphAlphaA8","name":"Canvas.DrawCachedGlyphAlphaA8","owner":"yeho","package":"runtime.Canvas","kind":"builtin","signature":"Canvas.DrawCachedGlyphAlphaA8(text content_identity, int source_width, int source_height, int x, int y, int width, int height, int red, int green, int blue, int alpha) -> bool","description":"Draw cached glyph alpha a8 through the Canvas runtime.","context":"Built into Yeho; no package import is needed. Native services require an admitted host and the correct resource lifecycle.","parameters":[{"name":"content_identity","type":"text","description":"Supply content identity as text.","rule":"Text"},{"name":"source_width","type":"int","description":"Supply source width as int.","rule":"AnyInteger"},{"name":"source_height","type":"int","description":"Supply source height as int.","rule":"AnyInteger"},{"name":"x","type":"int","description":"Supply x as int.","rule":"AnyInteger"},{"name":"y","type":"int","description":"Supply y as int.","rule":"AnyInteger"},{"name":"width","type":"int","description":"Supply width as int.","rule":"AnyInteger"},{"name":"height","type":"int","description":"Supply height as int.","rule":"AnyInteger"},{"name":"red","type":"int","description":"Supply red as int.","rule":"AnyInteger"},{"name":"green","type":"int","description":"Supply green as int.","rule":"AnyInteger"},{"name":"blue","type":"int","description":"Supply blue as int.","rule":"AnyInteger"},{"name":"alpha","type":"int","description":"Supply alpha as int.","rule":"AnyInteger"}],"returns":"bool","members":[],"tags":["builtin","canvas","cpu","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":1611,"sha256":"14d29529d2d3c0e2b587f83c7f125b99ada142ed7ae28612701ea6cb9174ac65"},"status":"registered-intrinsic","notes":["The example checks the call shape. Opening windows, recording audio, changing files, network operations, and process operations have real effects when run. Follow the corresponding package lifecycle before using live resources."],"examples":[{"id":"usage","title":"Call Canvas.DrawCachedGlyphAlphaA8","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"text content_identity = \"content identity\"\nint source_width = 1\nint source_height = 1\nint x = 1\nint y = 1\nint width = 1\nint height = 1\nint red = 1\nint green = 1\nint blue = 1\nint alpha = 1\nbool result = Canvas.DrawCachedGlyphAlphaA8(content_identity, source_width, source_height, x, y, width, height, red, green, blue, alpha)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__canvas_drawcachedglyphalphaa8\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","builtin"],"run":"cpu-oracle","verification":"type checked","sha256":"c3bea84b8ab04a8ba0e9be102beea98ed37ec574f7ec6ad14e6b54faa2c5d893","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Canvas.DrawCachedGlyphAlphaA8","json":"https://demonhunterlabs.com/reference/items/runtime--Canvas.DrawCachedGlyphAlphaA8.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Canvas.DrawCachedGlyphAlphaA8.md"}
