class Cairo::ImageSurface

Surface subclass for (bitmap) images.

Public Class Methods

create(format, width, height) click to toggle source
# File lib/gir_ffi-cairo/image_surface.rb, line 6
def self.create(format, width, height)
  ptr = Lib.cairo_image_surface_create format, width, height
  wrap ptr
end