internal static extern IntPtr cairo_image_surface_create(Cairo.Format format, int width, int height);
public ImageSurface(Format format, int width, int height) { surface = NativeMethods.cairo_image_surface_create(format, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } }