Sha256: 10113e21d44e85446846acf1e396258ccb14ab4f8a3791a1cf3abe5bd15ffea8
Contents?: true
Size: 1.04 KB
Versions: 63
Compression:
Stored size: 1.04 KB
Contents
# Copyright (C) 2017-2018 Ruby-GNOME2 Project Team # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA module Cairo class Context def render_rsvg_handle(handle, options={}) id = options[:id] if id handle.render_cairo_sub(self, id) else handle.render_cairo(self) end end alias_method :show_rsvg_handle, :render_rsvg_handle end end
Version data entries
63 entries across 63 versions & 1 rubygems