Description Usage Arguments See Also
View source: R/cairo-image-surface-extra.R
int cairo_image_surface_write_robj(cairo_surface_t * surface, unsigned char *data, int width, int height)
1 | cairo_image_surface_write_array(surface, arr, maxval = 1)
|
surface |
cairo surface |
arr |
matrix, RGB array or RGBA array. numeric/double/real values only |
maxval |
maximum value of colour representation. Usually 1. |
Other bespoke:
cairo_arc_vec()
,
cairo_image_surface_create_from_array()
,
cairo_image_surface_get_array()
,
cairo_image_surface_get_raster()
,
cairo_image_surface_get_raw()
,
cairo_polygon_vec()
,
cairo_polygon()
,
cairo_rectangle_vec()
,
cairo_segment_vec()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.