cairo_interaction.sgml 1.33 KB
Newer Older
1 2 3 4
<!-- ##### SECTION Title ##### -->
Cairo Interaction

<!-- ##### SECTION Short_Description ##### -->
Matthias Clasen's avatar
2.7.1  
Matthias Clasen committed
5
Functions to support using Cairo
6 7 8

<!-- ##### SECTION Long_Description ##### -->
<para>
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
9 10 11 12 13
<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>
14

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
15 16 17 18 19
<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.
20 21 22 23 24 25 26
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

Matthias Clasen's avatar
2.7.0  
Matthias Clasen committed
27 28
<!-- ##### SECTION Stability_Level ##### -->

29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

<!-- ##### 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: 


Matthias Clasen's avatar
2.9.0  
Matthias Clasen committed
59 60 61 62 63 64 65 66 67 68 69
<!-- ##### FUNCTION gdk_cairo_set_source_pixmap ##### -->
<para>

</para>

@cr: 
@pixmap: 
@pixmap_x: 
@pixmap_y: 


70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
<!-- ##### FUNCTION gdk_cairo_rectangle ##### -->
<para>

</para>

@cr: 
@rectangle: 


<!-- ##### FUNCTION gdk_cairo_region ##### -->
<para>

</para>

@cr: 
@region: