Example #1
0
 public DRMSurface(DRMDevice device, uint name, Format format, int width, int height, int stride)
     : base(NativeMethods.cairo_drm_surface_create_for_name(device.Handle, name, format, width, height, stride), true)
 {
 }
Example #2
0
 public DRMSurface(DRMDevice device, IntPtr imageSurface)
     : base(NativeMethods.cairo_drm_surface_create_from_cacheable_image(device.Handle, imageSurface), true)
 {
 }
Example #3
0
 public DRMSurface(DRMDevice device, Format format, int width, int height)
     : base(NativeMethods.cairo_drm_surface_create(device.Handle, format, width, height), true)
 {
 }