Method smema
smema(Int32, Int32, IntPtr)
plsmema: Set the memory area to be plotted (RGBA)
Declaration
public static void smema(Int32 maxx, Int32 maxy, IntPtr plotmem)
Parameters
Type | Name | Description |
---|---|---|
Int32 | maxx | Size of memory area in the X coordinate. |
Int32 | maxy | Size of memory area in the Y coordinate. |
IntPtr | plotmem | Pointer to the beginning of a user-supplied writeable memory area. |
Remarks
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)