[cairo-commit] cairomm/examples/png_file main.cc,1.2,1.3
Jonathon Jongsma
commit at pdx.freedesktop.org
Tue Feb 28 18:23:45 PST 2006
- Previous message: [cairo-commit]
cairomm/cairomm context.cc, 1.9, 1.10 context.h, 1.10,
1.11 enums.h, 1.4, 1.5 fontoptions.cc, 1.4, 1.5 fontoptions.h,
1.4, 1.5 pattern.cc, 1.5, 1.6 pattern.h, 1.6, 1.7 surface.h,
1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: jjongsma
Update of /cvs/cairo/cairomm/examples/png_file
In directory kemper:/tmp/cvs-serv31336/examples/png_file
Modified Files:
main.cc
Log Message:
2006-02-28 Jonathon Jongsma <jonathon.jongsma at gmail.com>
* cairomm/context.cc:
* cairomm/context.h:
* cairomm/enums.h:
* cairomm/fontoptions.cc:
* cairomm/fontoptions.h:
* cairomm/pattern.cc:
* cairomm/pattern.h:
* cairomm/surface.h: wrapped all of the enum types with cairomm
types within the Cairo namespace, so now (for example) the values for
Cairo::Format are something like Cairo::FORMAT_ARGB32 instead of the base
cairo types like CAIRO_FORMAT_ARGB_32.
* examples/png_file/main.cc: fixed example to work with the new namespaced
enum types
Index: main.cc
===================================================================
RCS file: /cvs/cairo/cairomm/examples/png_file/main.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- main.cc 21 Jan 2006 16:22:40 -0000 1.2
+++ main.cc 1 Mar 2006 02:23:43 -0000 1.3
@@ -6,7 +6,7 @@
int main(int argc, char** argv)
{
Cairo::RefPtr<Cairo::ImageSurface> surface =
- Cairo::ImageSurface::create(CAIRO_FORMAT_ARGB32, 600, 400);
+ Cairo::ImageSurface::create(Cairo::FORMAT_ARGB32, 600, 400);
Cairo::RefPtr<Cairo::Context> cr = Cairo::Context::create(surface);
- Previous message: [cairo-commit]
cairomm/cairomm context.cc, 1.9, 1.10 context.h, 1.10,
1.11 enums.h, 1.4, 1.5 fontoptions.cc, 1.4, 1.5 fontoptions.h,
1.4, 1.5 pattern.cc, 1.5, 1.6 pattern.h, 1.6, 1.7 surface.h,
1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list