goocanvas 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +87 -0
- data/README +37 -0
- data/Rakefile +14 -0
- data/ext/goocanvas/depend +5 -0
- data/ext/goocanvas/extconf.rb +66 -0
- data/ext/goocanvas/goocanvas.def +2 -0
- data/ext/goocanvas/rbgoocairo.c +74 -0
- data/ext/goocanvas/rbgoocanvas.c +236 -0
- data/ext/goocanvas/rbgoocanvas.h +66 -0
- data/ext/goocanvas/rbgoocanvasellipse.c +50 -0
- data/ext/goocanvas/rbgoocanvasgroup.c +41 -0
- data/ext/goocanvas/rbgoocanvasimage.c +45 -0
- data/ext/goocanvas/rbgoocanvasitem.c +358 -0
- data/ext/goocanvas/rbgoocanvaspolyline.c +102 -0
- data/ext/goocanvas/rbgoocanvasrect.c +47 -0
- data/ext/goocanvas/rbgoocanvasstyle.c +61 -0
- data/ext/goocanvas/rbgoocanvastable.c +41 -0
- data/ext/goocanvas/rbgoocanvastext.c +58 -0
- data/ext/goocanvas/rbgoocanvaswidget.c +48 -0
- data/ext/goocanvas/rbgooutils.c +44 -0
- data/extconf.rb +49 -0
- data/lib/1.8/goocanvas.so +0 -0
- data/lib/1.9/goocanvas.so +0 -0
- data/lib/goocanvas.rb +145 -0
- data/sample/demo-arrowhead.rb +315 -0
- data/sample/demo-fifteen.rb +218 -0
- data/sample/demo-primitives.rb +720 -0
- data/sample/demo.rb +84 -0
- data/sample/flower.png +0 -0
- data/sample/scalability-demo.rb +130 -0
- data/sample/simple-demo.rb +35 -0
- data/sample/table-demo.rb +137 -0
- data/sample/toroid.png +0 -0
- data/sample/units-demo.rb +80 -0
- data/sample/widgets-demo.rb +197 -0
- data/vendor/local/bin/libgoocanvas-3.dll +0 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvas.h +334 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasatk.h +22 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasellipse.h +120 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasenumtypes.h +33 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgrid.h +153 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgroup.h +109 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasimage.h +121 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitem.h +479 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemmodel.h +275 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemsimple.h +247 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasmarshal.h +61 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspath.h +116 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspolyline.h +176 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasprivate.h +59 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasrect.h +121 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasstyle.h +110 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastable.h +139 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastext.h +133 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasutils.h +333 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaswidget.h +66 -0
- data/vendor/local/include/goocanvas-1.0.0/goocanvas/stamp-goocanvasmarshal.h +1 -0
- data/vendor/local/lib/libgoocanvas.a +0 -0
- data/vendor/local/lib/libgoocanvas.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/goocanvas.pc +13 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvas.html +1982 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipse.html +269 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipseModel.html +274 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGrid.html +469 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGridModel.html +476 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroup.html +183 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroupModel.html +184 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImage.html +247 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImageModel.html +252 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItem.html +3014 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModel.html +1764 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModelSimple.html +298 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemSimple.html +809 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPath.html +279 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPathModel.html +280 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolyline.html +369 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolylineModel.html +375 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRect.html +247 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRectModel.html +252 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasStyle.html +489 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTable.html +452 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTableModel.html +452 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasText.html +324 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTextModel.html +287 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch02.html +50 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch03.html +62 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch04.html +60 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/ch05.html +33 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-GooCanvas-Types.html +815 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-architecture.html +157 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-coordinates.html +106 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-creating-items.html +420 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-model-view-canvas.html +246 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-overview.html +106 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-simple-canvas.html +238 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-wysiwyg.html +84 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp +608 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp2 +639 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/index.html +138 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/index.sgml +814 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/goocanvas/up.png +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/dummy.sgml +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas-unused.sgml +0 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas.sgml +536 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipse.sgml +82 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipsemodel.sgml +82 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgrid.sgml +176 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgridmodel.sgml +176 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroup.sgml +58 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroupmodel.sgml +58 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimage.sgml +81 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimagemodel.sgml +81 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitem.sgml +773 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodel.sgml +490 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodelsimple.sgml +135 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemsimple.sgml +254 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspath.sgml +64 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspathmodel.sgml +64 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolyline.sgml +109 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolylinemodel.sgml +109 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrect.sgml +72 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrectmodel.sgml +72 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasstyle.sgml +186 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastable.sgml +158 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastablemodel.sgml +158 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastext.sgml +103 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastextmodel.sgml +93 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasutils.sgml +241 -0
- data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaswidget.sgml +73 -0
- metadata +218 -0
@@ -0,0 +1,247 @@
|
|
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>GooCanvasRect</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="GooCanvasPolyline.html" title="GooCanvasPolyline">
|
10
|
+
<link rel="next" href="GooCanvasText.html" title="GooCanvasText">
|
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="GooCanvasPolyline.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="GooCanvasText.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="#GooCanvasRect.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GooCanvasRect.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GooCanvasRect.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GooCanvasRect.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GooCanvasRect.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry" title="GooCanvasRect">
|
36
|
+
<a name="GooCanvasRect"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GooCanvasRect.top_of_page"></a>GooCanvasRect</span></h2>
|
40
|
+
<p>GooCanvasRect — a rectangle item.</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
45
|
+
<a name="GooCanvasRect.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="GooCanvasRect.html#GooCanvasRect-struct" title="GooCanvasRect">GooCanvasRect</a>;
|
47
|
+
<a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* <a class="link" href="GooCanvasRect.html#goo-canvas-rect-new" title="goo_canvas_rect_new ()">goo_canvas_rect_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><span class="type">gdouble</span> x</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
52
|
+
<em class="parameter"><code>...</code></em>);
|
53
|
+
</pre>
|
54
|
+
</div>
|
55
|
+
<div class="refsect1" title="Object Hierarchy">
|
56
|
+
<a name="GooCanvasRect.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
57
|
+
<pre class="synopsis">
|
58
|
+
GObject
|
59
|
+
+----<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>
|
60
|
+
+----GooCanvasRect
|
61
|
+
</pre>
|
62
|
+
</div>
|
63
|
+
<div class="refsect1" title="Implemented Interfaces">
|
64
|
+
<a name="GooCanvasRect.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
65
|
+
<p>
|
66
|
+
GooCanvasRect implements
|
67
|
+
<a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
|
68
|
+
</div>
|
69
|
+
<div class="refsect1" title="Properties">
|
70
|
+
<a name="GooCanvasRect.properties"></a><h2>Properties</h2>
|
71
|
+
<pre class="synopsis">
|
72
|
+
"<a class="link" href="GooCanvasRect.html#GooCanvasRect--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
|
73
|
+
"<a class="link" href="GooCanvasRect.html#GooCanvasRect--radius-x" title='The "radius-x" property'>radius-x</a>" <span class="type">gdouble</span> : Read / Write
|
74
|
+
"<a class="link" href="GooCanvasRect.html#GooCanvasRect--radius-y" title='The "radius-y" property'>radius-y</a>" <span class="type">gdouble</span> : Read / Write
|
75
|
+
"<a class="link" href="GooCanvasRect.html#GooCanvasRect--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
|
76
|
+
"<a class="link" href="GooCanvasRect.html#GooCanvasRect--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
|
77
|
+
"<a class="link" href="GooCanvasRect.html#GooCanvasRect--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
|
78
|
+
</pre>
|
79
|
+
</div>
|
80
|
+
<div class="refsect1" title="Description">
|
81
|
+
<a name="GooCanvasRect.description"></a><h2>Description</h2>
|
82
|
+
<p>
|
83
|
+
GooCanvasRect represents a rectangle item.
|
84
|
+
</p>
|
85
|
+
<p>
|
86
|
+
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
|
87
|
+
properties such as "stroke-color", "fill-color" and "line-width".
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
It also implements the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface, so you can use the
|
91
|
+
<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
|
92
|
+
<a class="link" href="GooCanvasItem.html#goo-canvas-item-rotate" title="goo_canvas_item_rotate ()"><code class="function">goo_canvas_item_rotate()</code></a>.
|
93
|
+
</p>
|
94
|
+
<p>
|
95
|
+
To create a <a class="link" href="GooCanvasRect.html" title="GooCanvasRect"><span class="type">GooCanvasRect</span></a> use <a class="link" href="GooCanvasRect.html#goo-canvas-rect-new" title="goo_canvas_rect_new ()"><code class="function">goo_canvas_rect_new()</code></a>.
|
96
|
+
</p>
|
97
|
+
<p>
|
98
|
+
To get or set the properties of an existing <a class="link" href="GooCanvasRect.html" title="GooCanvasRect"><span class="type">GooCanvasRect</span></a>, use
|
99
|
+
<code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
|
100
|
+
</p>
|
101
|
+
</div>
|
102
|
+
<div class="refsect1" title="Details">
|
103
|
+
<a name="GooCanvasRect.details"></a><h2>Details</h2>
|
104
|
+
<div class="refsect2" title="GooCanvasRect">
|
105
|
+
<a name="GooCanvasRect-struct"></a><h3>GooCanvasRect</h3>
|
106
|
+
<pre class="programlisting">typedef struct _GooCanvasRect GooCanvasRect;</pre>
|
107
|
+
<p>
|
108
|
+
The <a class="link" href="GooCanvasRect.html#GooCanvasRect-struct" title="GooCanvasRect"><span class="type">GooCanvasRect</span></a> struct contains private data only.
|
109
|
+
</p>
|
110
|
+
</div>
|
111
|
+
<hr>
|
112
|
+
<div class="refsect2" title="goo_canvas_rect_new ()">
|
113
|
+
<a name="goo-canvas-rect-new"></a><h3>goo_canvas_rect_new ()</h3>
|
114
|
+
<pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a>* goo_canvas_rect_new (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
|
115
|
+
<em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
|
116
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
117
|
+
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
118
|
+
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
119
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
120
|
+
<p>
|
121
|
+
Creates a new rectangle item.
|
122
|
+
</p>
|
123
|
+
<div class="variablelist"><table border="0">
|
124
|
+
<col align="left" valign="top">
|
125
|
+
<tbody>
|
126
|
+
<tr>
|
127
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
128
|
+
<td>the parent item, or <code class="literal">NULL</code>. If a parent is specified, it will assume
|
129
|
+
ownership of the item, and the item will automatically be freed when it is
|
130
|
+
removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
|
131
|
+
</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
135
|
+
<td>the x coordinate of the left of the rectangle.
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
140
|
+
<td>the y coordinate of the top of the rectangle.
|
141
|
+
</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
145
|
+
<td>the width of the rectangle.
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
150
|
+
<td>the height of the rectangle.
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
<tr>
|
154
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
155
|
+
<td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
160
|
+
<td> a new rectangle item.
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
</tbody>
|
164
|
+
</table></div>
|
165
|
+
<p>
|
166
|
+
Here's an example showing how to create a rectangle at (100,100) with a
|
167
|
+
width of 200 and a height of 100.
|
168
|
+
</p>
|
169
|
+
<p>
|
170
|
+
</p>
|
171
|
+
<div class="informalexample">
|
172
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
173
|
+
<tbody>
|
174
|
+
<tr>
|
175
|
+
<td class="listing_lines" align="right"><pre>1
|
176
|
+
2
|
177
|
+
3
|
178
|
+
4
|
179
|
+
5</pre></td>
|
180
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItem.html">GooCanvasItem</a> </span><span class="symbol">*</span><span class="normal">rect </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasRect.html#goo-canvas-rect-new">goo_canvas_rect_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
181
|
+
<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>
|
182
|
+
<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>
|
183
|
+
<span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
|
184
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
185
|
+
</tr>
|
186
|
+
</tbody>
|
187
|
+
</table>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
<p>
|
191
|
+
</p>
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
<div class="refsect1" title="Property Details">
|
195
|
+
<a name="GooCanvasRect.property-details"></a><h2>Property Details</h2>
|
196
|
+
<div class="refsect2" title='The "height" property'>
|
197
|
+
<a name="GooCanvasRect--height"></a><h3>The <code class="literal">"height"</code> property</h3>
|
198
|
+
<pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
|
199
|
+
<p>The height of the rectangle.</p>
|
200
|
+
<p>Allowed values: >= 0</p>
|
201
|
+
<p>Default value: 0</p>
|
202
|
+
</div>
|
203
|
+
<hr>
|
204
|
+
<div class="refsect2" title='The "radius-x" property'>
|
205
|
+
<a name="GooCanvasRect--radius-x"></a><h3>The <code class="literal">"radius-x"</code> property</h3>
|
206
|
+
<pre class="programlisting"> "radius-x" <span class="type">gdouble</span> : Read / Write</pre>
|
207
|
+
<p>The horizontal radius to use for rounded corners.</p>
|
208
|
+
<p>Allowed values: >= 0</p>
|
209
|
+
<p>Default value: 0</p>
|
210
|
+
</div>
|
211
|
+
<hr>
|
212
|
+
<div class="refsect2" title='The "radius-y" property'>
|
213
|
+
<a name="GooCanvasRect--radius-y"></a><h3>The <code class="literal">"radius-y"</code> property</h3>
|
214
|
+
<pre class="programlisting"> "radius-y" <span class="type">gdouble</span> : Read / Write</pre>
|
215
|
+
<p>The vertical radius to use for rounded corners.</p>
|
216
|
+
<p>Allowed values: >= 0</p>
|
217
|
+
<p>Default value: 0</p>
|
218
|
+
</div>
|
219
|
+
<hr>
|
220
|
+
<div class="refsect2" title='The "width" property'>
|
221
|
+
<a name="GooCanvasRect--width"></a><h3>The <code class="literal">"width"</code> property</h3>
|
222
|
+
<pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
|
223
|
+
<p>The width of the rectangle.</p>
|
224
|
+
<p>Allowed values: >= 0</p>
|
225
|
+
<p>Default value: 0</p>
|
226
|
+
</div>
|
227
|
+
<hr>
|
228
|
+
<div class="refsect2" title='The "x" property'>
|
229
|
+
<a name="GooCanvasRect--x"></a><h3>The <code class="literal">"x"</code> property</h3>
|
230
|
+
<pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
|
231
|
+
<p>The x coordinate of the rectangle.</p>
|
232
|
+
<p>Default value: 0</p>
|
233
|
+
</div>
|
234
|
+
<hr>
|
235
|
+
<div class="refsect2" title='The "y" property'>
|
236
|
+
<a name="GooCanvasRect--y"></a><h3>The <code class="literal">"y"</code> property</h3>
|
237
|
+
<pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
|
238
|
+
<p>The y coordinate of the rectangle.</p>
|
239
|
+
<p>Default value: 0</p>
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
</div>
|
243
|
+
<div class="footer">
|
244
|
+
<hr>
|
245
|
+
Generated by GTK-Doc V1.14</div>
|
246
|
+
</body>
|
247
|
+
</html>
|
@@ -0,0 +1,252 @@
|
|
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>GooCanvasRectModel</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="GooCanvasPolylineModel.html" title="GooCanvasPolylineModel">
|
10
|
+
<link rel="next" href="GooCanvasTextModel.html" title="GooCanvasTextModel">
|
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="GooCanvasPolylineModel.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="GooCanvasTextModel.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="#GooCanvasRectModel.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GooCanvasRectModel.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GooCanvasRectModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GooCanvasRectModel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GooCanvasRectModel.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry" title="GooCanvasRectModel">
|
36
|
+
<a name="GooCanvasRectModel"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GooCanvasRectModel.top_of_page"></a>GooCanvasRectModel</span></h2>
|
40
|
+
<p>GooCanvasRectModel — a model for rectangle items.</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
45
|
+
<a name="GooCanvasRectModel.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel-struct" title="GooCanvasRectModel">GooCanvasRectModel</a>;
|
47
|
+
<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* <a class="link" href="GooCanvasRectModel.html#goo-canvas-rect-model-new" title="goo_canvas_rect_model_new ()">goo_canvas_rect_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><span class="type">gdouble</span> x</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
51
|
+
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
52
|
+
<em class="parameter"><code>...</code></em>);
|
53
|
+
</pre>
|
54
|
+
</div>
|
55
|
+
<div class="refsect1" title="Object Hierarchy">
|
56
|
+
<a name="GooCanvasRectModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
57
|
+
<pre class="synopsis">
|
58
|
+
GObject
|
59
|
+
+----<a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">GooCanvasItemModelSimple</a>
|
60
|
+
+----GooCanvasRectModel
|
61
|
+
</pre>
|
62
|
+
</div>
|
63
|
+
<div class="refsect1" title="Implemented Interfaces">
|
64
|
+
<a name="GooCanvasRectModel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
65
|
+
<p>
|
66
|
+
GooCanvasRectModel implements
|
67
|
+
<a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel">GooCanvasItemModel</a>.</p>
|
68
|
+
</div>
|
69
|
+
<div class="refsect1" title="Properties">
|
70
|
+
<a name="GooCanvasRectModel.properties"></a><h2>Properties</h2>
|
71
|
+
<pre class="synopsis">
|
72
|
+
"<a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel--height" title='The "height" property'>height</a>" <span class="type">gdouble</span> : Read / Write
|
73
|
+
"<a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel--radius-x" title='The "radius-x" property'>radius-x</a>" <span class="type">gdouble</span> : Read / Write
|
74
|
+
"<a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel--radius-y" title='The "radius-y" property'>radius-y</a>" <span class="type">gdouble</span> : Read / Write
|
75
|
+
"<a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel--width" title='The "width" property'>width</a>" <span class="type">gdouble</span> : Read / Write
|
76
|
+
"<a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel--x" title='The "x" property'>x</a>" <span class="type">gdouble</span> : Read / Write
|
77
|
+
"<a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel--y" title='The "y" property'>y</a>" <span class="type">gdouble</span> : Read / Write
|
78
|
+
</pre>
|
79
|
+
</div>
|
80
|
+
<div class="refsect1" title="Description">
|
81
|
+
<a name="GooCanvasRectModel.description"></a><h2>Description</h2>
|
82
|
+
<p>
|
83
|
+
GooCanvasRectModel represents a model for rectangle items.
|
84
|
+
</p>
|
85
|
+
<p>
|
86
|
+
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
|
87
|
+
style properties such as "stroke-color", "fill-color" and "line-width".
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
It also implements the <a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> interface, so you can use the
|
91
|
+
<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
|
92
|
+
<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>.
|
93
|
+
</p>
|
94
|
+
<p>
|
95
|
+
To create a <a class="link" href="GooCanvasRectModel.html" title="GooCanvasRectModel"><span class="type">GooCanvasRectModel</span></a> use <a class="link" href="GooCanvasRectModel.html#goo-canvas-rect-model-new" title="goo_canvas_rect_model_new ()"><code class="function">goo_canvas_rect_model_new()</code></a>.
|
96
|
+
</p>
|
97
|
+
<p>
|
98
|
+
To get or set the properties of an existing <a class="link" href="GooCanvasRectModel.html" title="GooCanvasRectModel"><span class="type">GooCanvasRectModel</span></a>, use
|
99
|
+
<code class="function">g_object_get()</code> and <code class="function">g_object_set()</code>.
|
100
|
+
</p>
|
101
|
+
<p>
|
102
|
+
To respond to events such as mouse clicks on the rectangle you must connect
|
103
|
+
to the signal handlers of the corresponding <a class="link" href="GooCanvasRect.html" title="GooCanvasRect"><span class="type">GooCanvasRect</span></a> objects.
|
104
|
+
(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>.)
|
105
|
+
</p>
|
106
|
+
</div>
|
107
|
+
<div class="refsect1" title="Details">
|
108
|
+
<a name="GooCanvasRectModel.details"></a><h2>Details</h2>
|
109
|
+
<div class="refsect2" title="GooCanvasRectModel">
|
110
|
+
<a name="GooCanvasRectModel-struct"></a><h3>GooCanvasRectModel</h3>
|
111
|
+
<pre class="programlisting">typedef struct _GooCanvasRectModel GooCanvasRectModel;</pre>
|
112
|
+
<p>
|
113
|
+
The <a class="link" href="GooCanvasRectModel.html#GooCanvasRectModel-struct" title="GooCanvasRectModel"><span class="type">GooCanvasRectModel</span></a> struct contains private data only.
|
114
|
+
</p>
|
115
|
+
</div>
|
116
|
+
<hr>
|
117
|
+
<div class="refsect2" title="goo_canvas_rect_model_new ()">
|
118
|
+
<a name="goo-canvas-rect-model-new"></a><h3>goo_canvas_rect_model_new ()</h3>
|
119
|
+
<pre class="programlisting"><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="returnvalue">GooCanvasItemModel</span></a>* goo_canvas_rect_model_new (<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *parent</code></em>,
|
120
|
+
<em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
|
121
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
122
|
+
<em class="parameter"><code><span class="type">gdouble</span> width</code></em>,
|
123
|
+
<em class="parameter"><code><span class="type">gdouble</span> height</code></em>,
|
124
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
125
|
+
<p>
|
126
|
+
Creates a new rectangle item.
|
127
|
+
</p>
|
128
|
+
<div class="variablelist"><table border="0">
|
129
|
+
<col align="left" valign="top">
|
130
|
+
<tbody>
|
131
|
+
<tr>
|
132
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
133
|
+
<td>the parent model, or <code class="literal">NULL</code>. If a parent is specified, it will
|
134
|
+
assume ownership of the item, and the item will automatically be freed when
|
135
|
+
it is removed from the parent. Otherwise call <code class="function">g_object_unref()</code> to free it.
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
140
|
+
<td>the x coordinate of the left of the rectangle.
|
141
|
+
</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
145
|
+
<td>the y coordinate of the top of the rectangle.
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
150
|
+
<td>the width of the rectangle.
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
<tr>
|
154
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
155
|
+
<td>the height of the rectangle.
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
160
|
+
<td>optional pairs of property names and values, and a terminating <code class="literal">NULL</code>.
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
165
|
+
<td> a new rectangle model.
|
166
|
+
</td>
|
167
|
+
</tr>
|
168
|
+
</tbody>
|
169
|
+
</table></div>
|
170
|
+
<p>
|
171
|
+
Here's an example showing how to create a rectangle at (100,100) with a
|
172
|
+
width of 200 and a height of 100.
|
173
|
+
</p>
|
174
|
+
<p>
|
175
|
+
</p>
|
176
|
+
<div class="informalexample">
|
177
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
178
|
+
<tbody>
|
179
|
+
<tr>
|
180
|
+
<td class="listing_lines" align="right"><pre>1
|
181
|
+
2
|
182
|
+
3
|
183
|
+
4
|
184
|
+
5</pre></td>
|
185
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GooCanvasItemModel.html">GooCanvasItemModel</a> </span><span class="symbol">*</span><span class="normal">rect </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasRectModel.html#goo-canvas-rect-model-new">goo_canvas_rect_model_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
|
186
|
+
<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>
|
187
|
+
<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>
|
188
|
+
<span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
|
189
|
+
<span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
190
|
+
</tr>
|
191
|
+
</tbody>
|
192
|
+
</table>
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<p>
|
196
|
+
</p>
|
197
|
+
</div>
|
198
|
+
</div>
|
199
|
+
<div class="refsect1" title="Property Details">
|
200
|
+
<a name="GooCanvasRectModel.property-details"></a><h2>Property Details</h2>
|
201
|
+
<div class="refsect2" title='The "height" property'>
|
202
|
+
<a name="GooCanvasRectModel--height"></a><h3>The <code class="literal">"height"</code> property</h3>
|
203
|
+
<pre class="programlisting"> "height" <span class="type">gdouble</span> : Read / Write</pre>
|
204
|
+
<p>The height of the rectangle.</p>
|
205
|
+
<p>Allowed values: >= 0</p>
|
206
|
+
<p>Default value: 0</p>
|
207
|
+
</div>
|
208
|
+
<hr>
|
209
|
+
<div class="refsect2" title='The "radius-x" property'>
|
210
|
+
<a name="GooCanvasRectModel--radius-x"></a><h3>The <code class="literal">"radius-x"</code> property</h3>
|
211
|
+
<pre class="programlisting"> "radius-x" <span class="type">gdouble</span> : Read / Write</pre>
|
212
|
+
<p>The horizontal radius to use for rounded corners.</p>
|
213
|
+
<p>Allowed values: >= 0</p>
|
214
|
+
<p>Default value: 0</p>
|
215
|
+
</div>
|
216
|
+
<hr>
|
217
|
+
<div class="refsect2" title='The "radius-y" property'>
|
218
|
+
<a name="GooCanvasRectModel--radius-y"></a><h3>The <code class="literal">"radius-y"</code> property</h3>
|
219
|
+
<pre class="programlisting"> "radius-y" <span class="type">gdouble</span> : Read / Write</pre>
|
220
|
+
<p>The vertical radius to use for rounded corners.</p>
|
221
|
+
<p>Allowed values: >= 0</p>
|
222
|
+
<p>Default value: 0</p>
|
223
|
+
</div>
|
224
|
+
<hr>
|
225
|
+
<div class="refsect2" title='The "width" property'>
|
226
|
+
<a name="GooCanvasRectModel--width"></a><h3>The <code class="literal">"width"</code> property</h3>
|
227
|
+
<pre class="programlisting"> "width" <span class="type">gdouble</span> : Read / Write</pre>
|
228
|
+
<p>The width of the rectangle.</p>
|
229
|
+
<p>Allowed values: >= 0</p>
|
230
|
+
<p>Default value: 0</p>
|
231
|
+
</div>
|
232
|
+
<hr>
|
233
|
+
<div class="refsect2" title='The "x" property'>
|
234
|
+
<a name="GooCanvasRectModel--x"></a><h3>The <code class="literal">"x"</code> property</h3>
|
235
|
+
<pre class="programlisting"> "x" <span class="type">gdouble</span> : Read / Write</pre>
|
236
|
+
<p>The x coordinate of the rectangle.</p>
|
237
|
+
<p>Default value: 0</p>
|
238
|
+
</div>
|
239
|
+
<hr>
|
240
|
+
<div class="refsect2" title='The "y" property'>
|
241
|
+
<a name="GooCanvasRectModel--y"></a><h3>The <code class="literal">"y"</code> property</h3>
|
242
|
+
<pre class="programlisting"> "y" <span class="type">gdouble</span> : Read / Write</pre>
|
243
|
+
<p>The y coordinate of the rectangle.</p>
|
244
|
+
<p>Default value: 0</p>
|
245
|
+
</div>
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
<div class="footer">
|
249
|
+
<hr>
|
250
|
+
Generated by GTK-Doc V1.14</div>
|
251
|
+
</body>
|
252
|
+
</html>
|