mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 17:20:07 +00:00
88 lines
1.3 KiB
Plaintext
88 lines
1.3 KiB
Plaintext
<!-- ##### 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 ##### -->
|
|
|
|
|
|
<!-- ##### 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:
|
|
|
|
|