[cairo-commit] cairo-java/src/java/org/freedesktop/cairo
Surface.java, 1.4, 1.5 ImageSurface.java, 1.2, 1.3
Jeffrey Morgan
commit at pdx.freedesktop.org
Sat Apr 2 03:46:25 PST 2005
- Previous message: [cairo-commit] cairo-java/src/jni org_freedesktop_cairo_Surface.c,
1.4, 1.5
- Next message: [cairo-commit] cairo/src cairo-font.c, 1.38, 1.39 cairo-ft-font.c,
1.49, 1.50 cairo-gstate.c, 1.98, 1.99 cairo-image-surface.c,
1.30, 1.31 cairo-pdf-surface.c, 1.22, 1.23 cairo-png.c, 1.1,
1.2 cairo-ps-surface.c, 1.28, 1.29 cairo-unicode.c, 1.1,
1.2 cairo-xlib-surface.c, 1.52, 1.53 cairo.c, 1.67,
1.68 cairo.h, 1.87, 1.88 cairoint.h, 1.114, 1.115
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: kuzman
Update of /cvs/cairo/cairo-java/src/java/org/freedesktop/cairo
In directory gabe:/tmp/cvs-serv28109/src/java/org/freedesktop/cairo
Modified Files:
Surface.java ImageSurface.java
Log Message:
removed deprecated method and added makeTarget for ImageSurface
Index: Surface.java
===================================================================
RCS file: /cvs/cairo/cairo-java/src/java/org/freedesktop/cairo/Surface.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Surface.java 25 Mar 2005 16:53:33 -0000 1.4
+++ Surface.java 2 Apr 2005 11:46:23 -0000 1.5
@@ -94,7 +94,6 @@
/*
* Native calls
*/
- native static final private Handle cairo_surface_create_for_image(String data, int format, int width, int height, int stride);
native static final private Handle cairo_surface_create_similar(Handle other, int format, int width, int height);
native static final private void cairo_surface_reference(Handle obj);
native static final private void cairo_surface_destroy(Handle obj);
Index: ImageSurface.java
===================================================================
RCS file: /cvs/cairo/cairo-java/src/java/org/freedesktop/cairo/ImageSurface.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ImageSurface.java 24 Mar 2005 18:11:40 -0000 1.2
+++ ImageSurface.java 2 Apr 2005 11:46:23 -0000 1.3
@@ -23,6 +23,10 @@
super(cairo_image_surface_create_for_data(data, format.getValue(), width, height, stride));
}
+ void makeTarget(Cairo cr) {
+ cr.setTargetSurface(this);
+ }
+
/*
* Native calls
*/
- Previous message: [cairo-commit] cairo-java/src/jni org_freedesktop_cairo_Surface.c,
1.4, 1.5
- Next message: [cairo-commit] cairo/src cairo-font.c, 1.38, 1.39 cairo-ft-font.c,
1.49, 1.50 cairo-gstate.c, 1.98, 1.99 cairo-image-surface.c,
1.30, 1.31 cairo-pdf-surface.c, 1.22, 1.23 cairo-png.c, 1.1,
1.2 cairo-ps-surface.c, 1.28, 1.29 cairo-unicode.c, 1.1,
1.2 cairo-xlib-surface.c, 1.52, 1.53 cairo.c, 1.67,
1.68 cairo.h, 1.87, 1.88 cairoint.h, 1.114, 1.115
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list