[cairo-commit] cairo-java/test/kapow Kapow.java,1.12,1.13
Jeffrey Morgan
commit at pdx.freedesktop.org
Mon May 2 18:36:17 PDT 2005
- Previous message: [cairo-commit]
cairo/src cairo-ft-font.c, 1.56, 1.57 cairo.h, 1.107, 1.108
- Next message: [cairo-commit]
cairo-java/src/java/org/freedesktop/cairo Cairo.java, 1.16,
NONE PdfSurface.java, 1.7, 1.8 BoundingBox.java, 1.1,
NONE Box.java, NONE, 1.1 Context.java, NONE, 1.1 Surface.java,
1.5, 1.6 ImageSurface.java, 1.6, 1.7 PsSurface.java, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: kuzman
Update of /cvs/cairo/cairo-java/test/kapow
In directory gabe:/tmp/cvs-serv8526/test/kapow
Modified Files:
Kapow.java
Log Message:
Renamed BoundingBox to Box, Cairo to Context, and removed PsSurface
Index: Kapow.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/kapow/Kapow.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Kapow.java 23 Apr 2005 16:48:28 -0000 1.12
+++ Kapow.java 3 May 2005 01:36:15 -0000 1.13
@@ -9,7 +9,7 @@
package kapow;
-import org.freedesktop.cairo.Cairo;
+import org.freedesktop.cairo.Context;
import org.freedesktop.cairo.CurrentPath;
import org.freedesktop.cairo.FontSlant;
import org.freedesktop.cairo.FontWeight;
@@ -25,7 +25,7 @@
*/
public class Kapow {
- public Cairo cr;
+ public Context cr;
private MyPath path;
private String filename = "kapow.png";
public int IMAGE_WIDTH = 460;
@@ -46,7 +46,7 @@
private RGBColor purple = new RGBColor(0,0,0.4);
public Kapow(String text) throws Exception {
- cr = new Cairo();
+ cr = new Context();
PngSurface surface = new PngSurface(Format.ARGB32, IMAGE_WIDTH, IMAGE_HEIGHT);
cr.setTargetSurface(surface);
- Previous message: [cairo-commit]
cairo/src cairo-ft-font.c, 1.56, 1.57 cairo.h, 1.107, 1.108
- Next message: [cairo-commit]
cairo-java/src/java/org/freedesktop/cairo Cairo.java, 1.16,
NONE PdfSurface.java, 1.7, 1.8 BoundingBox.java, 1.1,
NONE Box.java, NONE, 1.1 Context.java, NONE, 1.1 Surface.java,
1.5, 1.6 ImageSurface.java, 1.6, 1.7 PsSurface.java, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list