Class: Gdk::Pixbuf
Instance Method Summary (collapse)
-
- (Float) h
get height.
-
- (Float) w
get width.
-
- (Array) wh
get width, height.
-
- (Object) wh=(wh)
set width, height.
Instance Method Details
- (Float) h
get height
16 |
# File 'lib/tagen/gdk_pixbuf2.rb', line 16 def h; wh[1] end |
- (Float) w
get width
11 |
# File 'lib/tagen/gdk_pixbuf2.rb', line 11 def w; wh[0] end |
- (Array) wh
get width, height
6 |
# File 'lib/tagen/gdk_pixbuf2.rb', line 6 def wh; [width.to_f, height.to_f] end |
- (Object) wh=(wh)
set width, height
21 |
# File 'lib/tagen/gdk_pixbuf2.rb', line 21 def wh=(wh) width=wh[0]; height=wh[1] end |