internal static extern void cairo_paint(IntPtr cr);
public void Paint() { NativeMethods.cairo_paint(state); }