lib/rvg/rvg.rb in rmagick-2.2.2 vs lib/rvg/rvg.rb in rmagick-2.3.0
- old
+ new
@@ -1,9 +1,9 @@
#--############################################################################
-# $Id: rvg.rb,v 1.8 2007/01/20 17:39:50 rmagick Exp $
+# $Id: rvg.rb,v 1.9 2008/02/24 21:15:24 rmagick Exp $
#
-# Copyright (C) 2007 by Timothy P. Hunter
+# Copyright (C) 2008 by Timothy P. Hunter
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
@@ -220,10 +220,10 @@
@canvas = nil
@background_fill = nil
@background_fill_opacity = 1.0 # applies only if background_fill= is used
@background_position = :scaled
@background_pattern, @background_image, @desc, @title, @metadata = nil
- @x, @y = 0.0
+ @x, @y = 0.0, 0.0
@nested = false
yield(self) if block_given?
end
# Construct a canvas or reuse an existing canvas.