Handbook
Glossary
write-command ( command -- )
Vocabulary
tinyvg
Inputs
command
an
object
Outputs
None
Definition
IN:
tinyvg
GENERIC:
write-command
( command -- )
Methods
USING:
accessors
kernel
sequences
tinyvg
;
M:
draw-line-loop
write-command
5
over
points>>
[
write-draw-line
]
[
[
write-point
]
each
]
bi
;
USING:
accessors
kernel
tinyvg
;
M:
draw-line-path
write-command
7
over
path>>
[
write-draw-line
]
[
write-path
]
bi
;
USING:
accessors
kernel
sequences
tinyvg
;
M:
draw-line-strip
write-command
6
over
points>>
[
write-draw-line
]
[
[
write-point
]
each
]
bi
;
USING:
accessors
kernel
sequences
tinyvg
;
M:
draw-lines
write-command
4
over
lines>>
[
write-draw-line
]
[
[
write-line
]
each
]
bi
;
USING:
accessors
kernel
tinyvg
;
M:
fill-path
write-command
3
over
path>>
[
write-fill
]
[
write-path
]
bi
;
USING:
accessors
kernel
sequences
tinyvg
;
M:
fill-polygon
write-command
1
over
polygon>>
[
write-fill
]
[
[
write-point
]
each
]
bi
;
USING:
accessors
kernel
sequences
tinyvg
;
M:
fill-rectangles
write-command
2
over
rectangles>>
[
write-fill
]
[
[
write-rectangle
]
each
]
bi
;
USING:
accessors
kernel
tinyvg
;
M:
outline-fill-path
write-command
10
over
path>>
[
write-outline-fill
]
[
write-path
]
bi
;
USING:
accessors
kernel
sequences
tinyvg
;
M:
outline-fill-polygon
write-command
8
over
points>>
[
write-outline-fill
]
[
[
write-point
]
each
]
bi
;
USING:
accessors
kernel
sequences
tinyvg
;
M:
outline-fill-rectangles
write-command
9
over
rectangles>>
[
write-outline-fill
]
[
[
write-rectangle
]
each
]
bi
;