Handbook
Glossary
write-style ( style -- )
Vocabulary
tinyvg
Inputs
style
an
object
Outputs
None
Definition
IN:
tinyvg
GENERIC:
write-style
( style -- )
Methods
USING:
accessors
tinyvg
;
M:
flat-colored
write-style
color-index>>
write-varuint
;
USING:
accessors
combinators
tinyvg
;
M:
gradient
write-style
{
[
point0>>
write-point
]
[
point1>>
write-point
]
[
color-index0>>
write-varuint
]
[
color-index1>>
write-varuint
]
}
cleave
;