[cairo-commit] cairomm/examples Makefile.am, 1.1.1.1,
1.2 Makefile.am_fragment, 1.1.1.1, 1.2 README, 1.1.1.1, 1.2
Murray Cumming
commit at pdx.freedesktop.org
Sat Jan 7 03:53:04 PST 2006
Committed by: murrayc
Update of /cvs/cairo/cairomm/examples
In directory gabe:/tmp/cvs-serv1730/examples
Modified Files:
Makefile.am Makefile.am_fragment README
Log Message:
2006-01-06 Jonathon Jongsma <jonathon.jongsma at gmail.com>
* cairomm/surface.cc:
* cairomm/surface.h: Added implementation of write_to_png() and
write_to_png_stream() when PNG support is available in the base cairo
library
* examples/png_file/*: Added an example of creating an image surface and
saving it to a png image file
* examples/Makefile.am: add new example directory to SUBDIRS list
* configure.in: added output declaration for examples/png_file/Makefile
* examples/makefile.am_fragment: fix leftover libxml boilerplate
Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairomm/examples/Makefile.am,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Makefile.am 2 Dec 2005 13:34:41 -0000 1.1.1.1
+++ Makefile.am 7 Jan 2006 11:53:02 -0000 1.2
@@ -1,3 +1,3 @@
-SUBDIRS =
+SUBDIRS = png_file
EXTRA_DIST = README Makefile.am_fragment
Index: Makefile.am_fragment
===================================================================
RCS file: /cvs/cairo/cairomm/examples/Makefile.am_fragment,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Makefile.am_fragment 2 Dec 2005 13:34:41 -0000 1.1.1.1
+++ Makefile.am_fragment 7 Jan 2006 11:53:02 -0000 1.2
@@ -1,5 +1,5 @@
#Where to find the header files needed by the source files:
-INCLUDES = -I$(top_srcdir) @LIBXML_CFLAGS@
+INCLUDES = -I$(top_srcdir) @CAIROMM_CFLAGS@
#The libraries that the executable needs to link against:
-LIBS = $(top_builddir)/cairomm/cairommm-1.0.la @LIBS@ @LIBXML_LIBS@
+LIBS = $(top_builddir)/cairomm/libcairomm-1.0.la @LIBS@ @CAIROMM_LIBS@
Index: README
===================================================================
RCS file: /cvs/cairo/cairomm/examples/README,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- README 2 Dec 2005 13:34:41 -0000 1.1.1.1
+++ README 7 Jan 2006 11:53:02 -0000 1.2
@@ -1,23 +0,0 @@
-Examples:
-
-Simple parsing examples:
- dom_parser - Shows how to parse an XML Document with the DOM parser.
- sax_parser - Shows how to parse an XML Document with the SAX parser.
-
-Building XML doxuments:
- dom_build - Shows how to build an XML document using the DOM Parser API.
- sax_parser_build_dom - Shows how to parse an XML document with the SAX parser, building a separate custom DOM as you parse.
- dom_read_write: Reads an XML document with the DOM parser and writes it again. The output should be the same as the input.
- import_node: Adds a part of an XML document to another, using the DOM parser.
-
-Entity parsing:
- dom_parser_entities: Shows how to detect entity references when using the DOM parser.
- sax_parser_entities: Shows how to detect (and maybe resolve) entity references when using the SAX Parser.
-
-XPath:
- dom_xpath: Shows how to get XML nodes by specifying them with an XPath, when using the DOM parser.
-
-Others:
- sax_exception: Shows how to implement a libxml++ exception that can be thrown by your SAX parser.
- dom_parser_raw: Test parse_memory_raw() by converting a UTF-8-encoded XML document to UCS-2 and passing the raw memory to the parser.
-
More information about the cairo-commit
mailing list