summaryrefslogtreecommitdiff
path: root/src/cairo-png.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-08 13:05:18 +0200
committerBenjamin Otte <otte@redhat.com>2010-07-08 14:27:16 +0200
commitb870cc030d8e0eb6309695e5a101c802f688cf40 (patch)
tree943381b08e5af5a8053d043b1465c0b2340e50a4 /src/cairo-png.c
parent65a1e351330106ee0af9f6f0df06b82954341ee6 (diff)
downloadcairo-b870cc030d8e0eb6309695e5a101c802f688cf40.tar.gz
doc: Move tmpl/ docs to inline docs
I did this manually so I could review the docs at the same time. If anyone finds typos or other mistakes I did, please complain to me (or better: fix them).
Diffstat (limited to 'src/cairo-png.c')
-rw-r--r--src/cairo-png.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cairo-png.c b/src/cairo-png.c
index 6a716145b..8b2ff77fa 100644
--- a/src/cairo-png.c
+++ b/src/cairo-png.c
@@ -45,6 +45,24 @@
#include <errno.h>
#include <png.h>
+/**
+ * SECTION:cairo-png
+ * @Title: PNG Support
+ * @Short_Description: Reading and writing PNG images
+ * @See_Also: #cairo_surface_t
+ *
+ * The PNG functions allow reading PNG images into image surfaces, and writing
+ * any surface to a PNG file.
+ */
+
+/**
+ * CAIRO_HAS_PNG_FUNCTIONS:
+ *
+ * Defined if the PNG functions are available.
+ * This macro can be used to conditionally compile code using the cairo
+ * PNG functions.
+ */
+
struct png_read_closure_t {
cairo_read_func_t read_func;
void *closure;