Handbook
Glossary
draw-gradient ( colors -- )
Vocabulary
ui
.
pens
.
gradient
.
private
Inputs
colors
an
object
Outputs
None
Definition
USING:
kernel
math
opengl
opengl.gl
sequences
;
IN:
ui.pens.gradient.private
:
draw-gradient
( colors -- )
GL_COLOR_ARRAY
[
[
GL_QUAD_STRIP
0
]
dip
length
2
*
glDrawArrays
]
do-enabled-client-state
;