goocanvas 0.90.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. data/ChangeLog +87 -0
  2. data/README +37 -0
  3. data/Rakefile +14 -0
  4. data/ext/goocanvas/depend +5 -0
  5. data/ext/goocanvas/extconf.rb +66 -0
  6. data/ext/goocanvas/goocanvas.def +2 -0
  7. data/ext/goocanvas/rbgoocairo.c +74 -0
  8. data/ext/goocanvas/rbgoocanvas.c +236 -0
  9. data/ext/goocanvas/rbgoocanvas.h +66 -0
  10. data/ext/goocanvas/rbgoocanvasellipse.c +50 -0
  11. data/ext/goocanvas/rbgoocanvasgroup.c +41 -0
  12. data/ext/goocanvas/rbgoocanvasimage.c +45 -0
  13. data/ext/goocanvas/rbgoocanvasitem.c +358 -0
  14. data/ext/goocanvas/rbgoocanvaspolyline.c +102 -0
  15. data/ext/goocanvas/rbgoocanvasrect.c +47 -0
  16. data/ext/goocanvas/rbgoocanvasstyle.c +61 -0
  17. data/ext/goocanvas/rbgoocanvastable.c +41 -0
  18. data/ext/goocanvas/rbgoocanvastext.c +58 -0
  19. data/ext/goocanvas/rbgoocanvaswidget.c +48 -0
  20. data/ext/goocanvas/rbgooutils.c +44 -0
  21. data/extconf.rb +49 -0
  22. data/lib/1.8/goocanvas.so +0 -0
  23. data/lib/1.9/goocanvas.so +0 -0
  24. data/lib/goocanvas.rb +145 -0
  25. data/sample/demo-arrowhead.rb +315 -0
  26. data/sample/demo-fifteen.rb +218 -0
  27. data/sample/demo-primitives.rb +720 -0
  28. data/sample/demo.rb +84 -0
  29. data/sample/flower.png +0 -0
  30. data/sample/scalability-demo.rb +130 -0
  31. data/sample/simple-demo.rb +35 -0
  32. data/sample/table-demo.rb +137 -0
  33. data/sample/toroid.png +0 -0
  34. data/sample/units-demo.rb +80 -0
  35. data/sample/widgets-demo.rb +197 -0
  36. data/vendor/local/bin/libgoocanvas-3.dll +0 -0
  37. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvas.h +334 -0
  38. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasatk.h +22 -0
  39. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasellipse.h +120 -0
  40. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasenumtypes.h +33 -0
  41. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgrid.h +153 -0
  42. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgroup.h +109 -0
  43. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasimage.h +121 -0
  44. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitem.h +479 -0
  45. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemmodel.h +275 -0
  46. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemsimple.h +247 -0
  47. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasmarshal.h +61 -0
  48. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspath.h +116 -0
  49. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspolyline.h +176 -0
  50. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasprivate.h +59 -0
  51. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasrect.h +121 -0
  52. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasstyle.h +110 -0
  53. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastable.h +139 -0
  54. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastext.h +133 -0
  55. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasutils.h +333 -0
  56. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaswidget.h +66 -0
  57. data/vendor/local/include/goocanvas-1.0.0/goocanvas/stamp-goocanvasmarshal.h +1 -0
  58. data/vendor/local/lib/libgoocanvas.a +0 -0
  59. data/vendor/local/lib/libgoocanvas.dll.a +0 -0
  60. data/vendor/local/lib/pkgconfig/goocanvas.pc +13 -0
  61. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvas.html +1982 -0
  62. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipse.html +269 -0
  63. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipseModel.html +274 -0
  64. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGrid.html +469 -0
  65. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGridModel.html +476 -0
  66. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroup.html +183 -0
  67. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroupModel.html +184 -0
  68. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImage.html +247 -0
  69. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImageModel.html +252 -0
  70. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItem.html +3014 -0
  71. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModel.html +1764 -0
  72. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModelSimple.html +298 -0
  73. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemSimple.html +809 -0
  74. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPath.html +279 -0
  75. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPathModel.html +280 -0
  76. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolyline.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolylineModel.html +375 -0
  78. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRect.html +247 -0
  79. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRectModel.html +252 -0
  80. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasStyle.html +489 -0
  81. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTable.html +452 -0
  82. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTableModel.html +452 -0
  83. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasText.html +324 -0
  84. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTextModel.html +287 -0
  85. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasWidget.html +266 -0
  86. data/vendor/local/share/gtk-doc/html/goocanvas/ch01.html +53 -0
  87. data/vendor/local/share/gtk-doc/html/goocanvas/ch02.html +50 -0
  88. data/vendor/local/share/gtk-doc/html/goocanvas/ch03.html +62 -0
  89. data/vendor/local/share/gtk-doc/html/goocanvas/ch04.html +60 -0
  90. data/vendor/local/share/gtk-doc/html/goocanvas/ch05.html +33 -0
  91. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-GooCanvas-Types.html +815 -0
  92. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-architecture.html +157 -0
  93. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-coordinates.html +106 -0
  94. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-creating-items.html +420 -0
  95. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-model-view-canvas.html +246 -0
  96. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-overview.html +106 -0
  97. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-simple-canvas.html +238 -0
  98. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-wysiwyg.html +84 -0
  99. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp +608 -0
  100. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp2 +639 -0
  101. data/vendor/local/share/gtk-doc/html/goocanvas/home.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/goocanvas/index.html +138 -0
  103. data/vendor/local/share/gtk-doc/html/goocanvas/index.sgml +814 -0
  104. data/vendor/local/share/gtk-doc/html/goocanvas/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/goocanvas/right.png +0 -0
  106. data/vendor/local/share/gtk-doc/html/goocanvas/style.css +257 -0
  107. data/vendor/local/share/gtk-doc/html/goocanvas/up.png +0 -0
  108. data/vendor/local/share/gtk-doc/tmpl/goocanvas/dummy.sgml +0 -0
  109. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas-unused.sgml +0 -0
  110. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas.sgml +536 -0
  111. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipse.sgml +82 -0
  112. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipsemodel.sgml +82 -0
  113. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgrid.sgml +176 -0
  114. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgridmodel.sgml +176 -0
  115. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroup.sgml +58 -0
  116. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroupmodel.sgml +58 -0
  117. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimage.sgml +81 -0
  118. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimagemodel.sgml +81 -0
  119. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitem.sgml +773 -0
  120. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodel.sgml +490 -0
  121. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodelsimple.sgml +135 -0
  122. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemsimple.sgml +254 -0
  123. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspath.sgml +64 -0
  124. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspathmodel.sgml +64 -0
  125. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolyline.sgml +109 -0
  126. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolylinemodel.sgml +109 -0
  127. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrect.sgml +72 -0
  128. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrectmodel.sgml +72 -0
  129. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasstyle.sgml +186 -0
  130. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastable.sgml +158 -0
  131. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastablemodel.sgml +158 -0
  132. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastext.sgml +103 -0
  133. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastextmodel.sgml +93 -0
  134. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasutils.sgml +241 -0
  135. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaswidget.sgml +73 -0
  136. metadata +218 -0
