Class: Cairo::Context
- Inherits:
-
Object
- Object
- Cairo::Context
- Defined in:
- lib/gdk4/cairo.rb
Instance Method Summary collapse
- #set_source_pixbuf(pixbuf, pixbuf_x = 0, pixbuf_y = 0) ⇒ Object
- #set_source_pixbuf_raw ⇒ Object
- #set_source_rgba_raw ⇒ Object
- #source_rgba=(rgba) ⇒ Object
Instance Method Details
#set_source_pixbuf(pixbuf, pixbuf_x = 0, pixbuf_y = 0) ⇒ Object
42 43 44 |
# File 'lib/gdk4/cairo.rb', line 42 def set_source_pixbuf(pixbuf, pixbuf_x=0, pixbuf_y=0) set_source_pixbuf_raw(pixbuf, pixbuf_x, pixbuf_y) end |
#set_source_pixbuf_raw ⇒ Object
41 |
# File 'lib/gdk4/cairo.rb', line 41 alias_method :set_source_pixbuf_raw, :set_source_pixbuf |
#set_source_rgba_raw ⇒ Object
20 |
# File 'lib/gdk4/cairo.rb', line 20 alias_method :set_source_rgba_raw, :set_source_rgba |
#source_rgba=(rgba) ⇒ Object
36 37 38 39 |
# File 'lib/gdk4/cairo.rb', line 36 def source_rgba=(rgba) set_source_rgba(rgba) rgba end |