# File poppler/lib/poppler.rb, line 97 def render_poppler_page(page, *args, &block) page.render(self, *args, &block) end
# File poppler/lib/poppler.rb, line 101 def render_poppler_page_selection(page, *args, &block) page.render_selection(self, *args, &block) end
# File rsvg2/lib/rsvg2.rb, line 26 def render_rsvg_handle(handle, *args, &block) handle.render_cairo(self, *args, &block) end
# File clutter/lib/clutter/cairo.rb, line 19 def set_source_clutter_color(color) Clutter.cairo_set_source_color(self, color) end
# File gdk3/lib/gdk3/cairo.rb, line 21 def set_source_color(color) if color.is_a?(Gdk::Color) set_source_gdk_color(color) else set_source_not_gdk_color(color) end end
# File gdk3/lib/gdk3/cairo.rb, line 56 def set_source_pixbuf(pixbuf, pixbuf_x=0, pixbuf_y=0) set_source_pixbuf_raw(pixbuf, pixbuf_x, pixbuf_y) end
# File gdk3/lib/gdk3/cairo.rb, line 39 def set_source_rgba(rgba) if rgba.is_a?(Gdk::RGBA) set_source_gdk_rgba(rgba) else set_source_not_gdk_rgba(rgba) end end
# File gdk3/lib/gdk3/cairo.rb, line 32 def source_color=(color) set_source_color(color) color end
# File gdk3/lib/gdk3/cairo.rb, line 50 def source_rgba=(rgba) set_source_rgba(rgba) rgba end