[gtk+] docs: Move documentation to inline comments: cairo_interaction



commit 4e71a4df7b4368954925401d0f028ddecd00004a
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Oct 4 03:04:09 2010 +0200

    docs: Move documentation to inline comments: cairo_interaction

 docs/reference/gdk/tmpl/.gitignore             |    1 +
 docs/reference/gdk/tmpl/cairo_interaction.sgml |   99 ------------------------
 gdk/gdkcairo.c                                 |   17 ++++
 3 files changed, 18 insertions(+), 99 deletions(-)
---
diff --git a/docs/reference/gdk/tmpl/.gitignore b/docs/reference/gdk/tmpl/.gitignore
index a3343cb..ae9a982 100644
--- a/docs/reference/gdk/tmpl/.gitignore
+++ b/docs/reference/gdk/tmpl/.gitignore
@@ -1,2 +1,3 @@
+cairo_interaction.sgml
 dnd.sgml
 windows.sgml
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index c1670eb..61bfd3c 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -26,6 +26,23 @@
 
 
 /**
+ * SECTION:cairo_interaction
+ * @Short_description: Functions to support using Cairo
+ * @Title: Cairo Interaction
+ *
+ * <link href="http://cairographics.org";>Cairo</link> is a graphics
+ * library that supports vector graphics and image compositing that
+ * can be used with GDK. Since 2.8, GTK+ does most of its drawing
+ * using Cairo.
+ *
+ * GDK does not wrap the Cairo API, instead it allows to create Cairo
+ * contexts which can be used to draw on #GdkDrawables. Additional
+ * functions allow to convert GDK's rectangles and regions into
+ * Cairo paths and to use pixbufs as sources for drawing operations.
+ */
+
+
+/**
  * gdk_cairo_create:
  * @drawable: a #GdkDrawable
  * 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]