public static Ztk.Drawing.Surface CreateForImage( Ztk.Drawing.Format format, int width, int height) { IntPtr p = NativeMethods.cairo_image_surface_create( format, width, height); return(new Ztk.Drawing.Surface(p, true)); }
public static Ztk.Drawing.Surface CreateForImage( ref byte[] data, Ztk.Drawing.Format format, int width, int height, int stride) { IntPtr p = NativeMethods.cairo_image_surface_create_for_data( data, format, width, height, stride); return(new Ztk.Drawing.Surface(p, true)); }
internal static extern IntPtr cairo_image_surface_create_for_data(IntPtr data, Ztk.Drawing.Format format, int width, int height, int stride);
public ImageSurface(ref byte[] data, Ztk.Drawing.Format format, int width, int height, int stride) : this(data, format, width, height, stride) { }
internal static extern IntPtr cairo_image_surface_create(Ztk.Drawing.Format format, int width, int height);