internal static extern IntPtr cairo_pdf_surface_create(string filename, double width, double height);
public PdfSurface(string filename, double width, double height) { surface = NativeMethods.cairo_pdf_surface_create(filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } }