[cairo-commit] cairo-java/src/java/org/freedesktop/cairo Context.java, 1.13, 1.14

Dan Williams commit at pdx.freedesktop.org
Thu Mar 23 08:32:11 PST 2006


Committed by: dcbw

Update of /cvs/cairo/cairo-java/src/java/org/freedesktop/cairo
In directory kemper:/tmp/cvs-serv6733/src/java/org/freedesktop/cairo

Modified Files:
	Context.java 
Log Message:
2006-03-23  Dan Williams  <dcbw at redhat.com>

    * src/java/org/freedesktop/cairo/Context.java
        - make inFill and inStroke public

    * src/jni/org_freedesktop_cairo_Context.c
        - (cairo_get_font_matrix): fix usage of matrix, must be allocated
        first
        - (cairo_get_font_options): fix usage of font options, must be
        allocated first



Index: Context.java
===================================================================
RCS file: /cvs/cairo/cairo-java/src/java/org/freedesktop/cairo/Context.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Context.java	12 Feb 2006 09:05:44 -0000	1.13
+++ Context.java	23 Mar 2006 16:32:09 -0000	1.14
@@ -586,11 +586,11 @@
         cairo_show_page(getHandle());
     }
 
-    boolean inStroke(double x, double y) {
+    public boolean inStroke(double x, double y) {
         return cairo_in_stroke(getHandle(), x, y);
     }
 
-    boolean inFill(double x, double y) {
+    public boolean inFill(double x, double y) {
         return cairo_in_fill(getHandle(), x, y);
     }
 



More information about the cairo-commit mailing list