Show / Hide Table of Contents

    Method smema

    | Improve this Doc View Source

    smema(Int32, Int32, IntPtr)

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

    Declaration
    public 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)

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX