plsmema(3) Set the memory area to be plotted (RGBA)

SYNOPSIS

plsmema(maxx, maxy, plotmem)

DESCRIPTION

Set the memory area to be plotted (with the memcairo driver) as the dev member of the stream structure. Also set the number of pixels in the memory passed in plotmem, which is a block of memory maxy by maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)

This memory will have to be freed by the user!

Redacted form: plsmema(maxx, maxy, plotmem)

This function is not used in any examples.

ARGUMENTS

maxx (PLINT, input)
Size of memory area in the X coordinate.
maxy (PLINT, input)
Size of memory area in the Y coordinate.
plotmem (void *, input)
Pointer to the beginning of the user-supplied memory area.

AUTHORS

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history.