Art.PixBuf.NewRgba Method
Creates a new RGBA PixBuf.

Syntax

public static PixBuf NewRgba (out byte pixels, int width, int height, int rowstride)

Parameters

pixels
The buffer containing the actual pixel data.
width
The width of the pixbuf.
height
The height of the pixbuf.
rowstride
The row stride of the pixbuf.

Returns

A newly created Art.PixBuf RGB.

Remarks

On destruction, the created instance will free the memory used by given buffer in pixels.

Requirements

Namespace: Art
Assembly: art-sharp (in art-sharp.dll)