Handbook
Glossary
convert-array-to-surface ( array -- cairo_surface_t )
Vocabulary
cairo-demo
Inputs
array
an
object
Outputs
cairo_surface_t
an
object
Definition
USING:
cairo.ffi
kernel
math
;
IN:
cairo-demo
:
convert-array-to-surface
( array -- cairo_surface_t )
CAIRO_FORMAT_ARGB32
384 256
over
4
*
cairo_image_surface_create_for_data
;