[cairo-commit] rcairo/packages/cairo/lib cairo.rb,1.2,1.3
Oeyvind Kolaas
commit at pdx.freedesktop.org
Wed Feb 9 05:24:53 PST 2005
Committed by: pippin
Update of /cvs/cairo/rcairo/packages/cairo/lib
In directory gabe:/tmp/cvs-serv27177/packages/cairo/lib
Modified Files:
cairo.rb
Log Message:
%s/Transform/Matrix/g
Index: cairo.rb
===================================================================
RCS file: /cvs/cairo/rcairo/packages/cairo/lib/cairo.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo.rb 9 Feb 2005 11:58:27 -0000 1.2
+++ cairo.rb 9 Feb 2005 13:24:51 -0000 1.3
@@ -115,14 +115,14 @@
end
end
-class Transform
+class Matrix
def dup
- copy = Transform.new
+ copy = Matrix.new
copy.copy(self)
return copy
end
def clone
- copy = Transform.new
+ copy = Matrix.new
copy.copy(self)
copy.freeze if self.frozen?
return copy
@@ -134,9 +134,9 @@
def invert() ; dup.invert! ; end
def multiply!(other) ; set_product(self, other) ; end
- def multiply(other) ; Transform.new.set_product(self, other) ; end
+ def multiply(other) ; Matrix.new.set_product(self, other) ; end
- def *(other) ; Transform.new.set_product(self, other) ; end
+ def *(other) ; Matrix.new.set_product(self, other) ; end
end
end
More information about the cairo-commit
mailing list