lib/squib/graphics/cairo_context_wrapper.rb in squib-0.3.0 vs lib/squib/graphics/cairo_context_wrapper.rb in squib-0.4.0
- old
+ new
@@ -13,10 +13,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
+ :operator=, :show_page, :clip, :transform, :mask, :create_pango_layout,
+ :antialias=
def set_source_squibcolor(arg)
if match = arg.match(LINEAR_GRADIENT)
x1, y1, x2, y2 = match.captures
linear = Cairo::LinearPattern.new(x1.to_f, y1.to_f, x2.to_f, y2.to_f)
\ No newline at end of file