Class: Cairo::PDFSurface
Instance Method Summary (collapse)
-
- (Object) h
get height.
-
- (PDFSurface) initialize(filename, width, height)
constructor
A new instance of PDFSurface.
- - (Object) initialize_
-
- (Object) w
get width.
-
- (Object) wh
get width, height.
Constructor Details
- (PDFSurface) initialize(filename, width, height)
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
- (Object) initialize_
103 |
# File 'lib/tagen/cairo.rb', line 103 alias initialize_ initialize |