[cairo-commit] cairo-java/test/kapow Kapow.java,1.2,1.3

Jeffrey Morgan commit at pdx.freedesktop.org
Tue Mar 8 13:32:01 PST 2005


Committed by: kuzman

Update of /cvs/cairo/cairo-java/test/kapow
In directory gabe:/tmp/cvs-serv2234/test/kapow

Modified Files:
	Kapow.java 
Log Message:
Completed implementation of current_path and current_path_flat

Index: Kapow.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/kapow/Kapow.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Kapow.java	8 Mar 2005 15:35:23 -0000	1.2
+++ Kapow.java	8 Mar 2005 21:31:59 -0000	1.3
@@ -137,7 +137,7 @@
         
         private boolean firstTime = true;
 
-        public void cairoMoveTo(double x, double y) {
+        public void moveTo(double x, double y) {
             if (firstTime) {
                 cr.newPath();
                 firstTime = false;
@@ -146,14 +146,14 @@
             cr.moveTo(newPoint[0], newPoint[1]);
         }
 
-        public void cairoLineTo(double x, double y) {
+        public void lineTo(double x, double y) {
             double[] newPoint = bendIt(x, y);
             cr.lineTo(newPoint[0], newPoint[1]);
         }
 
-        public void cairoCurveTo(double x1, double y1, double x2, double y2, double x3, double y3) {}
+        public void curveTo(double x1, double y1, double x2, double y2, double x3, double y3) {}
 
-        public void cairoClosePath() {
+        public void closePath() {
             cr.closePath();
         }
         




More information about the cairo-commit mailing list