25
25
<th width="100%" align="center">GooCanvas Reference Manual</th>
26
26
<td><a accesskey="n" href="GooCanvasStyle.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2587873" class="shortcut">Top</a>
30
<a href="#id2622753" class="shortcut">Description</a>
32
<a href="#id2613394" class="shortcut">Object Hierarchy</a>
34
<a href="#id2632833" class="shortcut">Implemented Interfaces</a>
36
<a href="#id2632854" class="shortcut">Properties</a></nobr></td></tr>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3049226" class="shortcut">Top</a>
30
<a href="#id3091236" class="shortcut">Description</a>
32
<a href="#id3052278" class="shortcut">Object Hierarchy</a>
34
<a href="#id3077985" class="shortcut">Implemented Interfaces</a>
36
<a href="#id3078006" class="shortcut">Properties</a></nobr></td></tr>
38
38
<div class="refentry" lang="en">
39
39
<a name="GooCanvasItemModelSimple"></a><div class="titlepage"></div>
40
40
<div class="refnamediv"><table width="100%"><tr>
43
<a name="id2587873"></a><span class="refentrytitle">GooCanvasItemModelSimple</span>
43
<a name="id3049226"></a><span class="refentrytitle">GooCanvasItemModelSimple</span>
45
45
<p>GooCanvasItemModelSimple — the base class for the standard canvas item models.</p>
77
77
<div class="refsect1" lang="en">
78
<a name="id2632833"></a><h2>Implemented Interfaces</h2>
78
<a name="id3077985"></a><h2>Implemented Interfaces</h2>
80
80
GooCanvasItemModelSimple implements
81
81
<a href="goocanvas-goocanvasitemmodel.html#GooCanvasItemModel">GooCanvasItemModel</a>.</p>
83
83
<div class="refsect1" lang="en">
84
<a name="id2632854"></a><h2>Properties</h2>
84
<a name="id3078006"></a><h2>Properties</h2>
85
85
<pre class="synopsis">
87
87
"<a href="GooCanvasItemModelSimple.html#GooCanvasItemModelSimple--antialias">antialias</a>" GooCairoAntialias : Read / Write
150
151
<div class="refsect1" lang="en">
151
<a name="id2622821"></a><h2>Details</h2>
152
<a name="id3091304"></a><h2>Details</h2>
152
153
<div class="refsect2" lang="en">
153
<a name="id2628972"></a><h3>
154
<a name="id3091314"></a><h3>
154
155
<a name="GooCanvasItemModelSimple-struct"></a>GooCanvasItemModelSimple</h3>
155
<a class="indexterm" name="id2628983"></a><pre class="programlisting">typedef struct {
156
<a class="indexterm" name="id3091326"></a><pre class="programlisting">typedef struct {
156
157
GooCanvasItemModel *parent;
157
158
GooCanvasItemSimpleData simple_data;
158
159
} GooCanvasItemModelSimple;
183
184
<div class="refsect1" lang="en">
184
<a name="id2629060"></a><h2>Property Details</h2>
185
<a name="id3091402"></a><h2>Property Details</h2>
185
186
<div class="refsect2" lang="en">
186
<a name="id2629070"></a><h3>
187
<a name="id3091413"></a><h3>
187
188
<a name="GooCanvasItemModelSimple--antialias"></a>The "<code class="literal">antialias</code>" property</h3>
188
<a class="indexterm" name="id2629084"></a><pre class="programlisting"> "antialias" GooCairoAntialias : Read / Write</pre>
189
<a class="indexterm" name="id3091429"></a><pre class="programlisting"> "antialias" GooCairoAntialias : Read / Write</pre>
189
190
<p>The antialiasing mode to use.</p>
190
<p>Default value: CAIRO_ANTIALIAS_DEFAULT</p>
191
<p>Default value: CAIRO_ANTIALIAS_GRAY</p>
193
194
<div class="refsect2" lang="en">
194
<a name="id2629110"></a><h3>
195
<a name="id3080298"></a><h3>
195
196
<a name="GooCanvasItemModelSimple--clip-fill-rule"></a>The "<code class="literal">clip-fill-rule</code>" property</h3>
196
<a class="indexterm" name="id2629127"></a><pre class="programlisting"> "clip-fill-rule" GooCairoFillRule : Read / Write</pre>
197
<a class="indexterm" name="id3080314"></a><pre class="programlisting"> "clip-fill-rule" GooCairoFillRule : Read / Write</pre>
197
198
<p>The fill rule used to determine which parts of the item are clipped.</p>
198
199
<p>Default value: CAIRO_FILL_RULE_WINDING</p>
201
202
<div class="refsect2" lang="en">
202
<a name="id2629154"></a><h3>
203
<a name="id3080341"></a><h3>
203
204
<a name="GooCanvasItemModelSimple--clip-path"></a>The "<code class="literal">clip-path</code>" property</h3>
204
<a class="indexterm" name="id2629170"></a><pre class="programlisting"> "clip-path" <a
205
<a class="indexterm" name="id3080357"></a><pre class="programlisting"> "clip-path" <a
205
206
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
206
207
>gchararray</a> : Write</pre>
218
219
<div class="refsect2" lang="en">
219
<a name="id2629208"></a><h3>
220
<a name="id3080396"></a><h3>
220
221
<a name="GooCanvasItemModelSimple--fill-color"></a>The "<code class="literal">fill-color</code>" property</h3>
221
<a class="indexterm" name="id2607232"></a><pre class="programlisting"> "fill-color" <a
222
<a class="indexterm" name="id3080412"></a><pre class="programlisting"> "fill-color" <a
222
223
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
223
224
>gchararray</a> : Write</pre>
224
<p>The color to use to paint the interior of the item.</p>
225
<p>The color to use to paint the interior of the item. To disable painting set the 'fill-pattern' property to NULL.</p>
225
226
<p>Default value: NULL</p>
228
229
<div class="refsect2" lang="en">
229
<a name="id2607259"></a><h3>
230
<a name="id3080440"></a><h3>
230
231
<a name="GooCanvasItemModelSimple--fill-color-rgba"></a>The "<code class="literal">fill-color-rgba</code>" property</h3>
231
<a class="indexterm" name="id2607275"></a><pre class="programlisting"> "fill-color-rgba" <a
232
<a class="indexterm" name="id3080456"></a><pre class="programlisting"> "fill-color-rgba" <a
232
233
href="../glib/glib-Basic-Types.html#guint"
233
234
>guint</a> : Write</pre>
234
<p>The color to use to paint the interior of the item, specified as a 32-bit integer value.</p>
235
<p>The color to use to paint the interior of the item, specified as a 32-bit integer value. To disable painting set the 'fill-pattern' property to NULL.</p>
235
236
<p>Default value: 0</p>
238
239
<div class="refsect2" lang="en">
239
<a name="id2607302"></a><h3>
240
<a name="id3080483"></a><h3>
240
241
<a name="GooCanvasItemModelSimple--fill-pattern"></a>The "<code class="literal">fill-pattern</code>" property</h3>
241
<a class="indexterm" name="id2607318"></a><pre class="programlisting"> "fill-pattern" GooCairoPattern : Read / Write</pre>
242
<p>The pattern to use to paint the interior of the item.</p>
242
<a class="indexterm" name="id3080500"></a><pre class="programlisting"> "fill-pattern" GooCairoPattern : Read / Write</pre>
243
<p>The pattern to use to paint the interior of the item, or NULL to disable painting.</p>
245
246
<div class="refsect2" lang="en">
246
<a name="id2607340"></a><h3>
247
<a name="id3080523"></a><h3>
247
248
<a name="GooCanvasItemModelSimple--fill-pixbuf"></a>The "<code class="literal">fill-pixbuf</code>" property</h3>
248
<a class="indexterm" name="id2607357"></a><pre class="programlisting"> "fill-pixbuf" <a
249
<a class="indexterm" name="id3080539"></a><pre class="programlisting"> "fill-pixbuf" <a
249
250
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
250
251
>GdkPixbuf</a> : Write</pre>
251
<p>The pixbuf to use to paint the interior of the item.</p>
252
<p>The pixbuf to use to paint the interior of the item. To disable painting set the 'fill-pattern' property to NULL.</p>
254
255
<div class="refsect2" lang="en">
255
<a name="id2607379"></a><h3>
256
<a name="id3080562"></a><h3>
256
257
<a name="GooCanvasItemModelSimple--fill-rule"></a>The "<code class="literal">fill-rule</code>" property</h3>
257
<a class="indexterm" name="id2607395"></a><pre class="programlisting"> "fill-rule" GooCairoFillRule : Read / Write</pre>
258
<a class="indexterm" name="id3080578"></a><pre class="programlisting"> "fill-rule" GooCairoFillRule : Read / Write</pre>
258
259
<p>The fill rule used to determine which parts of the item are filled.</p>
259
260
<p>Default value: CAIRO_FILL_RULE_WINDING</p>
262
263
<div class="refsect2" lang="en">
263
<a name="id2607422"></a><h3>
264
<a name="id3080605"></a><h3>
264
265
<a name="GooCanvasItemModelSimple--font"></a>The "<code class="literal">font</code>" property</h3>
265
<a class="indexterm" name="id2607438"></a><pre class="programlisting"> "font" <a
266
<a class="indexterm" name="id3080621"></a><pre class="programlisting"> "font" <a
266
267
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
267
268
>gchararray</a> : Read / Write</pre>
268
269
<p>The base font to use for the text.</p>
272
273
<div class="refsect2" lang="en">
273
<a name="id2607463"></a><h3>
274
<a name="id3080646"></a><h3>
274
275
<a name="GooCanvasItemModelSimple--font-desc"></a>The "<code class="literal">font-desc</code>" property</h3>
275
<a class="indexterm" name="id2607479"></a><pre class="programlisting"> "font-desc" <a
276
<a class="indexterm" name="id3080662"></a><pre class="programlisting"> "font-desc" <a
276
277
href="../pango/pango-Fonts.html#PangoFontDescription"
277
278
>PangoFontDescription</a> : Read / Write</pre>
278
279
<p>The attributes specifying which font to use.</p>
281
282
<div class="refsect2" lang="en">
282
<a name="id2620489"></a><h3>
283
<a name="id3080684"></a><h3>
284
<a name="GooCanvasItemModelSimple--hint-metrics"></a>The "<code class="literal">hint-metrics</code>" property</h3>
285
<a class="indexterm" name="id3080701"></a><pre class="programlisting"> "hint-metrics" GooCairoHintMetrics : Read / Write</pre>
286
<p>The hinting to be used for font metrics.</p>
287
<p>Default value: CAIRO_HINT_METRICS_OFF</p>
290
<div class="refsect2" lang="en">
291
<a name="id3080728"></a><h3>
283
292
<a name="GooCanvasItemModelSimple--line-cap"></a>The "<code class="literal">line-cap</code>" property</h3>
284
<a class="indexterm" name="id2620505"></a><pre class="programlisting"> "line-cap" GooCairoLineCap : Read / Write</pre>
293
<a class="indexterm" name="id3080744"></a><pre class="programlisting"> "line-cap" GooCairoLineCap : Read / Write</pre>
285
294
<p>The line cap style to use.</p>
286
295
<p>Default value: CAIRO_LINE_CAP_BUTT</p>
289
298
<div class="refsect2" lang="en">
290
<a name="id2620531"></a><h3>
299
<a name="id3080769"></a><h3>
291
300
<a name="GooCanvasItemModelSimple--line-dash"></a>The "<code class="literal">line-dash</code>" property</h3>
292
<a class="indexterm" name="id2620547"></a><pre class="programlisting"> "line-dash" GooCairoLineDash : Read / Write</pre>
301
<a class="indexterm" name="id3080785"></a><pre class="programlisting"> "line-dash" GooCairoLineDash : Read / Write</pre>
293
302
<p>The dash pattern to use.</p>
296
305
<div class="refsect2" lang="en">
297
<a name="id2620568"></a><h3>
306
<a name="id3080806"></a><h3>
298
307
<a name="GooCanvasItemModelSimple--line-join"></a>The "<code class="literal">line-join</code>" property</h3>
299
<a class="indexterm" name="id2620584"></a><pre class="programlisting"> "line-join" GooCairoLineJoin : Read / Write</pre>
308
<a class="indexterm" name="id3080822"></a><pre class="programlisting"> "line-join" GooCairoLineJoin : Read / Write</pre>
300
309
<p>The line join style to use.</p>
301
310
<p>Default value: CAIRO_LINE_JOIN_MITER</p>
304
313
<div class="refsect2" lang="en">
305
<a name="id2620610"></a><h3>
314
<a name="id3080848"></a><h3>
306
315
<a name="GooCanvasItemModelSimple--line-join-miter-limit"></a>The "<code class="literal">line-join-miter-limit</code>" property</h3>
307
<a class="indexterm" name="id2620625"></a><pre class="programlisting"> "line-join-miter-limit" <a
316
<a class="indexterm" name="id3080864"></a><pre class="programlisting"> "line-join-miter-limit" <a
308
317
href="../glib/glib-Basic-Types.html#gdouble"
309
318
>gdouble</a> : Read / Write</pre>
310
319
<p>The smallest angle to use with miter joins, in degrees. Bevel joins will be used below this limit.</p>
315
324
<div class="refsect2" lang="en">
316
<a name="id2620657"></a><h3>
325
<a name="id3080895"></a><h3>
317
326
<a name="GooCanvasItemModelSimple--line-width"></a>The "<code class="literal">line-width</code>" property</h3>
318
<a class="indexterm" name="id2620673"></a><pre class="programlisting"> "line-width" <a
327
<a class="indexterm" name="id3080912"></a><pre class="programlisting"> "line-width" <a
319
328
href="../glib/glib-Basic-Types.html#gdouble"
320
329
>gdouble</a> : Read / Write</pre>
321
330
<p>The line width to use for the item's perimeter.</p>
326
335
<div class="refsect2" lang="en">
327
<a name="id2620704"></a><h3>
336
<a name="id3092019"></a><h3>
328
337
<a name="GooCanvasItemModelSimple--operator"></a>The "<code class="literal">operator</code>" property</h3>
329
<a class="indexterm" name="id2620720"></a><pre class="programlisting"> "operator" GooCairoOperator : Read / Write</pre>
338
<a class="indexterm" name="id3092035"></a><pre class="programlisting"> "operator" GooCairoOperator : Read / Write</pre>
330
339
<p>The compositing operator to use.</p>
331
340
<p>Default value: CAIRO_OPERATOR_OVER</p>
334
343
<div class="refsect2" lang="en">
335
<a name="id2620746"></a><h3>
344
<a name="id3092061"></a><h3>
336
345
<a name="GooCanvasItemModelSimple--stroke-color"></a>The "<code class="literal">stroke-color</code>" property</h3>
337
<a class="indexterm" name="id2620762"></a><pre class="programlisting"> "stroke-color" <a
346
<a class="indexterm" name="id3092077"></a><pre class="programlisting"> "stroke-color" <a
338
347
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
339
348
>gchararray</a> : Write</pre>
340
<p>The color to use for the item's perimeter.</p>
349
<p>The color to use for the item's perimeter. To disable painting set the 'stroke-pattern' property to NULL.</p>
341
350
<p>Default value: NULL</p>
344
353
<div class="refsect2" lang="en">
345
<a name="id2620788"></a><h3>
354
<a name="id3092104"></a><h3>
346
355
<a name="GooCanvasItemModelSimple--stroke-color-rgba"></a>The "<code class="literal">stroke-color-rgba</code>" property</h3>
347
<a class="indexterm" name="id2620804"></a><pre class="programlisting"> "stroke-color-rgba" <a
356
<a class="indexterm" name="id3092120"></a><pre class="programlisting"> "stroke-color-rgba" <a
348
357
href="../glib/glib-Basic-Types.html#guint"
349
358
>guint</a> : Write</pre>
350
<p>The color to use for the item's perimeter, specified as a 32-bit integer value.</p>
359
<p>The color to use for the item's perimeter, specified as a 32-bit integer value. To disable painting set the 'stroke-pattern' property to NULL.</p>
351
360
<p>Default value: 0</p>
354
363
<div class="refsect2" lang="en">
355
<a name="id2620831"></a><h3>
364
<a name="id3092148"></a><h3>
356
365
<a name="GooCanvasItemModelSimple--stroke-pattern"></a>The "<code class="literal">stroke-pattern</code>" property</h3>
357
<a class="indexterm" name="id2620847"></a><pre class="programlisting"> "stroke-pattern" GooCairoPattern : Read / Write</pre>
358
<p>The pattern to use to paint the perimeter of the item.</p>
366
<a class="indexterm" name="id3092164"></a><pre class="programlisting"> "stroke-pattern" GooCairoPattern : Read / Write</pre>
367
<p>The pattern to use to paint the perimeter of the item, or NULL disable painting.</p>
361
370
<div class="refsect2" lang="en">
362
<a name="id2620870"></a><h3>
371
<a name="id3092187"></a><h3>
363
372
<a name="GooCanvasItemModelSimple--stroke-pixbuf"></a>The "<code class="literal">stroke-pixbuf</code>" property</h3>
364
<a class="indexterm" name="id2620886"></a><pre class="programlisting"> "stroke-pixbuf" <a
373
<a class="indexterm" name="id3092204"></a><pre class="programlisting"> "stroke-pixbuf" <a
365
374
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
366
375
>GdkPixbuf</a> : Write</pre>
367
<p>The pixbuf to use to draw the item's perimeter.</p>
376
<p>The pixbuf to use to draw the item's perimeter. To disable painting set the 'stroke-pattern' property to NULL.</p>