Handbook
Glossary
flip-rect ( rect -- loc dim )
Vocabulary
ui
.
render
Inputs
rect
an
object
Outputs
loc
an
object
dim
an
object
Definition
USING:
kernel
math.rectangles
math.vectors
namespaces
;
IN:
ui.render
:
flip-rect
( rect -- loc dim )
rect-bounds
[
[
{
1 -1
}
v*
]
dip
{
0 -1
}
v*
v+
viewport-translation
get
v+
]
keep
;