draw-color ( value x,y color-id image -- )


Vocabulary
images.processing

Inputs
valuean object
x,yan object
color-idan object
imagean object


Outputs
None

Definition


:: draw-color ( value x,y color-id image -- )
x,y image image-offset 3 * color-id +
value >fixnum swap image bitmap>> set-nth ;