Handbook
Glossary
line>y ( n gadget -- y )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Gadget line support
Prev:
last-visible-line ( gadget -- n )
Next:
y>line ( y gadget -- n )
Vocabulary
ui
.
gadgets
.
line-support
Inputs
n
an
object
gadget
an
object
Outputs
y
an
object
Definition
USING:
math
;
IN:
ui.gadgets.line-support
:
line>y
( n gadget -- y )
line-height
*
>integer
;