internal static extern IntPtr cairo_xcb_surface_create_for_bitmap(IntPtr connection, uint bitmap, IntPtr screen, int width, int height);
public static XcbSurface FromBitmap(IntPtr connection, uint bitmap, IntPtr screen, int width, int height) { IntPtr ptr; ptr = NativeMethods.cairo_xcb_surface_create_for_bitmap(connection, bitmap, screen, width, height); return(new XcbSurface(ptr, true)); }