@@ -0,0 +1,815 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GooCanvas Types</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
+ <link rel="home" href="index.html" title="GooCanvas Reference Manual">
8
+ <link rel="up" href="ch05.html" title="Miscellaneous">
9
+ <link rel="prev" href="ch05.html" title="Miscellaneous">
10
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
11
+ <link rel="stylesheet" href="style.css" type="text/css">
12
+ </head>
13
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
15
+ <tr valign="middle">
16
+ <td><a accesskey="p" href="ch05.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td><a accesskey="u" href="ch05.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
+ <th width="100%" align="center">GooCanvas Reference Manual</th>
20
+ <td> </td>
21
+ </tr>
22
+ <tr><td colspan="5" class="shortcuts">
23
+ <a href="#goocanvas-GooCanvas-Types.synopsis" class="shortcut">Top</a>
24
+  | 
25
+ <a href="#goocanvas-GooCanvas-Types.description" class="shortcut">Description</a>
26
+ </td></tr>
27
+ </table>
28
+ <div class="refentry" title="GooCanvas Types">
29
+ <a name="goocanvas-GooCanvas-Types"></a><div class="titlepage"></div>
30
+ <div class="refnamediv"><table width="100%"><tr>
31
+ <td valign="top">
32
+ <h2><span class="refentrytitle"><a name="goocanvas-GooCanvas-Types.top_of_page"></a>GooCanvas Types</span></h2>
33
+ <p>GooCanvas Types — types used in GooCanvas.</p>
34
+ </td>
35
+ <td valign="top" align="right"></td>
36
+ </tr></table></div>
37
+ <div class="refsynopsisdiv" title="Synopsis">
38
+ <a name="goocanvas-GooCanvas-Types.synopsis"></a><h2>Synopsis</h2>
39
+ <pre class="synopsis"> <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds">GooCanvasBounds</a>;
40
+
41
+ enum <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasItemVisibility" title="enum GooCanvasItemVisibility">GooCanvasItemVisibility</a>;
42
+
43
+ enum <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPointerEvents" title="enum GooCanvasPointerEvents">GooCanvasPointerEvents</a>;
44
+
45
+ enum <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasAnimateType" title="enum GooCanvasAnimateType">GooCanvasAnimateType</a>;
46
+
47
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints">GooCanvasPoints</a>;
48
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="returnvalue">GooCanvasPoints</span></a>* <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-points-new" title="goo_canvas_points_new ()">goo_canvas_points_new</a> (<em class="parameter"><code><span class="type">int</span> num_points</code></em>);
49
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="returnvalue">GooCanvasPoints</span></a>* <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-points-ref" title="goo_canvas_points_ref ()">goo_canvas_points_ref</a> (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> *points</code></em>);
50
+ <span class="returnvalue">void</span> <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-points-unref" title="goo_canvas_points_unref ()">goo_canvas_points_unref</a> (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> *points</code></em>);
51
+
52
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash">GooCanvasLineDash</a>;
53
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="returnvalue">GooCanvasLineDash</span></a>* <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-line-dash-new" title="goo_canvas_line_dash_new ()">goo_canvas_line_dash_new</a> (<em class="parameter"><code><span class="type">gint</span> num_dashes</code></em>,
54
+ <em class="parameter"><code>...</code></em>);
55
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="returnvalue">GooCanvasLineDash</span></a>* <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-line-dash-newv" title="goo_canvas_line_dash_newv ()">goo_canvas_line_dash_newv</a> (<em class="parameter"><code><span class="type">gint</span> num_dashes</code></em>,
56
+ <em class="parameter"><code><span class="type">double</span> *dashes</code></em>);
57
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="returnvalue">GooCanvasLineDash</span></a>* <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-line-dash-ref" title="goo_canvas_line_dash_ref ()">goo_canvas_line_dash_ref</a> (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a> *dash</code></em>);
58
+ <span class="returnvalue">void</span> <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-line-dash-unref" title="goo_canvas_line_dash_unref ()">goo_canvas_line_dash_unref</a> (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a> *dash</code></em>);
59
+
60
+ enum <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPathCommandType" title="enum GooCanvasPathCommandType">GooCanvasPathCommandType</a>;
61
+ union <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPathCommand" title="union GooCanvasPathCommand">GooCanvasPathCommand</a>;
62
+ <span class="returnvalue">GArray</span>* <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-parse-path-data" title="goo_canvas_parse_path_data ()">goo_canvas_parse_path_data</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path_data</code></em>);
63
+ <span class="returnvalue">void</span> <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-create-path" title="goo_canvas_create_path ()">goo_canvas_create_path</a> (<em class="parameter"><code><span class="type">GArray</span> *commands</code></em>,
64
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
65
+
66
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoAntialias" title="GooCairoAntialias">GooCairoAntialias</a>;
67
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoFillRule" title="GooCairoFillRule">GooCairoFillRule</a>;
68
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoHintMetrics" title="GooCairoHintMetrics">GooCairoHintMetrics</a>;
69
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineCap" title="GooCairoLineCap">GooCairoLineCap</a>;
70
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineJoin" title="GooCairoLineJoin">GooCairoLineJoin</a>;
71
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoOperator" title="GooCairoOperator">GooCairoOperator</a>;
72
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoMatrix" title="GooCairoMatrix">GooCairoMatrix</a>;
73
+ typedef <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern">GooCairoPattern</a>;
74
+ </pre>
75
+ </div>
76
+ <div class="refsect1" title="Description">
77
+ <a name="goocanvas-GooCanvas-Types.description"></a><h2>Description</h2>
78
+ <p>
79
+ This section describes the types used throughout GooCanvas.
80
+ </p>
81
+ </div>
82
+ <div class="refsect1" title="Details">
83
+ <a name="goocanvas-GooCanvas-Types.details"></a><h2>Details</h2>
84
+ <div class="refsect2" title="GooCanvasBounds">
85
+ <a name="GooCanvasBounds"></a><h3>GooCanvasBounds</h3>
86
+ <pre class="programlisting">typedef struct {
87
+ gdouble x1, y1, x2, y2;
88
+ } GooCanvasBounds;
89
+ </pre>
90
+ <p>
91
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> represents the bounding box of an item in the canvas.
92
+ </p>
93
+ <div class="variablelist"><table border="0">
94
+ <col align="left" valign="top">
95
+ <tbody>
96
+ <tr>
97
+ <td><p><span class="term"><span class="type">gdouble</span> <em class="structfield"><code><a name="GooCanvasBounds.x1"></a>x1</code></em>;</span></p></td>
98
+ <td>the left edge.
99
+ </td>
100
+ </tr>
101
+ <tr>
102
+ <td><p><span class="term"><span class="type">gdouble</span> <em class="structfield"><code><a name="GooCanvasBounds.y1"></a>y1</code></em>;</span></p></td>
103
+ <td>the top edge.
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td><p><span class="term"><span class="type">gdouble</span> <em class="structfield"><code><a name="GooCanvasBounds.x2"></a>x2</code></em>;</span></p></td>
108
+ <td>the right edge.
109
+ </td>
110
+ </tr>
111
+ <tr>
112
+ <td><p><span class="term"><span class="type">gdouble</span> <em class="structfield"><code><a name="GooCanvasBounds.y2"></a>y2</code></em>;</span></p></td>
113
+ <td>the bottom edge.
114
+ </td>
115
+ </tr>
116
+ </tbody>
117
+ </table></div>
118
+ </div>
119
+ <hr>
120
+ <div class="refsect2" title="enum GooCanvasItemVisibility">
121
+ <a name="GooCanvasItemVisibility"></a><h3>enum GooCanvasItemVisibility</h3>
122
+ <pre class="programlisting">typedef enum
123
+ {
124
+ GOO_CANVAS_ITEM_HIDDEN = 0,
125
+ GOO_CANVAS_ITEM_INVISIBLE = 1,
126
+ GOO_CANVAS_ITEM_VISIBLE = 2,
127
+ GOO_CANVAS_ITEM_VISIBLE_ABOVE_THRESHOLD = 3
128
+ } GooCanvasItemVisibility;
129
+ </pre>
130
+ <p>
131
+ The <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasItemVisibility" title="enum GooCanvasItemVisibility"><span class="type">GooCanvasItemVisibility</span></a> enumeration is used to specify when a canvas
132
+ item is visible.
133
+ </p>
134
+ <div class="variablelist"><table border="0">
135
+ <col align="left" valign="top">
136
+ <tbody>
137
+ <tr>
138
+ <td><p><a name="GOO-CANVAS-ITEM-HIDDEN:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ITEM_HIDDEN</code></span></p></td>
139
+ <td>the item is invisible, and is not allocated any
140
+ space in layout container items such as <a class="link" href="GooCanvasTable.html" title="GooCanvasTable"><span class="type">GooCanvasTable</span></a>.
141
+ </td>
142
+ </tr>
143
+ <tr>
144
+ <td><p><a name="GOO-CANVAS-ITEM-INVISIBLE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ITEM_INVISIBLE</code></span></p></td>
145
+ <td>the item is invisible, but it is still allocated
146
+ space in layout container items.
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <td><p><a name="GOO-CANVAS-ITEM-VISIBLE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ITEM_VISIBLE</code></span></p></td>
151
+ <td>the item is visible.
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td><p><a name="GOO-CANVAS-ITEM-VISIBLE-ABOVE-THRESHOLD:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ITEM_VISIBLE_ABOVE_THRESHOLD</code></span></p></td>
156
+ <td>the item is visible when the
157
+ canvas scale setting is greater than or equal to the item's visibility
158
+ threshold setting.
159
+ </td>
160
+ </tr>
161
+ </tbody>
162
+ </table></div>
163
+ </div>
164
+ <hr>
165
+ <div class="refsect2" title="enum GooCanvasPointerEvents">
166
+ <a name="GooCanvasPointerEvents"></a><h3>enum GooCanvasPointerEvents</h3>
167
+ <pre class="programlisting">typedef enum
168
+ {
169
+ GOO_CANVAS_EVENTS_VISIBLE_MASK = 1 &lt;&lt; 0,
170
+ GOO_CANVAS_EVENTS_PAINTED_MASK = 1 &lt;&lt; 1,
171
+ GOO_CANVAS_EVENTS_FILL_MASK = 1 &lt;&lt; 2,
172
+ GOO_CANVAS_EVENTS_STROKE_MASK = 1 &lt;&lt; 3,
173
+
174
+ GOO_CANVAS_EVENTS_NONE = 0,
175
+ GOO_CANVAS_EVENTS_VISIBLE_PAINTED = GOO_CANVAS_EVENTS_VISIBLE_MASK | GOO_CANVAS_EVENTS_PAINTED_MASK | GOO_CANVAS_EVENTS_FILL_MASK | GOO_CANVAS_EVENTS_STROKE_MASK,
176
+ GOO_CANVAS_EVENTS_VISIBLE_FILL = GOO_CANVAS_EVENTS_VISIBLE_MASK | GOO_CANVAS_EVENTS_FILL_MASK,
177
+ GOO_CANVAS_EVENTS_VISIBLE_STROKE = GOO_CANVAS_EVENTS_VISIBLE_MASK | GOO_CANVAS_EVENTS_STROKE_MASK,
178
+ GOO_CANVAS_EVENTS_VISIBLE = GOO_CANVAS_EVENTS_VISIBLE_MASK | GOO_CANVAS_EVENTS_FILL_MASK | GOO_CANVAS_EVENTS_STROKE_MASK,
179
+ GOO_CANVAS_EVENTS_PAINTED = GOO_CANVAS_EVENTS_PAINTED_MASK | GOO_CANVAS_EVENTS_FILL_MASK | GOO_CANVAS_EVENTS_STROKE_MASK,
180
+ GOO_CANVAS_EVENTS_FILL = GOO_CANVAS_EVENTS_FILL_MASK,
181
+ GOO_CANVAS_EVENTS_STROKE = GOO_CANVAS_EVENTS_STROKE_MASK,
182
+ GOO_CANVAS_EVENTS_ALL = GOO_CANVAS_EVENTS_FILL_MASK | GOO_CANVAS_EVENTS_STROKE_MASK
183
+ } GooCanvasPointerEvents;
184
+ </pre>
185
+ <p>
186
+ Specifies when an item receives pointer events such as mouse clicks.
187
+ </p>
188
+ <div class="variablelist"><table border="0">
189
+ <col align="left" valign="top">
190
+ <tbody>
191
+ <tr>
192
+ <td><p><a name="GOO-CANVAS-EVENTS-VISIBLE-MASK:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_VISIBLE_MASK</code></span></p></td>
193
+ <td>a mask indicating that the item only
194
+ receives events when it is visible.
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <td><p><a name="GOO-CANVAS-EVENTS-PAINTED-MASK:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_PAINTED_MASK</code></span></p></td>
199
+ <td>a mask indicating that the item only
200
+ receives events when the specified parts of it are painted.
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <td><p><a name="GOO-CANVAS-EVENTS-FILL-MASK:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_FILL_MASK</code></span></p></td>
205
+ <td>a mask indicating that the filled part of
206
+ the item receives events.
207
+ </td>
208
+ </tr>
209
+ <tr>
210
+ <td><p><a name="GOO-CANVAS-EVENTS-STROKE-MASK:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_STROKE_MASK</code></span></p></td>
211
+ <td>a mask indicating that the stroked part
212
+ of the item receives events.
213
+ </td>
214
+ </tr>
215
+ <tr>
216
+ <td><p><a name="GOO-CANVAS-EVENTS-NONE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_NONE</code></span></p></td>
217
+ <td>the item doesn't receive events at all.
218
+ </td>
219
+ </tr>
220
+ <tr>
221
+ <td><p><a name="GOO-CANVAS-EVENTS-VISIBLE-PAINTED:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_VISIBLE_PAINTED</code></span></p></td>
222
+ <td>the item receives events in its
223
+ painted areas when it is visible (the default).
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <td><p><a name="GOO-CANVAS-EVENTS-VISIBLE-FILL:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_VISIBLE_FILL</code></span></p></td>
228
+ <td>the item's interior receives events
229
+ when it is visible.
230
+ </td>
231
+ </tr>
232
+ <tr>
233
+ <td><p><a name="GOO-CANVAS-EVENTS-VISIBLE-STROKE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_VISIBLE_STROKE</code></span></p></td>
234
+ <td>the item's perimeter receives
235
+ events when it is visible.
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <td><p><a name="GOO-CANVAS-EVENTS-VISIBLE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_VISIBLE</code></span></p></td>
240
+ <td>the item receives events when it is visible,
241
+ whether it is painted or not.
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td><p><a name="GOO-CANVAS-EVENTS-PAINTED:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_PAINTED</code></span></p></td>
246
+ <td>the item receives events in its painted areas,
247
+ whether it is visible or not.
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td><p><a name="GOO-CANVAS-EVENTS-FILL:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_FILL</code></span></p></td>
252
+ <td>the item's interior receives events, whether it
253
+ is visible or painted or not.
254
+ </td>
255
+ </tr>
256
+ <tr>
257
+ <td><p><a name="GOO-CANVAS-EVENTS-STROKE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_STROKE</code></span></p></td>
258
+ <td>the item's perimeter receives events, whether
259
+ it is visible or painted or not.
260
+ </td>
261
+ </tr>
262
+ <tr>
263
+ <td><p><a name="GOO-CANVAS-EVENTS-ALL:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_EVENTS_ALL</code></span></p></td>
264
+ <td>the item's perimeter and interior receive events,
265
+ whether it is visible or painted or not.
266
+ </td>
267
+ </tr>
268
+ </tbody>
269
+ </table></div>
270
+ </div>
271
+ <hr>
272
+ <div class="refsect2" title="enum GooCanvasAnimateType">
273
+ <a name="GooCanvasAnimateType"></a><h3>enum GooCanvasAnimateType</h3>
274
+ <pre class="programlisting">typedef enum
275
+ {
276
+ GOO_CANVAS_ANIMATE_FREEZE,
277
+ GOO_CANVAS_ANIMATE_RESET,
278
+ GOO_CANVAS_ANIMATE_RESTART,
279
+ GOO_CANVAS_ANIMATE_BOUNCE
280
+ } GooCanvasAnimateType;
281
+ </pre>
282
+ <p>
283
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasAnimateType" title="enum GooCanvasAnimateType"><span class="type">GooCanvasAnimateType</span></a> is used to specify what happens when the end of an
284
+ animation is reached.
285
+ </p>
286
+ <div class="variablelist"><table border="0">
287
+ <col align="left" valign="top">
288
+ <tbody>
289
+ <tr>
290
+ <td><p><a name="GOO-CANVAS-ANIMATE-FREEZE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ANIMATE_FREEZE</code></span></p></td>
291
+ <td>the item remains in the final position.
292
+ </td>
293
+ </tr>
294
+ <tr>
295
+ <td><p><a name="GOO-CANVAS-ANIMATE-RESET:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ANIMATE_RESET</code></span></p></td>
296
+ <td>the item is moved back to the initial position.
297
+ </td>
298
+ </tr>
299
+ <tr>
300
+ <td><p><a name="GOO-CANVAS-ANIMATE-RESTART:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ANIMATE_RESTART</code></span></p></td>
301
+ <td>the animation is restarted from the initial
302
+ position.
303
+ </td>
304
+ </tr>
305
+ <tr>
306
+ <td><p><a name="GOO-CANVAS-ANIMATE-BOUNCE:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_ANIMATE_BOUNCE</code></span></p></td>
307
+ <td>the animation bounces back and forth between the
308
+ start and end positions.
309
+ </td>
310
+ </tr>
311
+ </tbody>
312
+ </table></div>
313
+ </div>
314
+ <hr>
315
+ <div class="refsect2" title="GooCanvasPoints">
316
+ <a name="GooCanvasPoints"></a><h3>GooCanvasPoints</h3>
317
+ <pre class="programlisting">typedef struct {
318
+ double *coords;
319
+ int num_points;
320
+ int ref_count;
321
+ } GooCanvasPoints;
322
+ </pre>
323
+ <p>
324
+ <span class="type">GooCairoPoints</span> represents an array of points.
325
+ </p>
326
+ <div class="variablelist"><table border="0">
327
+ <col align="left" valign="top">
328
+ <tbody>
329
+ <tr>
330
+ <td><p><span class="term"><span class="type">double</span> *<em class="structfield"><code><a name="GooCanvasPoints.coords"></a>coords</code></em>;</span></p></td>
331
+ <td>the coordinates of the points, in pairs.
332
+ </td>
333
+ </tr>
334
+ <tr>
335
+ <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="GooCanvasPoints.num-points"></a>num_points</code></em>;</span></p></td>
336
+ <td>the number of points.
337
+ </td>
338
+ </tr>
339
+ <tr>
340
+ <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="GooCanvasPoints.ref-count"></a>ref_count</code></em>;</span></p></td>
341
+ <td>the reference count of the struct.
342
+ </td>
343
+ </tr>
344
+ </tbody>
345
+ </table></div>
346
+ </div>
347
+ <hr>
348
+ <div class="refsect2" title="goo_canvas_points_new ()">
349
+ <a name="goo-canvas-points-new"></a><h3>goo_canvas_points_new ()</h3>
350
+ <pre class="programlisting"><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="returnvalue">GooCanvasPoints</span></a>* goo_canvas_points_new (<em class="parameter"><code><span class="type">int</span> num_points</code></em>);</pre>
351
+ <p>
352
+ Creates a new <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> struct with space for the given number of
353
+ points. It should be freed with <a class="link" href="goocanvas-GooCanvas-Types.html#goo-canvas-points-unref" title="goo_canvas_points_unref ()"><code class="function">goo_canvas_points_unref()</code></a>.
354
+ </p>
355
+ <div class="variablelist"><table border="0">
356
+ <col align="left" valign="top">
357
+ <tbody>
358
+ <tr>
359
+ <td><p><span class="term"><em class="parameter"><code>num_points</code></em> :</span></p></td>
360
+ <td>the number of points to create space for.
361
+ </td>
362
+ </tr>
363
+ <tr>
364
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
365
+ <td> a new <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> struct.
366
+ </td>
367
+ </tr>
368
+ </tbody>
369
+ </table></div>
370
+ </div>
371
+ <hr>
372
+ <div class="refsect2" title="goo_canvas_points_ref ()">
373
+ <a name="goo-canvas-points-ref"></a><h3>goo_canvas_points_ref ()</h3>
374
+ <pre class="programlisting"><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="returnvalue">GooCanvasPoints</span></a>* goo_canvas_points_ref (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> *points</code></em>);</pre>
375
+ <p>
376
+ Increments the reference count of the given <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> struct.
377
+ </p>
378
+ <div class="variablelist"><table border="0">
379
+ <col align="left" valign="top">
380
+ <tbody>
381
+ <tr>
382
+ <td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td>
383
+ <td>a <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> struct.
384
+ </td>
385
+ </tr>
386
+ <tr>
387
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
388
+ <td> the <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> struct.
389
+ </td>
390
+ </tr>
391
+ </tbody>
392
+ </table></div>
393
+ </div>
394
+ <hr>
395
+ <div class="refsect2" title="goo_canvas_points_unref ()">
396
+ <a name="goo-canvas-points-unref"></a><h3>goo_canvas_points_unref ()</h3>
397
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_points_unref (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> *points</code></em>);</pre>
398
+ <p>
399
+ Decrements the reference count of the given <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> struct,
400
+ freeing it if the reference count falls to zero.
401
+ </p>
402
+ <div class="variablelist"><table border="0">
403
+ <col align="left" valign="top">
404
+ <tbody><tr>
405
+ <td><p><span class="term"><em class="parameter"><code>points</code></em> :</span></p></td>
406
+ <td>a <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPoints" title="GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> struct.
407
+ </td>
408
+ </tr></tbody>
409
+ </table></div>
410
+ </div>
411
+ <hr>
412
+ <div class="refsect2" title="GooCanvasLineDash">
413
+ <a name="GooCanvasLineDash"></a><h3>GooCanvasLineDash</h3>
414
+ <pre class="programlisting">typedef struct {
415
+ int ref_count;
416
+ int num_dashes;
417
+ double *dashes;
418
+ double dash_offset;
419
+ } GooCanvasLineDash;
420
+ </pre>
421
+ <p>
422
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a> specifies a dash pattern to be used when drawing items.
423
+ </p>
424
+ <div class="variablelist"><table border="0">
425
+ <col align="left" valign="top">
426
+ <tbody>
427
+ <tr>
428
+ <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="GooCanvasLineDash.ref-count"></a>ref_count</code></em>;</span></p></td>
429
+ <td>the reference count of the struct.
430
+ </td>
431
+ </tr>
432
+ <tr>
433
+ <td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="GooCanvasLineDash.num-dashes"></a>num_dashes</code></em>;</span></p></td>
434
+ <td>the number of dashes and gaps between them.
435
+ </td>
436
+ </tr>
437
+ <tr>
438
+ <td><p><span class="term"><span class="type">double</span> *<em class="structfield"><code><a name="GooCanvasLineDash.dashes"></a>dashes</code></em>;</span></p></td>
439
+ <td>the sizes of each dash and gap.
440
+ </td>
441
+ </tr>
442
+ <tr>
443
+ <td><p><span class="term"><span class="type">double</span> <em class="structfield"><code><a name="GooCanvasLineDash.dash-offset"></a>dash_offset</code></em>;</span></p></td>
444
+ <td>the start offset into the dash pattern.
445
+ </td>
446
+ </tr>
447
+ </tbody>
448
+ </table></div>
449
+ </div>
450
+ <hr>
451
+ <div class="refsect2" title="goo_canvas_line_dash_new ()">
452
+ <a name="goo-canvas-line-dash-new"></a><h3>goo_canvas_line_dash_new ()</h3>
453
+ <pre class="programlisting"><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="returnvalue">GooCanvasLineDash</span></a>* goo_canvas_line_dash_new (<em class="parameter"><code><span class="type">gint</span> num_dashes</code></em>,
454
+ <em class="parameter"><code>...</code></em>);</pre>
455
+ <p>
456
+ Creates a new dash pattern.
457
+ </p>
458
+ <div class="variablelist"><table border="0">
459
+ <col align="left" valign="top">
460
+ <tbody>
461
+ <tr>
462
+ <td><p><span class="term"><em class="parameter"><code>num_dashes</code></em> :</span></p></td>
463
+ <td>the number of dashes and gaps in the pattern.
464
+ </td>
465
+ </tr>
466
+ <tr>
467
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
468
+ <td>the length of each dash and gap.
469
+ </td>
470
+ </tr>
471
+ <tr>
472
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
473
+ <td> a new dash pattern.
474
+ </td>
475
+ </tr>
476
+ </tbody>
477
+ </table></div>
478
+ </div>
479
+ <hr>
480
+ <div class="refsect2" title="goo_canvas_line_dash_newv ()">
481
+ <a name="goo-canvas-line-dash-newv"></a><h3>goo_canvas_line_dash_newv ()</h3>
482
+ <pre class="programlisting"><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="returnvalue">GooCanvasLineDash</span></a>* goo_canvas_line_dash_newv (<em class="parameter"><code><span class="type">gint</span> num_dashes</code></em>,
483
+ <em class="parameter"><code><span class="type">double</span> *dashes</code></em>);</pre>
484
+ <p>
485
+ Creates a new dash pattern. Takes ownership of the <em class="parameter"><code>dashes</code></em> vector.
486
+ </p>
487
+ <div class="variablelist"><table border="0">
488
+ <col align="left" valign="top">
489
+ <tbody>
490
+ <tr>
491
+ <td><p><span class="term"><em class="parameter"><code>num_dashes</code></em> :</span></p></td>
492
+ <td>the number of dashes and gaps in the pattern.
493
+ </td>
494
+ </tr>
495
+ <tr>
496
+ <td><p><span class="term"><em class="parameter"><code>dashes</code></em> :</span></p></td>
497
+ <td>a g_new-allocated vector of doubles, the length of each
498
+ dash and gap.
499
+ </td>
500
+ </tr>
501
+ <tr>
502
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
503
+ <td> a new dash pattern.
504
+ </td>
505
+ </tr>
506
+ </tbody>
507
+ </table></div>
508
+ </div>
509
+ <hr>
510
+ <div class="refsect2" title="goo_canvas_line_dash_ref ()">
511
+ <a name="goo-canvas-line-dash-ref"></a><h3>goo_canvas_line_dash_ref ()</h3>
512
+ <pre class="programlisting"><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="returnvalue">GooCanvasLineDash</span></a>* goo_canvas_line_dash_ref (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a> *dash</code></em>);</pre>
513
+ <p>
514
+ Increments the reference count of the dash pattern.
515
+ </p>
516
+ <div class="variablelist"><table border="0">
517
+ <col align="left" valign="top">
518
+ <tbody>
519
+ <tr>
520
+ <td><p><span class="term"><em class="parameter"><code>dash</code></em> :</span></p></td>
521
+ <td>a <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a>.
522
+ </td>
523
+ </tr>
524
+ <tr>
525
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
526
+ <td> the dash pattern.
527
+ </td>
528
+ </tr>
529
+ </tbody>
530
+ </table></div>
531
+ </div>
532
+ <hr>
533
+ <div class="refsect2" title="goo_canvas_line_dash_unref ()">
534
+ <a name="goo-canvas-line-dash-unref"></a><h3>goo_canvas_line_dash_unref ()</h3>
535
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_line_dash_unref (<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a> *dash</code></em>);</pre>
536
+ <p>
537
+ Decrements the reference count of the dash pattern. If it falls to 0
538
+ it is freed.
539
+ </p>
540
+ <div class="variablelist"><table border="0">
541
+ <col align="left" valign="top">
542
+ <tbody><tr>
543
+ <td><p><span class="term"><em class="parameter"><code>dash</code></em> :</span></p></td>
544
+ <td>a <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a>.
545
+ </td>
546
+ </tr></tbody>
547
+ </table></div>
548
+ </div>
549
+ <hr>
550
+ <div class="refsect2" title="enum GooCanvasPathCommandType">
551
+ <a name="GooCanvasPathCommandType"></a><h3>enum GooCanvasPathCommandType</h3>
552
+ <pre class="programlisting">typedef enum
553
+ {
554
+ /* Simple commands like moveto and lineto: MmZzLlHhVv. */
555
+ GOO_CANVAS_PATH_MOVE_TO,
556
+ GOO_CANVAS_PATH_CLOSE_PATH,
557
+ GOO_CANVAS_PATH_LINE_TO,
558
+ GOO_CANVAS_PATH_HORIZONTAL_LINE_TO,
559
+ GOO_CANVAS_PATH_VERTICAL_LINE_TO,
560
+
561
+ /* Bezier curve commands: CcSsQqTt. */
562
+ GOO_CANVAS_PATH_CURVE_TO,
563
+ GOO_CANVAS_PATH_SMOOTH_CURVE_TO,
564
+ GOO_CANVAS_PATH_QUADRATIC_CURVE_TO,
565
+ GOO_CANVAS_PATH_SMOOTH_QUADRATIC_CURVE_TO,
566
+
567
+ /* The elliptical arc commands: Aa. */
568
+ GOO_CANVAS_PATH_ELLIPTICAL_ARC
569
+ } GooCanvasPathCommandType;
570
+ </pre>
571
+ <p>
572
+ GooCanvasPathCommandType specifies the type of each command in the path.
573
+ See the path element in the <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">
574
+ Scalable Vector Graphics (SVG) specification</a> for more details.
575
+ </p>
576
+ <div class="variablelist"><table border="0">
577
+ <col align="left" valign="top">
578
+ <tbody>
579
+ <tr>
580
+ <td><p><a name="GOO-CANVAS-PATH-MOVE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_MOVE_TO</code></span></p></td>
581
+ <td>move to the given point.
582
+ </td>
583
+ </tr>
584
+ <tr>
585
+ <td><p><a name="GOO-CANVAS-PATH-CLOSE-PATH:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_CLOSE_PATH</code></span></p></td>
586
+ <td>close the current path, drawing a line from the
587
+ current position to the start of the path.
588
+ </td>
589
+ </tr>
590
+ <tr>
591
+ <td><p><a name="GOO-CANVAS-PATH-LINE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_LINE_TO</code></span></p></td>
592
+ <td>draw a line to the given point.
593
+ </td>
594
+ </tr>
595
+ <tr>
596
+ <td><p><a name="GOO-CANVAS-PATH-HORIZONTAL-LINE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_HORIZONTAL_LINE_TO</code></span></p></td>
597
+ <td>draw a horizontal line to the given
598
+ x coordinate.
599
+ </td>
600
+ </tr>
601
+ <tr>
602
+ <td><p><a name="GOO-CANVAS-PATH-VERTICAL-LINE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_VERTICAL_LINE_TO</code></span></p></td>
603
+ <td>draw a vertical line to the given y
604
+ coordinate.
605
+ </td>
606
+ </tr>
607
+ <tr>
608
+ <td><p><a name="GOO-CANVAS-PATH-CURVE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_CURVE_TO</code></span></p></td>
609
+ <td>draw a bezier curve using two control
610
+ points to the given point.
611
+ </td>
612
+ </tr>
613
+ <tr>
614
+ <td><p><a name="GOO-CANVAS-PATH-SMOOTH-CURVE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_SMOOTH_CURVE_TO</code></span></p></td>
615
+ <td>draw a bezier curve using a reflection
616
+ of the last control point of the last curve as the first control point,
617
+ and one new control point, to the given point.
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <td><p><a name="GOO-CANVAS-PATH-QUADRATIC-CURVE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_QUADRATIC_CURVE_TO</code></span></p></td>
622
+ <td>draw a quadratic bezier curve using
623
+ a single control point to the given point.
624
+ </td>
625
+ </tr>
626
+ <tr>
627
+ <td><p><a name="GOO-CANVAS-PATH-SMOOTH-QUADRATIC-CURVE-TO:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_SMOOTH_QUADRATIC_CURVE_TO</code></span></p></td>
628
+ <td>draw a quadratic bezier curve
629
+ using a reflection of the control point from the previous curve as the
630
+ control point, to the given point.
631
+ </td>
632
+ </tr>
633
+ <tr>
634
+ <td><p><a name="GOO-CANVAS-PATH-ELLIPTICAL-ARC:CAPS"></a><span class="term"><code class="literal">GOO_CANVAS_PATH_ELLIPTICAL_ARC</code></span></p></td>
635
+ <td>draw an elliptical arc, using the given
636
+ 2 radii, the x axis rotation, and the 2 flags to disambiguate the arc,
637
+ to the given point.
638
+ </td>
639
+ </tr>
640
+ </tbody>
641
+ </table></div>
642
+ </div>
643
+ <hr>
644
+ <div class="refsect2" title="union GooCanvasPathCommand">
645
+ <a name="GooCanvasPathCommand"></a><h3>union GooCanvasPathCommand</h3>
646
+ <pre class="programlisting"></pre>
647
+ <p>
648
+ GooCanvasPathCommand holds the data for each command in the path.
649
+ </p>
650
+ <p>
651
+ The <em class="parameter"><code>relative</code></em> flag specifies that the coordinates for the command are
652
+ relative to the current point. Otherwise they are assumed to be absolute
653
+ coordinates.
654
+ </p>
655
+ </div>
656
+ <hr>
657
+ <div class="refsect2" title="goo_canvas_parse_path_data ()">
658
+ <a name="goo-canvas-parse-path-data"></a><h3>goo_canvas_parse_path_data ()</h3>
659
+ <pre class="programlisting"><span class="returnvalue">GArray</span>* goo_canvas_parse_path_data (<em class="parameter"><code>const <span class="type">gchar</span> *path_data</code></em>);</pre>
660
+ <p>
661
+ Parses the given SVG path specification string.
662
+ </p>
663
+ <div class="variablelist"><table border="0">
664
+ <col align="left" valign="top">
665
+ <tbody>
666
+ <tr>
667
+ <td><p><span class="term"><em class="parameter"><code>path_data</code></em> :</span></p></td>
668
+ <td>the sequence of path commands, specified as a string using the
669
+ same syntax as in the <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">Scalable
670
+ Vector Graphics (SVG)</a> path element.
671
+ </td>
672
+ </tr>
673
+ <tr>
674
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
675
+ <td> a <span class="type">GArray</span> of <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPathCommand" title="union GooCanvasPathCommand"><span class="type">GooCanvasPathCommand</span></a> elements.
676
+ </td>
677
+ </tr>
678
+ </tbody>
679
+ </table></div>
680
+ </div>
681
+ <hr>
682
+ <div class="refsect2" title="goo_canvas_create_path ()">
683
+ <a name="goo-canvas-create-path"></a><h3>goo_canvas_create_path ()</h3>
684
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_create_path (<em class="parameter"><code><span class="type">GArray</span> *commands</code></em>,
685
+ <em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
686
+ <p>
687
+ Creates the path specified by the given <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPathCommand" title="union GooCanvasPathCommand"><span class="type">GooCanvasPathCommand</span></a> array.
688
+ </p>
689
+ <div class="variablelist"><table border="0">
690
+ <col align="left" valign="top">
691
+ <tbody>
692
+ <tr>
693
+ <td><p><span class="term"><em class="parameter"><code>commands</code></em> :</span></p></td>
694
+ <td>an array of <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPathCommand" title="union GooCanvasPathCommand"><span class="type">GooCanvasPathCommand</span></a>.
695
+ </td>
696
+ </tr>
697
+ <tr>
698
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
699
+ <td>a cairo context.
700
+ </td>
701
+ </tr>
702
+ </tbody>
703
+ </table></div>
704
+ </div>
705
+ <hr>
706
+ <div class="refsect2" title="GooCairoAntialias">
707
+ <a name="GooCairoAntialias"></a><h3>GooCairoAntialias</h3>
708
+ <pre class="programlisting">typedef cairo_antialias_t GooCairoAntialias;
709
+ </pre>
710
+ <p>
711
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoAntialias" title="GooCairoAntialias"><span class="type">GooCairoAntialias</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-antialias-t"><span class="type">cairo_antialias_t</span></a> type,
712
+ allowing it to be used for <span class="type">GObject</span> properties.
713
+ </p>
714
+ <p>
715
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-antialias-t"><span class="type">cairo_antialias_t</span></a> documentation.
716
+ </p>
717
+ </div>
718
+ <hr>
719
+ <div class="refsect2" title="GooCairoFillRule">
720
+ <a name="GooCairoFillRule"></a><h3>GooCairoFillRule</h3>
721
+ <pre class="programlisting">typedef cairo_fill_rule_t GooCairoFillRule;
722
+ </pre>
723
+ <p>
724
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoFillRule" title="GooCairoFillRule"><span class="type">GooCairoFillRule</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill-rule-t"><span class="type">cairo_fill_rule_t</span></a> type,
725
+ allowing it to be used for <span class="type">GObject</span> properties.
726
+ </p>
727
+ <p>
728
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill-rule-t"><span class="type">cairo_fill_rule_t</span></a> documentation.
729
+ </p>
730
+ </div>
731
+ <hr>
732
+ <div class="refsect2" title="GooCairoHintMetrics">
733
+ <a name="GooCairoHintMetrics"></a><h3>GooCairoHintMetrics</h3>
734
+ <pre class="programlisting">typedef cairo_hint_metrics_t GooCairoHintMetrics;
735
+ </pre>
736
+ <p>
737
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoHintMetrics" title="GooCairoHintMetrics"><span class="type">GooCairoHintMetrics</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-hint-metrics-t"><span class="type">cairo_hint_metrics_t</span></a> type,
738
+ allowing it to be used for <span class="type">GObject</span> properties.
739
+ </p>
740
+ <p>
741
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-hint-metrics-t"><span class="type">cairo_hint_metrics_t</span></a> documentation.
742
+ </p>
743
+ </div>
744
+ <hr>
745
+ <div class="refsect2" title="GooCairoLineCap">
746
+ <a name="GooCairoLineCap"></a><h3>GooCairoLineCap</h3>
747
+ <pre class="programlisting">typedef cairo_line_cap_t GooCairoLineCap;
748
+ </pre>
749
+ <p>
750
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineCap" title="GooCairoLineCap"><span class="type">GooCairoLineCap</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-line-cap-t"><span class="type">cairo_line_cap_t</span></a> type,
751
+ allowing it to be used for <span class="type">GObject</span> properties.
752
+ </p>
753
+ <p>
754
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-line-cap-t"><span class="type">cairo_line_cap_t</span></a> documentation.
755
+ </p>
756
+ </div>
757
+ <hr>
758
+ <div class="refsect2" title="GooCairoLineJoin">
759
+ <a name="GooCairoLineJoin"></a><h3>GooCairoLineJoin</h3>
760
+ <pre class="programlisting">typedef cairo_line_join_t GooCairoLineJoin;
761
+ </pre>
762
+ <p>
763
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineJoin" title="GooCairoLineJoin"><span class="type">GooCairoLineJoin</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-line-join-t"><span class="type">cairo_line_join_t</span></a> type,
764
+ allowing it to be used for <span class="type">GObject</span> properties.
765
+ </p>
766
+ <p>
767
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-line-join-t"><span class="type">cairo_line_join_t</span></a> documentation.
768
+ </p>
769
+ </div>
770
+ <hr>
771
+ <div class="refsect2" title="GooCairoOperator">
772
+ <a name="GooCairoOperator"></a><h3>GooCairoOperator</h3>
773
+ <pre class="programlisting">typedef cairo_operator_t GooCairoOperator;
774
+ </pre>
775
+ <p>
776
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoOperator" title="GooCairoOperator"><span class="type">GooCairoOperator</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-operator-t"><span class="type">cairo_operator_t</span></a> type,
777
+ allowing it to be used for <span class="type">GObject</span> properties.
778
+ </p>
779
+ <p>
780
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-operator-t"><span class="type">cairo_operator_t</span></a> documentation.
781
+ </p>
782
+ </div>
783
+ <hr>
784
+ <div class="refsect2" title="GooCairoMatrix">
785
+ <a name="GooCairoMatrix"></a><h3>GooCairoMatrix</h3>
786
+ <pre class="programlisting">typedef cairo_matrix_t GooCairoMatrix;
787
+ </pre>
788
+ <p>
789
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoMatrix" title="GooCairoMatrix"><span class="type">GooCairoMatrix</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> type,
790
+ allowing it to be used for <span class="type">GObject</span> properties.
791
+ </p>
792
+ <p>
793
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> documentation.
794
+ </p>
795
+ </div>
796
+ <hr>
797
+ <div class="refsect2" title="GooCairoPattern">
798
+ <a name="GooCairoPattern"></a><h3>GooCairoPattern</h3>
799
+ <pre class="programlisting">typedef cairo_pattern_t GooCairoPattern;
800
+ </pre>
801
+ <p>
802
+ <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a> is simply a wrapper for the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> type,
803
+ allowing it to be used for <span class="type">GObject</span> properties.
804
+ </p>
805
+ <p>
806
+ See the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> documentation.
807
+ </p>
808
+ </div>
809
+ </div>
810
+ </div>
811
+ <div class="footer">
812
+ <hr>
813
+ Generated by GTK-Doc V1.14</div>
814
+ </body>
815
+ </html>