Handbook
Glossary
establish-coordinate-system ( gadget -- gadget )
Vocabulary
ui
.
gadgets
.
slate
Inputs
gadget
an
object
Outputs
gadget
an
object
Definition
IN:
ui.gadgets.slate
GENERIC:
establish-coordinate-system
( gadget -- gadget )
Methods
USING:
accessors
combinators
kernel
opengl.gl
ui.gadgets.cartesian
ui.gadgets.slate
;
M:
cartesian
establish-coordinate-system
dup
{
[
x-min>>
]
[
x-max>>
]
[
y-min>>
]
[
y-max>>
]
[
z-min>>
]
[
z-max>>
]
}
cleave
glOrtho
;
USING:
ui.gadgets.slate
;
M:
slate
establish-coordinate-system
default-coordinate-system
;