cairo_image_surface_create() приватный Метод

private cairo_image_surface_create ( Cairo format, int width, int height ) : IntPtr
format Cairo
width int
height int
Результат System.IntPtr
Пример #1
0
 public ImageSurface(Format format, int width, int height)
 {
     surface = NativeMethods.cairo_image_surface_create(format, width, height);
     lock (surfaces.SyncRoot){
         surfaces [surface] = this;
     }
 }
Пример #2
0
        public static Cairo.Surface CreateForImage(
            Cairo.Format format, int width, int height)
        {
            IntPtr p = NativeMethods.cairo_image_surface_create(
                format, width, height);

            return(new Cairo.Surface(p, true));
        }
Пример #3
0
 public ImageSurface(Format format, int width, int height)
     : base(NativeMethods.cairo_image_surface_create(format, width, height), true)
 {
 }