lib/squib/graphics/save_images.rb in squib-0.0.4 vs lib/squib/graphics/save_images.rb in squib-0.0.5
- old
+ new
@@ -1,10 +1,10 @@
module Squib
class Card
# :nodoc:
- # @api private
+ # @api private
def save_png(i, dir, prefix, do_rotate, angle)
if [true, :clockwise, :counterclockwise].include?(do_rotate)
surface = rotated_image(angle)
else
surface = @cairo_surface
@@ -22,12 +22,12 @@
rotated_cc.set_source(@cairo_surface)
rotated_cc.paint
rotated_cc.target
end
# :nodoc:
- # @api private
+ # @api private
def write_png(surface, i, dir, prefix)
surface.write_to_png("#{dir}/#{prefix}#{i}.png")
end
end
-end
\ No newline at end of file
+end