Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public PixBuf(out byte pixels, int width, int height, int rowstride, IntPtr dfunc_data, Art.DestroyNotify dfunc)
 {
     ArtSharp.DestroyNotifyWrapper dfunc_wrapper = new ArtSharp.DestroyNotifyWrapper(dfunc);
     Raw = art_pixbuf_new_rgb_dnotify(out pixels, width, height, rowstride, dfunc_data, dfunc_wrapper.NativeDelegate);
 }