Class: Cairo::ImageSurface

Inherits:
Object show all
Defined in:
lib/tagen/cairo.rb

Overview

class PDFSurface

Instance Method Summary collapse

Instance Method Details

#hObject

get height



125
# File 'lib/tagen/cairo.rb', line 125

def h; self.wh[1] end

#wObject

get width



123
# File 'lib/tagen/cairo.rb', line 123

def w; self.wh[0] end

#whObject

get width, height



121
# File 'lib/tagen/cairo.rb', line 121

def wh; [width.to_f, height.to_f] end