Handbook
Glossary
font-with-background ( font color -- font' )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Customizing gadget appearance
»
Implementing custom drawing logic
»
Rendering text
»
Fonts
Prev:
font-with-foreground ( font color -- font' )
Next:
monospace-font ( -- font )
Vocabulary
fonts
Inputs
font
a
font
color
a
color
Outputs
font'
a
font
Word description
Creates a new font equal to the given font, except with a different
background
slot.
Definition
USING:
accessors
kernel
;
IN:
fonts
:
font-with-background
( font color -- font' )
[
clone
]
dip
>>background
;
inline