Art.PixBuf.NewRgbDnotify Method
Creates a new RGB PixBuf that invokes the given delegate on destruction.

Syntax

public static PixBuf NewRgbDnotify (out byte pixels, int width, int height, int rowstride, IntPtr dfunc_data, DestroyNotify dfunc)

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.
dfunc_data
The data that will be given to dfunc on its invocation.
dfunc
The delegate that is going to be invoked when the PixBuf gets destroyed.

Returns

A newly created Art.PixBuf RGB that invokes a delegate on its destruction.

Remarks

Requirements

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