Class: Cairo::PDFSurface
Instance Method Summary collapse
-
#h ⇒ Object
get height.
-
#initialize(filename, width, height) ⇒ PDFSurface
constructor
A new instance of PDFSurface.
- #initialize_ ⇒ Object
-
#w ⇒ Object
get width.
-
#wh ⇒ Object
get width, height.
Constructor Details
#initialize(filename, width, height) ⇒ PDFSurface
Returns a new instance of PDFSurface.
104 105 106 107 |
# File 'lib/tagen/cairo.rb', line 104 def initialize(filename, width, height) initialize_(filename, width, height) @wh=[width.to_f, height.to_f] end |
Instance Method Details
#initialize_ ⇒ Object
103 |
# File 'lib/tagen/cairo.rb', line 103 alias initialize_ initialize |