lib/squib/graphics/cairo_context_wrapper.rb in squib-0.5.1 vs lib/squib/graphics/cairo_context_wrapper.rb in squib-0.6.0
- old
+ new
@@ -2,10 +2,11 @@
require 'squib/graphics/gradient_regex'
module Squib
module Graphics
# Wrapper class for the Cairo context. Private.
+ # @api private
class CairoContextWrapper
extend Forwardable
# :nodoc:
# @api private
@@ -20,10 +21,11 @@
def_delegators :cairo_cxt, :save, :set_source_color, :paint, :restore,
:translate, :rotate, :move_to, :update_pango_layout, :width, :height,
:show_pango_layout, :rounded_rectangle, :set_line_width, :stroke, :fill,
:set_source, :scale, :render_rsvg_handle, :circle, :triangle, :line_to,
:operator=, :show_page, :clip, :transform, :mask, :create_pango_layout,
- :antialias=, :curve_to, :matrix, :matrix=, :identity_matrix
+ :antialias=, :curve_to, :matrix, :matrix=, :identity_matrix, :pango_layout_path,
+ :stroke_preserve, :target, :new_path, :fill_preserve, :close_path
# :nodoc:
# @api private
def set_source_squibcolor(arg)
if match = arg.match(LINEAR_GRADIENT)
\ No newline at end of file