public PostscriptSurface(string filename, double width, double height) { surface = CairoAPI.cairo_ps_surface_create(filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } }