Handbook
Glossary
font-with-foreground ( font color -- font' )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Customizing gadget appearance
»
Implementing custom drawing logic
»
Rendering text
»
Fonts
Prev:
<font> ( name -- font )
Next:
font-with-background ( font color -- 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
foreground
slot.
Definition
USING:
accessors
kernel
;
IN:
fonts
:
font-with-foreground
( font color -- font' )
[
clone
]
dip
>>foreground
;
inline