docs: Move documentation to inline comments: cairo_interaction

This commit is contained in:
Javier Jardón 2010-10-04 03:04:09 +02:00
parent 5a30dad531
commit 4e71a4df7b
3 changed files with 18 additions and 99 deletions

View File

@ -1,2 +1,3 @@
cairo_interaction.sgml
dnd.sgml
windows.sgml

View File

@ -1,99 +0,0 @@
<!-- ##### SECTION Title ##### -->
Cairo Interaction
<!-- ##### SECTION Short_Description ##### -->
Functions to support using Cairo
<!-- ##### SECTION Long_Description ##### -->
<para>
<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.
</para>
<para>
GDK does not wrap the Cairo API, instead it allows to create Cairo
contexts which can be used to draw on GDK drawables. Additional
functions allow to convert GDK's rectangles and regions into
Cairo paths and to use pixbufs as sources for drawing operations.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### FUNCTION gdk_cairo_create ##### -->
<para>
</para>
@drawable:
@Returns:
<!-- ##### FUNCTION gdk_cairo_set_source_color ##### -->
<para>
</para>
@cr:
@color:
<!-- ##### FUNCTION gdk_cairo_set_source_pixbuf ##### -->
<para>
</para>
@cr:
@pixbuf:
@pixbuf_x:
@pixbuf_y:
<!-- ##### FUNCTION gdk_cairo_set_source_pixmap ##### -->
<para>
</para>
@cr:
@pixmap:
@pixmap_x:
@pixmap_y:
<!-- ##### FUNCTION gdk_cairo_rectangle ##### -->
<para>
</para>
@cr:
@rectangle:
<!-- ##### FUNCTION gdk_cairo_region ##### -->
<para>
</para>
@cr:
@region:
<!-- ##### FUNCTION gdk_cairo_reset_clip ##### -->
<para>
</para>
@cr:
@drawable:

View File

@ -25,6 +25,23 @@
#include "gdkinternals.h"
/**
* 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