2005-06-10 03:53:45 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
Cairo Interaction
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2005-07-01 19:24:05 +00:00
|
|
|
Functions to support using Cairo
|
2005-06-10 03:53:45 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2005-06-30 03:21:25 +00:00
|
|
|
<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>
|
2005-06-10 03:53:45 +00:00
|
|
|
|
2005-06-30 03:21:25 +00:00
|
|
|
<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.
|
2005-06-10 03:53:45 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
2005-06-10 03:53:45 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
|
|
|
2005-06-10 03:53:45 +00:00
|
|
|
<!-- ##### 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:
|
|
|
|
|
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### FUNCTION gdk_cairo_set_source_pixmap ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cr:
|
|
|
|
@pixmap:
|
|
|
|
@pixmap_x:
|
|
|
|
@pixmap_y:
|
|
|
|
|
|
|
|
|
2005-06-10 03:53:45 +00:00
|
|
|
<!-- ##### FUNCTION gdk_cairo_rectangle ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cr:
|
|
|
|
@rectangle:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_cairo_region ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cr:
|
|
|
|
@region:
|
|
|
|
|
|
|
|
|
2009-09-05 04:35:08 +00:00
|
|
|
<!-- ##### FUNCTION gdk_cairo_reset_clip ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2009-09-23 04:02:47 +00:00
|
|
|
@cr:
|
2009-09-05 04:35:08 +00:00
|
|
|
@drawable:
|
|
|
|
|
|
|
|
|