string-dim ( font string -- dim )
Factor handbook » UI framework » Implementing new gadgets » Customizing gadget appearance » Implementing custom drawing logic » Rendering text

Prev:string-height ( font string -- h )
Next:draw-string ( font string -- )


Vocabulary
ui.text.private

Inputs
fonta font
stringa string


Outputs
dima pair of integers


Generic word contract
Outputs the dimensions of a string.

Notes
This is a low-level word; use text-dim instead.

Definition


Methods