public static PixBuf NewRgbaDnotify(out byte pixels, int width, int height, int rowstride, IntPtr dfunc_data, Art.DestroyNotify dfunc) { ArtSharp.DestroyNotifyWrapper dfunc_wrapper = new ArtSharp.DestroyNotifyWrapper(dfunc); PixBuf result = new PixBuf(art_pixbuf_new_rgba_dnotify(out pixels, width, height, rowstride, dfunc_data, dfunc_wrapper.NativeDelegate)); return(result); }
public static PixBuf NewRgba(out byte pixels, int width, int height, int rowstride) { PixBuf result = new PixBuf(art_pixbuf_new_rgba(out pixels, width, height, rowstride)); return(result); }