Handbook
Glossary
(rotate) ( seq n -- seq' )
Vocabulary
images
.
processing
.
rotation
.
private
Inputs
seq
an
object
n
an
object
Outputs
seq'
an
object
Definition
USING:
combinators
images.processing.rotation
;
IN:
images.processing.rotation.private
:
(rotate)
( seq n -- seq' )
{
{
0
[
]
}
{
90
[
rotate-90
]
}
{
180
[
rotate-180
]
}
{
270
[
rotate-270
]
}
[
unsupported-rotation
]
}
case
;