CopyFontObjectFromArg
function · ui · primitive
- Address
0x79f0e0· 293 bytes, up to0x79f204- Meaning
- Sets a font object's font from a font object table or a font name in argument 2, raising the CopyFontObject errors
- Confidence
- verified, proof one
- Finding
- ui/fontmethods#copying-a-font-object
Finding: Copying a font object in ui: font accessors from Lua
CopyFontObject(font) on a Font sets that font object's font from argument 2: a font object
table, whose this must be a Font, or the name of an existing font object. A table without
this raises %s:CopyFontObject(): Couldn't find 'this' in font object, one of another type
... Wrong object type, expected font, an unknown name ... Couldn't find font named %s, and
any other argument, a number included, Usage: %s:CopyFontObject(font or "font"), %s being the
object's name or <unnamed>.
The derivation is in the doc.
Callers 1
Callees 8
- lua_settop lua
- lua_type lua
- lua_tostring lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- FindOrCreateFontObject ui
- CSimpleFont::SetFontObject ui
Calls and jumps by a bare address, from tables/calls.tsv.