Class: Cairo::Context
- Inherits:
-
Object
- Object
- Cairo::Context
- Defined in:
- lib/rsvg2/cairo.rb
Instance Method Summary collapse
- #render_rsvg_handle(handle, options = {}) ⇒ Object (also: #show_rsvg_handle)
Instance Method Details
#render_rsvg_handle(handle, options = {}) ⇒ Object Also known as: show_rsvg_handle
19 20 21 22 23 24 25 26 |
# File 'lib/rsvg2/cairo.rb', line 19 def render_rsvg_handle(handle, ={}) id = [:id] if id handle.render_cairo_sub(self, id) else handle.render_cairo(self) end end |