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,279 @@
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>GooCanvasPath</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="ch03.html" title="Standard Canvas Items">
9
+ <link rel="prev" href="GooCanvasImage.html" title="GooCanvasImage">
10
+ <link rel="next" href="GooCanvasPolyline.html" title="GooCanvasPolyline">
11
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="GooCanvasImage.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GooCanvas Reference Manual</th>
21
+ <td><a accesskey="n" href="GooCanvasPolyline.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#GooCanvasPath.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasPath.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasPath.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GooCanvasPath.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
31
+  | 
32
+ <a href="#GooCanvasPath.properties" class="shortcut">Properties</a>
33
+ </td></tr>
34
+ </table>
35
+ <div class="refentry" title="GooCanvasPath">
36
+ <a name="GooCanvasPath"></a><div class="titlepage"></div>
37
+ <div class="refnamediv"><table width="100%"><tr>
38
+ <td valign="top">
39
+ <h2><span class="refentrytitle"><a name="GooCanvasPath.top_of_page"></a>GooCanvasPath</span></h2>
40
+ <p>GooCanvasPath — a path item (a series of lines and curves).</p>
41
+ </td>
42
+ <td valign="top" align="right"></td>
43
+ </tr></table></div>
44
+ <div class="refsynopsisdiv" title="Synopsis">
45
+ <a name="GooCanvasPath.synopsis"></a><h2>Synopsis</h2>
46
+ <pre class="synopsis"> <a class="link" href="GooCanvasPath.html#GooCanvasPath-struct" title="GooCanvasPath">GooCanvasPath</a>;
47
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasPath.html#goo-canvas-path-new" title="goo_canvas_path_new ()">goo_canvas_path_new</a> (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
48
+ <em class="parameter"><code>const <span class="type">gchar</span> *path_data</code></em>,
49
+ <em class="parameter"><code>...</code></em>);
50
+ </pre>
51
+ </div>
52
+ <div class="refsect1" title="Object Hierarchy">
53
+ <a name="GooCanvasPath.object-hierarchy"></a><h2>Object Hierarchy</h2>
54
+ <pre class="synopsis">
55
+ GObject
56
+ +----<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>
57
+ +----GooCanvasPath
58
+ </pre>
59
+ </div>
60
+ <div class="refsect1" title="Implemented Interfaces">
61
+ <a name="GooCanvasPath.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
62
+ <p>
63
+ GooCanvasPath implements
64
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
65
+ </div>
66
+ <div class="refsect1" title="Properties">
67
+ <a name="GooCanvasPath.properties"></a><h2>Properties</h2>
68
+ <pre class="synopsis">
69
+ "<a class="link" href="GooCanvasPath.html#GooCanvasPath--data" title='The "data" property'>data</a>" <span class="type">gchar</span>* : Write
70
+ "<a class="link" href="GooCanvasPath.html#GooCanvasPath--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
71
+ "<a class="link" href="GooCanvasPath.html#GooCanvasPath--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
72
+ "<a class="link" href="GooCanvasPath.html#GooCanvasPath--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
73
+ "<a class="link" href="GooCanvasPath.html#GooCanvasPath--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
74
+ </pre>
75
+ </div>
76
+ <div class="refsect1" title="Description">
77
+ <a name="GooCanvasPath.description"></a><h2>Description</h2>
78
+ <p>
79
+ GooCanvasPath represents a path item, which is a series of one or more
80
+ lines, bezier curves, or elliptical arcs.
81
+ </p>
82
+ <p>
83
+ It is a subclass of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> and so inherits all of the style
84
+ properties such as "stroke-color", "fill-color" and "line-width".
85
+ </p>
86
+ <p>
87
+ It also implements the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface, so you can use the
88
+ <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> functions such as <a class="link" href="GooCanvasItem.html#goo-canvas-item-raise" title="goo_canvas_item_raise ()"><code class="function">goo_canvas_item_raise()</code></a> and
89
+ <a class="link" href="GooCanvasItem.html#goo-canvas-item-rotate" title="goo_canvas_item_rotate ()"><code class="function">goo_canvas_item_rotate()</code></a>.
90
+ </p>
91
+ <p>
92
+ <a class="link" href="GooCanvasPath.html" title="GooCanvasPath"><span class="type">GooCanvasPath</span></a> uses the same path specification strings as the Scalable
93
+ Vector Graphics (SVG) path element. For details see the
94
+ <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">SVG specification</a>.
95
+ </p>
96
+ <p>
97
+ To create a <a class="link" href="GooCanvasPath.html" title="GooCanvasPath"><span class="type">GooCanvasPath</span></a> use <a class="link" href="GooCanvasPath.html#goo-canvas-path-new" title="goo_canvas_path_new ()"><code class="function">goo_canvas_path_new()</code></a>.
98
+ </p>
99
+ <p>
100
+ To get or set the properties of an existing <a class="link" href="GooCanvasPath.html" title="GooCanvasPath"><span class="type">GooCanvasPath</span></a>, use
101
+ <code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
102
+ </p>
103
+ </div>
104
+ <div class="refsect1" title="Details">
105
+ <a name="GooCanvasPath.details"></a><h2>Details</h2>
106
+ <div class="refsect2" title="GooCanvasPath">
107
+ <a name="GooCanvasPath-struct"></a><h3>GooCanvasPath</h3>
108
+ <pre class="programlisting">typedef struct _GooCanvasPath GooCanvasPath;</pre>
109
+ <p>
110
+ The <a class="link" href="GooCanvasPath.html#GooCanvasPath-struct" title="GooCanvasPath"><span class="type">GooCanvasPath</span></a> struct contains private data only.
111
+ </p>
112
+ </div>
113
+ <hr>
114
+ <div class="refsect2" title="goo_canvas_path_new ()">
115
+ <a name="goo-canvas-path-new"></a><h3>goo_canvas_path_new ()</h3>
116
+ <pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_path_new (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
117
+ <em class="parameter"><code>const <span class="type">gchar</span> *path_data</code></em>,
118
+ <em class="parameter"><code>...</code></em>);</pre>
119
+ <p>
120
+ Creates a new path item.
121
+ </p>
122
+ <div class="variablelist"><table border="0">
123
+ <col align="left" valign="top">
124
+ <tbody>
125
+ <tr>
126
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
127
+ <td>the parent item, or <code class="literal">NULL</code>. If a parent is specified, it will assume
128
+ ownership of the item, and the item will automatically be freed when it is
129
+ removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
130
+ </td>
131
+ </tr>
132
+ <tr>
133
+ <td><p><span class="term"><em class="parameter"><code>path_data</code></em> :</span></p></td>
134
+ <td>the sequence of path commands, specified as a string using the
135
+ same syntax as in the <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">Scalable
136
+ Vector Graphics (SVG)</a> path element.
137
+ </td>
138
+ </tr>
139
+ <tr>
140
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
141
+ <td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
142
+ </td>
143
+ </tr>
144
+ <tr>
145
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
146
+ <td> a new path item.
147
+ </td>
148
+ </tr>
149
+ </tbody>
150
+ </table></div>
151
+ <p>
152
+ Here's an example showing how to create a red line from (20,20) to (40,40):
153
+ </p>
154
+ <p>
155
+ </p>
156
+ <div class="informalexample">
157
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
158
+ <tbody>
159
+ <tr>
160
+ <td class="listing_lines" align="right"><pre>1
161
+ 2
162
+ 3
163
+ 4</pre></td>
164
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItem.html">GooCanvasItem</a> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPath.html#goo-canvas-path-new">goo_canvas_path_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span>
165
+ <span class="normal"> </span><span class="string">"M 20 20 L 40 40"</span><span class="symbol">,</span>
166
+ <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
167
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
168
+ </tr>
169
+ </tbody>
170
+ </table>
171
+ </div>
172
+
173
+ <p>
174
+ </p>
175
+ <p>
176
+ This example creates a cubic bezier curve from (20,100) to (100,100) with
177
+ the control points at (20,50) and (100,50):
178
+ </p>
179
+ <p>
180
+ </p>
181
+ <div class="informalexample">
182
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
183
+ <tbody>
184
+ <tr>
185
+ <td class="listing_lines" align="right"><pre>1
186
+ 2
187
+ 3
188
+ 4</pre></td>
189
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItem.html">GooCanvasItem</a> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPath.html#goo-canvas-path-new">goo_canvas_path_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span>
190
+ <span class="normal"> </span><span class="string">"M20,100 C20,50 100,50 100,100"</span><span class="symbol">,</span>
191
+ <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
192
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
193
+ </tr>
194
+ </tbody>
195
+ </table>
196
+ </div>
197
+
198
+ <p>
199
+ </p>
200
+ <p>
201
+ This example uses an elliptical arc to create a filled circle with one
202
+ quarter missing:
203
+ </p>
204
+ <p>
205
+ </p>
206
+ <div class="informalexample">
207
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
208
+ <tbody>
209
+ <tr>
210
+ <td class="listing_lines" align="right"><pre>1
211
+ 2
212
+ 3
213
+ 4
214
+ 5
215
+ 6</pre></td>
216
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItem.html">GooCanvasItem</a> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPath.html#goo-canvas-path-new">goo_canvas_path_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span>
217
+ <span class="normal"> </span><span class="string">"M200,500 h-150 a150,150 0 1,0 150,-150 z"</span><span class="symbol">,</span>
218
+ <span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
219
+ <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
220
+ <span class="normal"> </span><span class="string">"line-width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">5.0</span><span class="symbol">,</span>
221
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
222
+ </tr>
223
+ </tbody>
224
+ </table>
225
+ </div>
226
+
227
+ <p>
228
+ </p>
229
+ </div>
230
+ </div>
231
+ <div class="refsect1" title="Property Details">
232
+ <a name="GooCanvasPath.property-details"></a><h2>Property Details</h2>
233
+ <div class="refsect2" title='The "data" property'>
234
+ <a name="GooCanvasPath--data"></a><h3>The <code class="literal">"data"</code> property</h3>
235
+ <pre class="programlisting"> "data" <span class="type">gchar</span>* : Write</pre>
236
+ <p>
237
+ The sequence of path commands, specified as a string using the same syntax
238
+ as in the <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">Scalable Vector
239
+ Graphics (SVG)</a> path element.
240
+ </p>
241
+ <p>Default value: NULL</p>
242
+ </div>
243
+ <hr>
244
+ <div class="refsect2" title='The "height" property'>
245
+ <a name="GooCanvasPath--height"></a><h3>The <code class="literal">"height"</code> property</h3>
246
+ <pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
247
+ <p>The height of the path.</p>
248
+ <p>Allowed values: &gt;= 0</p>
249
+ <p>Default value: 0</p>
250
+ </div>
251
+ <hr>
252
+ <div class="refsect2" title='The "width" property'>
253
+ <a name="GooCanvasPath--width"></a><h3>The <code class="literal">"width"</code> property</h3>
254
+ <pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
255
+ <p>The width of the path.</p>
256
+ <p>Allowed values: &gt;= 0</p>
257
+ <p>Default value: 0</p>
258
+ </div>
259
+ <hr>
260
+ <div class="refsect2" title='The "x" property'>
261
+ <a name="GooCanvasPath--x"></a><h3>The <code class="literal">"x"</code> property</h3>
262
+ <pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
263
+ <p>The x coordinate of the path.</p>
264
+ <p>Default value: 0</p>
265
+ </div>
266
+ <hr>
267
+ <div class="refsect2" title='The "y" property'>
268
+ <a name="GooCanvasPath--y"></a><h3>The <code class="literal">"y"</code> property</h3>
269
+ <pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
270
+ <p>The y coordinate of the path.</p>
271
+ <p>Default value: 0</p>
272
+ </div>
273
+ </div>
274
+ </div>
275
+ <div class="footer">
276
+ <hr>
277
+ Generated by GTK-Doc V1.14</div>
278
+ </body>
279
+ </html>
@@ -0,0 +1,280 @@
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>GooCanvasPathModel</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="ch04.html" title="Standard Canvas Item Models">
9
+ <link rel="prev" href="GooCanvasImageModel.html" title="GooCanvasImageModel">
10
+ <link rel="next" href="GooCanvasPolylineModel.html" title="GooCanvasPolylineModel">
11
+ <meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="GooCanvasImageModel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">GooCanvas Reference Manual</th>
21
+ <td><a accesskey="n" href="GooCanvasPolylineModel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr>
23
+ <tr><td colspan="5" class="shortcuts">
24
+ <a href="#GooCanvasPathModel.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasPathModel.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasPathModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+  | 
30
+ <a href="#GooCanvasPathModel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
31
+  | 
32
+ <a href="#GooCanvasPathModel.properties" class="shortcut">Properties</a>
33
+ </td></tr>
34
+ </table>
35
+ <div class="refentry" title="GooCanvasPathModel">
36
+ <a name="GooCanvasPathModel"></a><div class="titlepage"></div>
37
+ <div class="refnamediv"><table width="100%"><tr>
38
+ <td valign="top">
39
+ <h2><span class="refentrytitle"><a name="GooCanvasPathModel.top_of_page"></a>GooCanvasPathModel</span></h2>
40
+ <p>GooCanvasPathModel — a model for path items (a series of lines and curves).</p>
41
+ </td>
42
+ <td valign="top" align="right"></td>
43
+ </tr></table></div>
44
+ <div class="refsynopsisdiv" title="Synopsis">
45
+ <a name="GooCanvasPathModel.synopsis"></a><h2>Synopsis</h2>
46
+ <pre class="synopsis"> <a class="link" href="GooCanvasPathModel.html#GooCanvasPathModel-struct" title="GooCanvasPathModel">GooCanvasPathModel</a>;
47
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* <a class="link" href="GooCanvasPathModel.html#goo-canvas-path-model-new" title="goo_canvas_path_model_new ()">goo_canvas_path_model_new</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>,
48
+ <em class="parameter"><code>const <span class="type">gchar</span> *path_data</code></em>,
49
+ <em class="parameter"><code>...</code></em>);
50
+ </pre>
51
+ </div>
52
+ <div class="refsect1" title="Object Hierarchy">
53
+ <a name="GooCanvasPathModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
54
+ <pre class="synopsis">
55
+ GObject
56
+ +----<a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">GooCanvasItemModelSimple</a>
57
+ +----GooCanvasPathModel
58
+ </pre>
59
+ </div>
60
+ <div class="refsect1" title="Implemented Interfaces">
61
+ <a name="GooCanvasPathModel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
62
+ <p>
63
+ GooCanvasPathModel implements
64
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel">GooCanvasItemModel</a>.</p>
65
+ </div>
66
+ <div class="refsect1" title="Properties">
67
+ <a name="GooCanvasPathModel.properties"></a><h2>Properties</h2>
68
+ <pre class="synopsis">
69
+ "<a class="link" href="GooCanvasPathModel.html#GooCanvasPathModel--data" title='The "data" property'>data</a>" <span class="type">gchar</span>* : Write
70
+ "<a class="link" href="GooCanvasPathModel.html#GooCanvasPathModel--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
71
+ "<a class="link" href="GooCanvasPathModel.html#GooCanvasPathModel--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
72
+ "<a class="link" href="GooCanvasPathModel.html#GooCanvasPathModel--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
73
+ "<a class="link" href="GooCanvasPathModel.html#GooCanvasPathModel--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
74
+ </pre>
75
+ </div>
76
+ <div class="refsect1" title="Description">
77
+ <a name="GooCanvasPathModel.description"></a><h2>Description</h2>
78
+ <p>
79
+ GooCanvasPathModel represents a model for path items, which are a series of
80
+ one or more lines, bezier curves, or elliptical arcs.
81
+ </p>
82
+ <p>
83
+ It is a subclass of <a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple"><span class="type">GooCanvasItemModelSimple</span></a> and so inherits all of the
84
+ style properties such as "stroke-color", "fill-color" and "line-width".
85
+ </p>
86
+ <p>
87
+ It also implements the <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> interface, so you can use the
88
+ <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> functions such as <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-raise" title="goo_canvas_item_model_raise ()"><code class="function">goo_canvas_item_model_raise()</code></a> and
89
+ <a class="link" href="GooCanvasItemModel.html#goo-canvas-item-model-rotate" title="goo_canvas_item_model_rotate ()"><code class="function">goo_canvas_item_model_rotate()</code></a>.
90
+ </p>
91
+ <p>
92
+ <a class="link" href="GooCanvasPathModel.html" title="GooCanvasPathModel"><span class="type">GooCanvasPathModel</span></a> uses the same path specification strings as the Scalable
93
+ Vector Graphics (SVG) path element. For details see the
94
+ <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">SVG specification</a>.
95
+ </p>
96
+ <p>
97
+ To create a <a class="link" href="GooCanvasPathModel.html" title="GooCanvasPathModel"><span class="type">GooCanvasPathModel</span></a> use <a class="link" href="GooCanvasPathModel.html#goo-canvas-path-model-new" title="goo_canvas_path_model_new ()"><code class="function">goo_canvas_path_model_new()</code></a>.
98
+ </p>
99
+ <p>
100
+ To get or set the properties of an existing <a class="link" href="GooCanvasPathModel.html" title="GooCanvasPathModel"><span class="type">GooCanvasPathModel</span></a>, use
101
+ <code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
102
+ </p>
103
+ <p>
104
+ To respond to events such as mouse clicks on the path you must connect
105
+ to the signal handlers of the corresponding <a class="link" href="GooCanvasPath.html" title="GooCanvasPath"><span class="type">GooCanvasPath</span></a> objects.
106
+ (See <a class="link" href="GooCanvas.html#goo-canvas-get-item" title="goo_canvas_get_item ()"><code class="function">goo_canvas_get_item()</code></a> and <a class="link" href="GooCanvas.html#GooCanvas-item-created" title='The "item-created" signal'><span class="type">"item-created"</span></a>.)
107
+ </p>
108
+ </div>
109
+ <div class="refsect1" title="Details">
110
+ <a name="GooCanvasPathModel.details"></a><h2>Details</h2>
111
+ <div class="refsect2" title="GooCanvasPathModel">
112
+ <a name="GooCanvasPathModel-struct"></a><h3>GooCanvasPathModel</h3>
113
+ <pre class="programlisting">typedef struct _GooCanvasPathModel GooCanvasPathModel;</pre>
114
+ <p>
115
+ The <a class="link" href="GooCanvasPathModel.html#GooCanvasPathModel-struct" title="GooCanvasPathModel"><span class="type">GooCanvasPathModel</span></a> struct contains private data only.
116
+ </p>
117
+ </div>
118
+ <hr>
119
+ <div class="refsect2" title="goo_canvas_path_model_new ()">
120
+ <a name="goo-canvas-path-model-new"></a><h3>goo_canvas_path_model_new ()</h3>
121
+ <pre class="programlisting"><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* goo_canvas_path_model_new (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>,
122
+ <em class="parameter"><code>const <span class="type">gchar</span> *path_data</code></em>,
123
+ <em class="parameter"><code>...</code></em>);</pre>
124
+ <p>
125
+ Creates a new path model.
126
+ </p>
127
+ <div class="variablelist"><table border="0">
128
+ <col align="left" valign="top">
129
+ <tbody>
130
+ <tr>
131
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
132
+ <td>the parent model, or <code class="literal">NULL</code>. If a parent is specified, it will
133
+ assume ownership of the item, and the item will automatically be freed when
134
+ it is removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
135
+ </td>
136
+ </tr>
137
+ <tr>
138
+ <td><p><span class="term"><em class="parameter"><code>path_data</code></em> :</span></p></td>
139
+ <td>the sequence of path commands, specified as a string using the
140
+ same syntax as in the <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">Scalable
141
+ Vector Graphics (SVG)</a> path element.
142
+ </td>
143
+ </tr>
144
+ <tr>
145
+ <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
146
+ <td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
151
+ <td> a new path model.
152
+ </td>
153
+ </tr>
154
+ </tbody>
155
+ </table></div>
156
+ <p>
157
+ Here's an example showing how to create a red line from (20,20) to (40,40):
158
+ </p>
159
+ <p>
160
+ </p>
161
+ <div class="informalexample">
162
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
163
+ <tbody>
164
+ <tr>
165
+ <td class="listing_lines" align="right"><pre>1
166
+ 2
167
+ 3
168
+ 4</pre></td>
169
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItemModel.html">GooCanvasItemModel</a> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPathModel.html#goo-canvas-path-model-new">goo_canvas_path_model_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span>
170
+ <span class="normal"> </span><span class="string">"M 20 20 L 40 40"</span><span class="symbol">,</span>
171
+ <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
172
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
173
+ </tr>
174
+ </tbody>
175
+ </table>
176
+ </div>
177
+
178
+ <p>
179
+ </p>
180
+ <p>
181
+ This example creates a cubic bezier curve from (20,100) to (100,100) with
182
+ the control points at (20,50) and (100,50):
183
+ </p>
184
+ <p>
185
+ </p>
186
+ <div class="informalexample">
187
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
188
+ <tbody>
189
+ <tr>
190
+ <td class="listing_lines" align="right"><pre>1
191
+ 2
192
+ 3
193
+ 4</pre></td>
194
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItemModel.html">GooCanvasItemModel</a> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPathModel.html#goo-canvas-path-model-new">goo_canvas_path_model_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span>
195
+ <span class="normal"> </span><span class="string">"M20,100 C20,50 100,50 100,100"</span><span class="symbol">,</span>
196
+ <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
197
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
198
+ </tr>
199
+ </tbody>
200
+ </table>
201
+ </div>
202
+
203
+ <p>
204
+ </p>
205
+ <p>
206
+ This example uses an elliptical arc to create a filled circle with one
207
+ quarter missing:
208
+ </p>
209
+ <p>
210
+ </p>
211
+ <div class="informalexample">
212
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
213
+ <tbody>
214
+ <tr>
215
+ <td class="listing_lines" align="right"><pre>1
216
+ 2
217
+ 3
218
+ 4
219
+ 5
220
+ 6</pre></td>
221
+ <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItemModel.html">GooCanvasItemModel</a> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPathModel.html#goo-canvas-path-model-new">goo_canvas_path_model_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span>
222
+ <span class="normal"> </span><span class="string">"M200,500 h-150 a150,150 0 1,0 150,-150 z"</span><span class="symbol">,</span>
223
+ <span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
224
+ <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
225
+ <span class="normal"> </span><span class="string">"line-width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">5.0</span><span class="symbol">,</span>
226
+ <span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
227
+ </tr>
228
+ </tbody>
229
+ </table>
230
+ </div>
231
+
232
+ <p>
233
+ </p>
234
+ </div>
235
+ </div>
236
+ <div class="refsect1" title="Property Details">
237
+ <a name="GooCanvasPathModel.property-details"></a><h2>Property Details</h2>
238
+ <div class="refsect2" title='The "data" property'>
239
+ <a name="GooCanvasPathModel--data"></a><h3>The <code class="literal">"data"</code> property</h3>
240
+ <pre class="programlisting"> "data" <span class="type">gchar</span>* : Write</pre>
241
+ <p>The sequence of path commands.</p>
242
+ <p>Default value: NULL</p>
243
+ </div>
244
+ <hr>
245
+ <div class="refsect2" title='The "height" property'>
246
+ <a name="GooCanvasPathModel--height"></a><h3>The <code class="literal">"height"</code> property</h3>
247
+ <pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
248
+ <p>The height of the path.</p>
249
+ <p>Allowed values: &gt;= 0</p>
250
+ <p>Default value: 0</p>
251
+ </div>
252
+ <hr>
253
+ <div class="refsect2" title='The "width" property'>
254
+ <a name="GooCanvasPathModel--width"></a><h3>The <code class="literal">"width"</code> property</h3>
255
+ <pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
256
+ <p>The width of the path.</p>
257
+ <p>Allowed values: &gt;= 0</p>
258
+ <p>Default value: 0</p>
259
+ </div>
260
+ <hr>
261
+ <div class="refsect2" title='The "x" property'>
262
+ <a name="GooCanvasPathModel--x"></a><h3>The <code class="literal">"x"</code> property</h3>
263
+ <pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
264
+ <p>The x coordinate of the path.</p>
265
+ <p>Default value: 0</p>
266
+ </div>
267
+ <hr>
268
+ <div class="refsect2" title='The "y" property'>
269
+ <a name="GooCanvasPathModel--y"></a><h3>The <code class="literal">"y"</code> property</h3>
270
+ <pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
271
+ <p>The y coordinate of the path.</p>
272
+ <p>Default value: 0</p>
273
+ </div>
274
+ </div>
275
+ </div>
276
+ <div class="footer">
277
+ <hr>
278
+ Generated by GTK-Doc V1.14</div>
279
+ </body>
280
+ </html>