[cairo-commit] cairo-java/src/java/org/freedesktop/cairo Point.java, 1.1, 1.2

Jeffrey Morgan commit at pdx.freedesktop.org
Mon Mar 14 12:15:24 PST 2005


Committed by: kuzman

Update of /cvs/cairo/cairo-java/src/java/org/freedesktop/cairo
In directory gabe:/tmp/cvs-serv19371/src/java/org/freedesktop/cairo

Modified Files:
	Point.java 
Log Message:
Added default constructor to Point

Index: Point.java
===================================================================
RCS file: /cvs/cairo/cairo-java/src/java/org/freedesktop/cairo/Point.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Point.java	23 Feb 2005 18:17:52 -0000	1.1
+++ Point.java	14 Mar 2005 20:15:22 -0000	1.2
@@ -12,6 +12,11 @@
     private double x;
     private double y;
     
+    public Point() {
+        x = -1;
+        y = -1;
+    }
+    
     public Point(double x, double y) {
         this.x = x;
         this.y = y;




More information about the cairo-commit mailing list