[cairo-commit] cairo-demo/png text-rotate.c,NONE,1.1 text-rotate.ps,NONE,1.1 ChangeLog,1.4,1.5 Makefile,1.4,1.5
Carl Worth
commit at pdx.freedesktop.org
Wed Dec 17 19:17:29 PST 2003
- Previous message: [cairo-commit] papers/opengl_freenix04 ChangeLog,1.9,1.10 opengl_freenix04.bib,1.3,1.4 opengl_freenix04.tex,1.11,1.12
- Next message: [cairo-commit] CairoJava/src/org/cairographics/cairo CairoFont.java,NONE,1.1 CairoException.java,NONE,1.1 Cairo.java,1.4,1.5 CairoImage.java,1.3,1.4 CairoMatrix.java,1.3,1.4 CairoSurface.java,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: cworth
Update of /cvs/cairo/cairo-demo/png
In directory pdx:/tmp/cvs-serv9828
Modified Files:
ChangeLog Makefile
Added Files:
text-rotate.c text-rotate.ps
Log Message:
* Makefile (EXAMPLES): Add text-rotate.
* text-rotate.c: New program demonstrating text rotation.
--- NEW FILE: text-rotate.c ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: text-rotate.ps ---
%!PS-Adobe-2.0
/Helvetica findfont 24 scalefont setfont
50 50 translate
gsave
100 0 moveto
(Text) show
grestore
gsave
45 rotate
100 0 moveto
(Text) show
grestore
gsave
90 rotate
100 0 moveto
(Text) show
grestore
0 200 translate
gsave
/Helvetica findfont [24 0 0 24 0 0] makefont setfont
100 0 moveto
(Text) show
grestore
gsave
45 rotate
/Helvetica findfont [16.9706 -16.9706 16.9706 16.9706 0 0] makefont setfont
100 0 moveto
(Text) show
grestore
gsave
90 rotate
/Helvetica findfont [0 -24 24 0 0 0] makefont setfont
100 0 moveto
(Text) show
grestore
0 200 translate
/Helvetica findfont 24 scalefont setfont
gsave
100 0 moveto
(Text) show
grestore
gsave
45 rotate
100 0 moveto
gsave
-45 rotate
(Text) show
grestore
grestore
gsave
90 rotate
100 0 moveto
gsave
-90 rotate
(Text) show
grestore
grestore
showpage
end
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ChangeLog 16 Dec 2003 15:23:36 -0000 1.4
--- ChangeLog 18 Dec 2003 03:17:26 -0000 1.5
***************
*** 1,2 ****
--- 1,8 ----
+ 2003-12-17 Carl Worth <cworth at isi.edu>
+
+ * Makefile (EXAMPLES): Add text-rotate.
+
+ * text-rotate.c: New program demonstrating text rotation.
+
2003-12-16 Carl Worth <cworth at isi.edu>
Index: Makefile
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Makefile 11 Dec 2003 15:09:12 -0000 1.4
--- Makefile 18 Dec 2003 03:17:26 -0000 1.5
***************
*** 1,3 ****
! EXAMPLES=outline spiral hering caps_joins stars splines_tolerance text
CFLAGS=-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls `pkg-config --cflags cairo libpng`
--- 1,3 ----
! EXAMPLES=outline spiral hering caps_joins stars splines_tolerance text text-rotate
CFLAGS=-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls `pkg-config --cflags cairo libpng`
- Previous message: [cairo-commit] papers/opengl_freenix04 ChangeLog,1.9,1.10 opengl_freenix04.bib,1.3,1.4 opengl_freenix04.tex,1.11,1.12
- Next message: [cairo-commit] CairoJava/src/org/cairographics/cairo CairoFont.java,NONE,1.1 CairoException.java,NONE,1.1 Cairo.java,1.4,1.5 CairoImage.java,1.3,1.4 CairoMatrix.java,1.3,1.4 CairoSurface.java,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list