[cairo-commit] cairo-java/test/kapow Kapow.java,1.10,1.11
Jeffrey Morgan
commit at pdx.freedesktop.org
Sun Apr 10 17:47:23 PDT 2005
- Previous message: [cairo-commit] pycairo ChangeLog,1.78,1.79
- Next message: [cairo-commit]
cairo-java/src/java/org/freedesktop/cairo Cairo.java, 1.13,
1.14 Matrix.java, 1.2, 1.3 Font.java, 1.2,
NONE PngSurface.java, 1.6, 1.7 FreetypeFont.java, 1.3,
1.4 FontFace.java, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: kuzman
Update of /cvs/cairo/cairo-java/test/kapow
In directory gabe:/tmp/cvs-serv10446/test/kapow
Modified Files:
Kapow.java
Log Message:
Changes to match upstream API changes
Index: Kapow.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/kapow/Kapow.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Kapow.java 2 Apr 2005 21:07:24 -0000 1.10
+++ Kapow.java 11 Apr 2005 00:47:21 -0000 1.11
@@ -72,8 +72,8 @@
cr.setRGBColor(black);
cr.stroke();
- cr.selectFont("Sans", FontSlant.NORMAL, FontWeight.BOLD);
- cr.scaleFont(50);
+ cr.selectFontFace("Sans", FontSlant.NORMAL, FontWeight.BOLD);
+ cr.setFontSize(50);
TextExtents extents = cr.getTextExtents(text);
Point point = new Point();
point.setX(IMAGE_WIDTH / 2 - (extents.getWidth() / 2 + extents.getXBearing()));
- Previous message: [cairo-commit] pycairo ChangeLog,1.78,1.79
- Next message: [cairo-commit]
cairo-java/src/java/org/freedesktop/cairo Cairo.java, 1.13,
1.14 Matrix.java, 1.2, 1.3 Font.java, 1.2,
NONE PngSurface.java, 1.6, 1.7 FreetypeFont.java, 1.3,
1.4 FontFace.java, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list