class Cairo::Surface - cairo-1.12.9 Documentation

# class Cairo::Surface

### Public Instance Methods

clone() click to toggle source

    # File lib/cairo.rb, line 72
    def clone
      raise NotImplementedError
    end

dup() click to toggle source

    # File lib/cairo.rb, line 69
    def dup
      raise NotImplementedError
    end

supported?(type) click to toggle source

    # File lib/cairo/surface.rb, line 4
    def supported?(type)
      supported_predicate = "#{type.to_s.downcase}_supported?"
      return false unless respond_to?(supported_predicate)
      send(supported_predicate)
    end