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,809 @@
|
|
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>GooCanvasItemSimple</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="ch02.html" title="Core Objects">
|
9
|
+
<link rel="prev" href="GooCanvasItemModel.html" title="GooCanvasItemModel">
|
10
|
+
<link rel="next" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">
|
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="GooCanvasItemModel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch02.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="GooCanvasItemModelSimple.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="#GooCanvasItemSimple.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GooCanvasItemSimple.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GooCanvasItemSimple.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GooCanvasItemSimple.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GooCanvasItemSimple.properties" class="shortcut">Properties</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry" title="GooCanvasItemSimple">
|
36
|
+
<a name="GooCanvasItemSimple"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GooCanvasItemSimple.top_of_page"></a>GooCanvasItemSimple</span></h2>
|
40
|
+
<p>GooCanvasItemSimple — the base class for the standard canvas items.</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
45
|
+
<a name="GooCanvasItemSimple.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis"> <a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple-struct" title="GooCanvasItemSimple">GooCanvasItemSimple</a>;
|
47
|
+
<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimpleData" title="GooCanvasItemSimpleData">GooCanvasItemSimpleData</a>;
|
48
|
+
<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimpleClass" title="GooCanvasItemSimpleClass">GooCanvasItemSimpleClass</a>;
|
49
|
+
|
50
|
+
<span class="returnvalue">void</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-check-style" title="goo_canvas_item_simple_check_style ()">goo_canvas_item_simple_check_style</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>);
|
51
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-get-line-width" title="goo_canvas_item_simple_get_line_width ()">goo_canvas_item_simple_get_line_width</a>
|
52
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>);
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-get-path-bounds" title="goo_canvas_item_simple_get_path_bounds ()">goo_canvas_item_simple_get_path_bounds</a>
|
54
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
55
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
56
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-user-bounds-to-device" title="goo_canvas_item_simple_user_bounds_to_device ()">goo_canvas_item_simple_user_bounds_to_device</a>
|
58
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
59
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);
|
61
|
+
<span class="returnvalue">void</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-user-bounds-to-parent" title="goo_canvas_item_simple_user_bounds_to_parent ()">goo_canvas_item_simple_user_bounds_to_parent</a>
|
62
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
63
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);
|
65
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-check-in-path" title="goo_canvas_item_simple_check_in_path ()">goo_canvas_item_simple_check_in_path</a>
|
66
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
69
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
70
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPointerEvents" title="enum GooCanvasPointerEvents"><span class="type">GooCanvasPointerEvents</span></a> pointer_events</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-paint-path" title="goo_canvas_item_simple_paint_path ()">goo_canvas_item_simple_paint_path</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
72
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-changed" title="goo_canvas_item_simple_changed ()">goo_canvas_item_simple_changed</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
74
|
+
<em class="parameter"><code><span class="type">gboolean</span> recompute_bounds</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="GooCanvasItemSimple.html#goo-canvas-item-simple-set-model" title="goo_canvas_item_simple_set_model ()">goo_canvas_item_simple_set_model</a> (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);
|
77
|
+
</pre>
|
78
|
+
</div>
|
79
|
+
<div class="refsect1" title="Object Hierarchy">
|
80
|
+
<a name="GooCanvasItemSimple.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
81
|
+
<pre class="synopsis">
|
82
|
+
GObject
|
83
|
+
+----GooCanvasItemSimple
|
84
|
+
+----<a class="link" href="GooCanvasWidget.html" title="GooCanvasWidget">GooCanvasWidget</a>
|
85
|
+
+----<a class="link" href="GooCanvasRect.html" title="GooCanvasRect">GooCanvasRect</a>
|
86
|
+
+----<a class="link" href="GooCanvasGroup.html" title="GooCanvasGroup">GooCanvasGroup</a>
|
87
|
+
+----<a class="link" href="GooCanvasPath.html" title="GooCanvasPath">GooCanvasPath</a>
|
88
|
+
+----<a class="link" href="GooCanvasEllipse.html" title="GooCanvasEllipse">GooCanvasEllipse</a>
|
89
|
+
+----<a class="link" href="GooCanvasText.html" title="GooCanvasText">GooCanvasText</a>
|
90
|
+
+----<a class="link" href="GooCanvasPolyline.html" title="GooCanvasPolyline">GooCanvasPolyline</a>
|
91
|
+
+----<a class="link" href="GooCanvasImage.html" title="GooCanvasImage">GooCanvasImage</a>
|
92
|
+
+----<a class="link" href="GooCanvasGrid.html" title="GooCanvasGrid">GooCanvasGrid</a>
|
93
|
+
</pre>
|
94
|
+
</div>
|
95
|
+
<div class="refsect1" title="Implemented Interfaces">
|
96
|
+
<a name="GooCanvasItemSimple.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
97
|
+
<p>
|
98
|
+
GooCanvasItemSimple implements
|
99
|
+
<a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
|
100
|
+
</div>
|
101
|
+
<div class="refsect1" title="Properties">
|
102
|
+
<a name="GooCanvasItemSimple.properties"></a><h2>Properties</h2>
|
103
|
+
<pre class="synopsis">
|
104
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--antialias" title='The "antialias" property'>antialias</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoAntialias" title="GooCairoAntialias"><span class="type">GooCairoAntialias</span></a> : Read / Write
|
105
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--clip-fill-rule" title='The "clip-fill-rule" property'>clip-fill-rule</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoFillRule" title="GooCairoFillRule"><span class="type">GooCairoFillRule</span></a> : Read / Write
|
106
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--clip-path" title='The "clip-path" property'>clip-path</a>" <span class="type">gchar</span>* : Write
|
107
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--fill-color" title='The "fill-color" property'>fill-color</a>" <span class="type">gchar</span>* : Write
|
108
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--fill-color-rgba" title='The "fill-color-rgba" property'>fill-color-rgba</a>" <span class="type">guint</span> : Read / Write
|
109
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--fill-pattern" title='The "fill-pattern" property'>fill-pattern</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write
|
110
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--fill-pixbuf" title='The "fill-pixbuf" property'>fill-pixbuf</a>" <span class="type">GdkPixbuf</span>* : Write
|
111
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--fill-rule" title='The "fill-rule" property'>fill-rule</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoFillRule" title="GooCairoFillRule"><span class="type">GooCairoFillRule</span></a> : Read / Write
|
112
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--font" title='The "font" property'>font</a>" <span class="type">gchar</span>* : Read / Write
|
113
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--font-desc" title='The "font-desc" property'>font-desc</a>" <span class="type">PangoFontDescription</span>* : Read / Write
|
114
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--hint-metrics" title='The "hint-metrics" property'>hint-metrics</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoHintMetrics" title="GooCairoHintMetrics"><span class="type">GooCairoHintMetrics</span></a> : Read / Write
|
115
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--line-cap" title='The "line-cap" property'>line-cap</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineCap" title="GooCairoLineCap"><span class="type">GooCairoLineCap</span></a> : Read / Write
|
116
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--line-dash" title='The "line-dash" property'>line-dash</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a>* : Read / Write
|
117
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--line-join" title='The "line-join" property'>line-join</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineJoin" title="GooCairoLineJoin"><span class="type">GooCairoLineJoin</span></a> : Read / Write
|
118
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--line-join-miter-limit" title='The "line-join-miter-limit" property'>line-join-miter-limit</a>" <span class="type">gdouble</span> : Read / Write
|
119
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--line-width" title='The "line-width" property'>line-width</a>" <span class="type">gdouble</span> : Read / Write
|
120
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--operator" title='The "operator" property'>operator</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoOperator" title="GooCairoOperator"><span class="type">GooCairoOperator</span></a> : Read / Write
|
121
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--stroke-color" title='The "stroke-color" property'>stroke-color</a>" <span class="type">gchar</span>* : Write
|
122
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--stroke-color-rgba" title='The "stroke-color-rgba" property'>stroke-color-rgba</a>" <span class="type">guint</span> : Read / Write
|
123
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--stroke-pattern" title='The "stroke-pattern" property'>stroke-pattern</a>" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write
|
124
|
+
"<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple--stroke-pixbuf" title='The "stroke-pixbuf" property'>stroke-pixbuf</a>" <span class="type">GdkPixbuf</span>* : Write
|
125
|
+
</pre>
|
126
|
+
</div>
|
127
|
+
<div class="refsect1" title="Description">
|
128
|
+
<a name="GooCanvasItemSimple.description"></a><h2>Description</h2>
|
129
|
+
<p>
|
130
|
+
<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> is used as a base class for all of the standard canvas
|
131
|
+
items. It can also be used as the base class for new custom canvas items.
|
132
|
+
</p>
|
133
|
+
<p>
|
134
|
+
It provides default implementations for many of the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a>
|
135
|
+
methods.
|
136
|
+
</p>
|
137
|
+
<p>
|
138
|
+
For very simple items, all that is needed is to implement the <code class="function">create_path()</code>
|
139
|
+
method. (<a class="link" href="GooCanvasEllipse.html" title="GooCanvasEllipse"><span class="type">GooCanvasEllipse</span></a>, <a class="link" href="GooCanvasRect.html" title="GooCanvasRect"><span class="type">GooCanvasRect</span></a> and <a class="link" href="GooCanvasPath.html" title="GooCanvasPath"><span class="type">GooCanvasPath</span></a> do this.)
|
140
|
+
</p>
|
141
|
+
<p>
|
142
|
+
More complicated items need to implement the <code class="function">update()</code>, <code class="function">paint()</code> and
|
143
|
+
<code class="function">is_item_at()</code> methods instead. (<a class="link" href="GooCanvasImage.html" title="GooCanvasImage"><span class="type">GooCanvasImage</span></a>, <a class="link" href="GooCanvasPolyline.html" title="GooCanvasPolyline"><span class="type">GooCanvasPolyline</span></a>,
|
144
|
+
<a class="link" href="GooCanvasText.html" title="GooCanvasText"><span class="type">GooCanvasText</span></a> and <a class="link" href="GooCanvasWidget.html" title="GooCanvasWidget"><span class="type">GooCanvasWidget</span></a> do this.) They may also need to
|
145
|
+
override some of the other GooCanvasItem methods such as <code class="function">set_canvas()</code>,
|
146
|
+
<code class="function">set_parent()</code> or <code class="function">allocate_area()</code> if special code is needed. (<a class="link" href="GooCanvasWidget.html" title="GooCanvasWidget"><span class="type">GooCanvasWidget</span></a>
|
147
|
+
does this to make sure the <span class="type">GtkWidget</span> is embedded in the <a class="link" href="GooCanvas.html" title="GooCanvas"><span class="type">GooCanvas</span></a> widget
|
148
|
+
correctly.)
|
149
|
+
</p>
|
150
|
+
</div>
|
151
|
+
<div class="refsect1" title="Details">
|
152
|
+
<a name="GooCanvasItemSimple.details"></a><h2>Details</h2>
|
153
|
+
<div class="refsect2" title="GooCanvasItemSimple">
|
154
|
+
<a name="GooCanvasItemSimple-struct"></a><h3>GooCanvasItemSimple</h3>
|
155
|
+
<pre class="programlisting">typedef struct {
|
156
|
+
GooCanvas *canvas;
|
157
|
+
GooCanvasItem *parent;
|
158
|
+
GooCanvasItemModelSimple *model;
|
159
|
+
GooCanvasItemSimpleData *simple_data;
|
160
|
+
GooCanvasBounds bounds;
|
161
|
+
guint need_update : 1;
|
162
|
+
guint need_entire_subtree_update : 1;
|
163
|
+
} GooCanvasItemSimple;
|
164
|
+
</pre>
|
165
|
+
<p>
|
166
|
+
The <a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimple-struct" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> struct contains the basic data needed to
|
167
|
+
implement canvas items.
|
168
|
+
</p>
|
169
|
+
<div class="variablelist"><table border="0">
|
170
|
+
<col align="left" valign="top">
|
171
|
+
<tbody>
|
172
|
+
<tr>
|
173
|
+
<td><p><span class="term"><a class="link" href="GooCanvas.html" title="GooCanvas"><span class="type">GooCanvas</span></a> *<em class="structfield"><code><a name="GooCanvasItemSimple-struct.canvas"></a>canvas</code></em>;</span></p></td>
|
174
|
+
<td>the canvas.
|
175
|
+
</td>
|
176
|
+
</tr>
|
177
|
+
<tr>
|
178
|
+
<td><p><span class="term"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *<em class="structfield"><code><a name="GooCanvasItemSimple-struct.parent"></a>parent</code></em>;</span></p></td>
|
179
|
+
<td>the parent item.
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td><p><span class="term"><a class="link" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple"><span class="type">GooCanvasItemModelSimple</span></a> *<em class="structfield"><code><a name="GooCanvasItemSimple-struct.model"></a>model</code></em>;</span></p></td>
|
184
|
+
<td>the item's model, if it has one.
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td><p><span class="term"><a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimpleData" title="GooCanvasItemSimpleData"><span class="type">GooCanvasItemSimpleData</span></a> *<em class="structfield"><code><a name="GooCanvasItemSimple-struct.simple-data"></a>simple_data</code></em>;</span></p></td>
|
189
|
+
<td>data that is common to both the model and view classes. If
|
190
|
+
the canvas item has a model, this will point to the model's
|
191
|
+
<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimpleData" title="GooCanvasItemSimpleData"><span class="type">GooCanvasItemSimpleData</span></a>, otherwise the canvas item will have its own
|
192
|
+
<a class="link" href="GooCanvasItemSimple.html#GooCanvasItemSimpleData" title="GooCanvasItemSimpleData"><span class="type">GooCanvasItemSimpleData</span></a>.
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td><p><span class="term"><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> <em class="structfield"><code><a name="GooCanvasItemSimple-struct.bounds"></a>bounds</code></em>;</span></p></td>
|
197
|
+
<td>the bounds of the item, in device space.
|
198
|
+
</td>
|
199
|
+
</tr>
|
200
|
+
<tr>
|
201
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimple-struct.need-update"></a>need_update</code></em> : 1;</span></p></td>
|
202
|
+
<td>if the item needs to recompute its bounds and redraw.
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimple-struct.need-entire-subtree-update"></a>need_entire_subtree_update</code></em> : 1;</span></p></td>
|
207
|
+
<td>if all descendants need to be updated.
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
</tbody>
|
211
|
+
</table></div>
|
212
|
+
</div>
|
213
|
+
<hr>
|
214
|
+
<div class="refsect2" title="GooCanvasItemSimpleData">
|
215
|
+
<a name="GooCanvasItemSimpleData"></a><h3>GooCanvasItemSimpleData</h3>
|
216
|
+
<pre class="programlisting">typedef struct {
|
217
|
+
GooCanvasStyle *style;
|
218
|
+
cairo_matrix_t *transform;
|
219
|
+
GArray *clip_path_commands;
|
220
|
+
gchar *tooltip;
|
221
|
+
|
222
|
+
gdouble visibility_threshold;
|
223
|
+
guint visibility : 2;
|
224
|
+
guint pointer_events : 4;
|
225
|
+
guint can_focus : 1;
|
226
|
+
guint own_style : 1;
|
227
|
+
guint clip_fill_rule : 4;
|
228
|
+
guint is_static : 1;
|
229
|
+
} GooCanvasItemSimpleData;
|
230
|
+
</pre>
|
231
|
+
<p>
|
232
|
+
This is the data common to both the model and view classes.
|
233
|
+
</p>
|
234
|
+
<div class="variablelist"><table border="0">
|
235
|
+
<col align="left" valign="top">
|
236
|
+
<tbody>
|
237
|
+
<tr>
|
238
|
+
<td><p><span class="term"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *<em class="structfield"><code><a name="GooCanvasItemSimpleData.style"></a>style</code></em>;</span></p></td>
|
239
|
+
<td>the style to draw with.
|
240
|
+
</td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td><p><span class="term"><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html#cairo-matrix-t"><span class="type">cairo_matrix_t</span></a> *<em class="structfield"><code><a name="GooCanvasItemSimpleData.transform"></a>transform</code></em>;</span></p></td>
|
244
|
+
<td>the transformation matrix of the item, or <code class="literal">NULL</code>.
|
245
|
+
</td>
|
246
|
+
</tr>
|
247
|
+
<tr>
|
248
|
+
<td><p><span class="term"><span class="type">GArray</span> *<em class="structfield"><code><a name="GooCanvasItemSimpleData.clip-path-commands"></a>clip_path_commands</code></em>;</span></p></td>
|
249
|
+
<td>an array of <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPathCommand" title="union GooCanvasPathCommand"><span class="type">GooCanvasPathCommand</span></a> specifying the clip
|
250
|
+
path of the item, or <code class="literal">NULL</code>.
|
251
|
+
</td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td><p><span class="term"><span class="type">gchar</span> *<em class="structfield"><code><a name="GooCanvasItemSimpleData.tooltip"></a>tooltip</code></em>;</span></p></td>
|
255
|
+
<td>the item's tooltip.
|
256
|
+
</td>
|
257
|
+
</tr>
|
258
|
+
<tr>
|
259
|
+
<td><p><span class="term"><span class="type">gdouble</span> <em class="structfield"><code><a name="GooCanvasItemSimpleData.visibility-threshold"></a>visibility_threshold</code></em>;</span></p></td>
|
260
|
+
<td>the threshold scale setting at which to show the item
|
261
|
+
(if the <em class="parameter"><code>visibility</code></em> setting is set to <code class="literal">VISIBLE_ABOVE_THRESHOLD</code>).
|
262
|
+
</td>
|
263
|
+
</tr>
|
264
|
+
<tr>
|
265
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimpleData.visibility"></a>visibility</code></em> : 2;</span></p></td>
|
266
|
+
<td>the <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasItemVisibility" title="enum GooCanvasItemVisibility"><span class="type">GooCanvasItemVisibility</span></a> setting specifying whether the
|
267
|
+
item is visible, invisible, or visible above a given canvas scale setting.
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimpleData.pointer-events"></a>pointer_events</code></em> : 4;</span></p></td>
|
272
|
+
<td>the <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPointerEvents" title="enum GooCanvasPointerEvents"><span class="type">GooCanvasPointerEvents</span></a> setting specifying the events
|
273
|
+
the item should receive.
|
274
|
+
</td>
|
275
|
+
</tr>
|
276
|
+
<tr>
|
277
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimpleData.can-focus"></a>can_focus</code></em> : 1;</span></p></td>
|
278
|
+
<td>if the item can take the keyboard focus.
|
279
|
+
</td>
|
280
|
+
</tr>
|
281
|
+
<tr>
|
282
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimpleData.own-style"></a>own_style</code></em> : 1;</span></p></td>
|
283
|
+
<td>if the item has its own style, rather than using its parent's.
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimpleData.clip-fill-rule"></a>clip_fill_rule</code></em> : 4;</span></p></td>
|
288
|
+
<td>the <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill-rule-t"><span class="type">cairo_fill_rule_t</span></a> setting specifying the fill rule
|
289
|
+
used for the clip path.
|
290
|
+
</td>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GooCanvasItemSimpleData.is-static"></a>is_static</code></em> : 1;</span></p></td>
|
294
|
+
<td>if the item is static.
|
295
|
+
</td>
|
296
|
+
</tr>
|
297
|
+
</tbody>
|
298
|
+
</table></div>
|
299
|
+
</div>
|
300
|
+
<hr>
|
301
|
+
<div class="refsect2" title="GooCanvasItemSimpleClass">
|
302
|
+
<a name="GooCanvasItemSimpleClass"></a><h3>GooCanvasItemSimpleClass</h3>
|
303
|
+
<pre class="programlisting">typedef struct {
|
304
|
+
void (* simple_create_path) (GooCanvasItemSimple *simple,
|
305
|
+
cairo_t *cr);
|
306
|
+
|
307
|
+
void (* simple_update) (GooCanvasItemSimple *simple,
|
308
|
+
cairo_t *cr);
|
309
|
+
void (* simple_paint) (GooCanvasItemSimple *simple,
|
310
|
+
cairo_t *cr,
|
311
|
+
const GooCanvasBounds *bounds);
|
312
|
+
gboolean (* simple_is_item_at) (GooCanvasItemSimple *simple,
|
313
|
+
gdouble x,
|
314
|
+
gdouble y,
|
315
|
+
cairo_t *cr,
|
316
|
+
gboolean is_pointer_event);
|
317
|
+
} GooCanvasItemSimpleClass;
|
318
|
+
</pre>
|
319
|
+
<p>
|
320
|
+
The <span class="type">GooCanvasItemSimpleClass</span> struct contains several methods that
|
321
|
+
subclasses can override.
|
322
|
+
</p>
|
323
|
+
<p>
|
324
|
+
Simple items need only implement the <code class="function">create_path()</code> method. More complex
|
325
|
+
items must override the <code class="function">update()</code>, <code class="function">paint()</code> and <code class="function">is_item_at()</code> methods instead.
|
326
|
+
</p>
|
327
|
+
<div class="variablelist"><table border="0">
|
328
|
+
<col align="left" valign="top">
|
329
|
+
<tbody>
|
330
|
+
<tr>
|
331
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemSimpleClass.simple-create-path"></a>simple_create_path</code></em> ()</span></p></td>
|
332
|
+
<td>simple subclasses that draw basic shapes and paths only
|
333
|
+
need to override this one method. It creates the path for the item.
|
334
|
+
All updating, painting and hit-testing is provided automatically by the
|
335
|
+
<a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> class. (This method is used by the builtin
|
336
|
+
<a class="link" href="GooCanvasEllipse.html" title="GooCanvasEllipse"><span class="type">GooCanvasEllipse</span></a>, <a class="link" href="GooCanvasRect.html" title="GooCanvasRect"><span class="type">GooCanvasRect</span></a> and <a class="link" href="GooCanvasPath.html" title="GooCanvasPath"><span class="type">GooCanvasPath</span></a> items.)
|
337
|
+
More complicated subclasses must override <em class="parameter"><code>simple_update</code></em>, <em class="parameter"><code>simple_paint</code></em> and
|
338
|
+
<em class="parameter"><code>simple_is_item_at</code></em> instead.
|
339
|
+
</td>
|
340
|
+
</tr>
|
341
|
+
<tr>
|
342
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemSimpleClass.simple-update"></a>simple_update</code></em> ()</span></p></td>
|
343
|
+
<td>subclasses should override this to calculate their new
|
344
|
+
bounds, in user space.
|
345
|
+
</td>
|
346
|
+
</tr>
|
347
|
+
<tr>
|
348
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemSimpleClass.simple-paint"></a>simple_paint</code></em> ()</span></p></td>
|
349
|
+
<td>subclasses should override this to paint their item.
|
350
|
+
</td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GooCanvasItemSimpleClass.simple-is-item-at"></a>simple_is_item_at</code></em> ()</span></p></td>
|
354
|
+
<td>subclasses should override this to do hit-testing.
|
355
|
+
</td>
|
356
|
+
</tr>
|
357
|
+
</tbody>
|
358
|
+
</table></div>
|
359
|
+
</div>
|
360
|
+
<hr>
|
361
|
+
<div class="refsect2" title="goo_canvas_item_simple_check_style ()">
|
362
|
+
<a name="goo-canvas-item-simple-check-style"></a><h3>goo_canvas_item_simple_check_style ()</h3>
|
363
|
+
<pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_simple_check_style (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>);</pre>
|
364
|
+
<p>
|
365
|
+
This function is intended to be used by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>,
|
366
|
+
typically in their <code class="function">update()</code> or <code class="function">get_requested_area()</code> methods.
|
367
|
+
</p>
|
368
|
+
<p>
|
369
|
+
It ensures that the item's style is setup correctly. If the item has its
|
370
|
+
own <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> it makes sure the parent is set correctly. If it
|
371
|
+
doesn't have its own style it uses the parent item's style.
|
372
|
+
</p>
|
373
|
+
<div class="variablelist"><table border="0">
|
374
|
+
<col align="left" valign="top">
|
375
|
+
<tbody><tr>
|
376
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
377
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
378
|
+
</td>
|
379
|
+
</tr></tbody>
|
380
|
+
</table></div>
|
381
|
+
</div>
|
382
|
+
<hr>
|
383
|
+
<div class="refsect2" title="goo_canvas_item_simple_get_line_width ()">
|
384
|
+
<a name="goo-canvas-item-simple-get-line-width"></a><h3>goo_canvas_item_simple_get_line_width ()</h3>
|
385
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> goo_canvas_item_simple_get_line_width
|
386
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>);</pre>
|
387
|
+
<p>
|
388
|
+
Gets the item's line width.
|
389
|
+
</p>
|
390
|
+
<div class="variablelist"><table border="0">
|
391
|
+
<col align="left" valign="top">
|
392
|
+
<tbody>
|
393
|
+
<tr>
|
394
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
395
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
396
|
+
</td>
|
397
|
+
</tr>
|
398
|
+
<tr>
|
399
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
400
|
+
<td> the item's line width.
|
401
|
+
</td>
|
402
|
+
</tr>
|
403
|
+
</tbody>
|
404
|
+
</table></div>
|
405
|
+
</div>
|
406
|
+
<hr>
|
407
|
+
<div class="refsect2" title="goo_canvas_item_simple_get_path_bounds ()">
|
408
|
+
<a name="goo-canvas-item-simple-get-path-bounds"></a><h3>goo_canvas_item_simple_get_path_bounds ()</h3>
|
409
|
+
<pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_simple_get_path_bounds
|
410
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
411
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
412
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);</pre>
|
413
|
+
<p>
|
414
|
+
This function is intended to be used by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>,
|
415
|
+
typically in their <code class="function">update()</code> or <code class="function">get_requested_area()</code> methods.
|
416
|
+
</p>
|
417
|
+
<p>
|
418
|
+
It calculates the bounds of the current path, using the item's style
|
419
|
+
settings, and stores the results in the given <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> struct.
|
420
|
+
</p>
|
421
|
+
<p>
|
422
|
+
The returned bounds contains the bounding box of the path in device space,
|
423
|
+
converted to user space coordinates. To calculate the bounds completely in
|
424
|
+
user space, use <a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-Transformations.html#cairo-identity-matrix"><code class="function">cairo_identity_matrix()</code></a> to temporarily reset the current
|
425
|
+
transformation matrix to the identity matrix.
|
426
|
+
</p>
|
427
|
+
<div class="variablelist"><table border="0">
|
428
|
+
<col align="left" valign="top">
|
429
|
+
<tbody>
|
430
|
+
<tr>
|
431
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
432
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
433
|
+
</td>
|
434
|
+
</tr>
|
435
|
+
<tr>
|
436
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
437
|
+
<td>a cairo context.
|
438
|
+
</td>
|
439
|
+
</tr>
|
440
|
+
<tr>
|
441
|
+
<td><p><span class="term"><em class="parameter"><code>bounds</code></em> :</span></p></td>
|
442
|
+
<td>the <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> struct to store the resulting bounding box.
|
443
|
+
</td>
|
444
|
+
</tr>
|
445
|
+
</tbody>
|
446
|
+
</table></div>
|
447
|
+
</div>
|
448
|
+
<hr>
|
449
|
+
<div class="refsect2" title="goo_canvas_item_simple_user_bounds_to_device ()">
|
450
|
+
<a name="goo-canvas-item-simple-user-bounds-to-device"></a><h3>goo_canvas_item_simple_user_bounds_to_device ()</h3>
|
451
|
+
<pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_simple_user_bounds_to_device
|
452
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
453
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
454
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);</pre>
|
455
|
+
<p>
|
456
|
+
This function is intended to be used by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>,
|
457
|
+
typically in their <code class="function">update()</code> or <code class="function">get_requested_area()</code> methods.
|
458
|
+
</p>
|
459
|
+
<p>
|
460
|
+
It converts the item's bounds to a bounding box in the canvas (device)
|
461
|
+
coordinate space.
|
462
|
+
</p>
|
463
|
+
<div class="variablelist"><table border="0">
|
464
|
+
<col align="left" valign="top">
|
465
|
+
<tbody>
|
466
|
+
<tr>
|
467
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
468
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
469
|
+
</td>
|
470
|
+
</tr>
|
471
|
+
<tr>
|
472
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
473
|
+
<td>a cairo context.
|
474
|
+
</td>
|
475
|
+
</tr>
|
476
|
+
<tr>
|
477
|
+
<td><p><span class="term"><em class="parameter"><code>bounds</code></em> :</span></p></td>
|
478
|
+
<td>the bounds of the item, in the item's coordinate space.
|
479
|
+
</td>
|
480
|
+
</tr>
|
481
|
+
</tbody>
|
482
|
+
</table></div>
|
483
|
+
</div>
|
484
|
+
<hr>
|
485
|
+
<div class="refsect2" title="goo_canvas_item_simple_user_bounds_to_parent ()">
|
486
|
+
<a name="goo-canvas-item-simple-user-bounds-to-parent"></a><h3>goo_canvas_item_simple_user_bounds_to_parent ()</h3>
|
487
|
+
<pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_simple_user_bounds_to_parent
|
488
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
489
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
490
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasBounds" title="GooCanvasBounds"><span class="type">GooCanvasBounds</span></a> *bounds</code></em>);</pre>
|
491
|
+
<p>
|
492
|
+
This function is intended to be used by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>,
|
493
|
+
typically in their <code class="function">get_requested_area()</code> method.
|
494
|
+
</p>
|
495
|
+
<p>
|
496
|
+
It converts the item's bounds to a bounding box in its parent's coordinate
|
497
|
+
space. If the item has no transformation matrix set then no conversion is
|
498
|
+
needed.
|
499
|
+
</p>
|
500
|
+
<div class="variablelist"><table border="0">
|
501
|
+
<col align="left" valign="top">
|
502
|
+
<tbody>
|
503
|
+
<tr>
|
504
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
505
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
506
|
+
</td>
|
507
|
+
</tr>
|
508
|
+
<tr>
|
509
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
510
|
+
<td>a cairo context.
|
511
|
+
</td>
|
512
|
+
</tr>
|
513
|
+
<tr>
|
514
|
+
<td><p><span class="term"><em class="parameter"><code>bounds</code></em> :</span></p></td>
|
515
|
+
<td>the bounds of the item, in the item's coordinate space.
|
516
|
+
</td>
|
517
|
+
</tr>
|
518
|
+
</tbody>
|
519
|
+
</table></div>
|
520
|
+
</div>
|
521
|
+
<hr>
|
522
|
+
<div class="refsect2" title="goo_canvas_item_simple_check_in_path ()">
|
523
|
+
<a name="goo-canvas-item-simple-check-in-path"></a><h3>goo_canvas_item_simple_check_in_path ()</h3>
|
524
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_item_simple_check_in_path
|
525
|
+
(<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
526
|
+
<em class="parameter"><code><span class="type">gdouble</span> x</code></em>,
|
527
|
+
<em class="parameter"><code><span class="type">gdouble</span> y</code></em>,
|
528
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
529
|
+
<em class="parameter"><code><a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasPointerEvents" title="enum GooCanvasPointerEvents"><span class="type">GooCanvasPointerEvents</span></a> pointer_events</code></em>);</pre>
|
530
|
+
<p>
|
531
|
+
This function is intended to be used by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
532
|
+
</p>
|
533
|
+
<p>
|
534
|
+
It checks if the given point is in the current path, using the item's
|
535
|
+
style settings.
|
536
|
+
</p>
|
537
|
+
<div class="variablelist"><table border="0">
|
538
|
+
<col align="left" valign="top">
|
539
|
+
<tbody>
|
540
|
+
<tr>
|
541
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
542
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
543
|
+
</td>
|
544
|
+
</tr>
|
545
|
+
<tr>
|
546
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
547
|
+
<td>the x coordinate of the point.
|
548
|
+
</td>
|
549
|
+
</tr>
|
550
|
+
<tr>
|
551
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
552
|
+
<td>the y coordinate of the point.
|
553
|
+
</td>
|
554
|
+
</tr>
|
555
|
+
<tr>
|
556
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
557
|
+
<td>a cairo context.
|
558
|
+
</td>
|
559
|
+
</tr>
|
560
|
+
<tr>
|
561
|
+
<td><p><span class="term"><em class="parameter"><code>pointer_events</code></em> :</span></p></td>
|
562
|
+
<td>specifies which parts of the path to check.
|
563
|
+
</td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
567
|
+
<td> <code class="literal">TRUE</code> if the given point is in the current path.
|
568
|
+
</td>
|
569
|
+
</tr>
|
570
|
+
</tbody>
|
571
|
+
</table></div>
|
572
|
+
</div>
|
573
|
+
<hr>
|
574
|
+
<div class="refsect2" title="goo_canvas_item_simple_paint_path ()">
|
575
|
+
<a name="goo-canvas-item-simple-paint-path"></a><h3>goo_canvas_item_simple_paint_path ()</h3>
|
576
|
+
<pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_simple_paint_path (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
577
|
+
<em class="parameter"><code><a href="/home/damon/gnome/install/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
|
578
|
+
<p>
|
579
|
+
This function is intended to be used by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
580
|
+
</p>
|
581
|
+
<p>
|
582
|
+
It paints the current path, using the item's style settings.
|
583
|
+
</p>
|
584
|
+
<div class="variablelist"><table border="0">
|
585
|
+
<col align="left" valign="top">
|
586
|
+
<tbody>
|
587
|
+
<tr>
|
588
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
589
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
590
|
+
</td>
|
591
|
+
</tr>
|
592
|
+
<tr>
|
593
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
594
|
+
<td>a cairo context.
|
595
|
+
</td>
|
596
|
+
</tr>
|
597
|
+
</tbody>
|
598
|
+
</table></div>
|
599
|
+
</div>
|
600
|
+
<hr>
|
601
|
+
<div class="refsect2" title="goo_canvas_item_simple_changed ()">
|
602
|
+
<a name="goo-canvas-item-simple-changed"></a><h3>goo_canvas_item_simple_changed ()</h3>
|
603
|
+
<pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_simple_changed (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
604
|
+
<em class="parameter"><code><span class="type">gboolean</span> recompute_bounds</code></em>);</pre>
|
605
|
+
<p>
|
606
|
+
This function is intended to be used by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
607
|
+
</p>
|
608
|
+
<p>
|
609
|
+
It is used as a callback for the "changed" signal of the item models.
|
610
|
+
It requests an update or redraw of the item as appropriate.
|
611
|
+
</p>
|
612
|
+
<div class="variablelist"><table border="0">
|
613
|
+
<col align="left" valign="top">
|
614
|
+
<tbody>
|
615
|
+
<tr>
|
616
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
617
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
618
|
+
</td>
|
619
|
+
</tr>
|
620
|
+
<tr>
|
621
|
+
<td><p><span class="term"><em class="parameter"><code>recompute_bounds</code></em> :</span></p></td>
|
622
|
+
<td>if the item's bounds need to be recomputed.
|
623
|
+
</td>
|
624
|
+
</tr>
|
625
|
+
</tbody>
|
626
|
+
</table></div>
|
627
|
+
</div>
|
628
|
+
<hr>
|
629
|
+
<div class="refsect2" title="goo_canvas_item_simple_set_model ()">
|
630
|
+
<a name="goo-canvas-item-simple-set-model"></a><h3>goo_canvas_item_simple_set_model ()</h3>
|
631
|
+
<pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_item_simple_set_model (<em class="parameter"><code><a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> *item</code></em>,
|
632
|
+
<em class="parameter"><code><a class="link" href="GooCanvasItemModel.html" title="GooCanvasItemModel"><span class="type">GooCanvasItemModel</span></a> *model</code></em>);</pre>
|
633
|
+
<p>
|
634
|
+
This function should be called by subclasses of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>
|
635
|
+
in their <code class="function">set_model()</code> method.
|
636
|
+
</p>
|
637
|
+
<div class="variablelist"><table border="0">
|
638
|
+
<col align="left" valign="top">
|
639
|
+
<tbody>
|
640
|
+
<tr>
|
641
|
+
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
|
642
|
+
<td>a <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a>.
|
643
|
+
</td>
|
644
|
+
</tr>
|
645
|
+
<tr>
|
646
|
+
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
|
647
|
+
<td>the model that <em class="parameter"><code>item</code></em> will view.
|
648
|
+
</td>
|
649
|
+
</tr>
|
650
|
+
</tbody>
|
651
|
+
</table></div>
|
652
|
+
</div>
|
653
|
+
</div>
|
654
|
+
<div class="refsect1" title="Property Details">
|
655
|
+
<a name="GooCanvasItemSimple.property-details"></a><h2>Property Details</h2>
|
656
|
+
<div class="refsect2" title='The "antialias" property'>
|
657
|
+
<a name="GooCanvasItemSimple--antialias"></a><h3>The <code class="literal">"antialias"</code> property</h3>
|
658
|
+
<pre class="programlisting"> "antialias" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoAntialias" title="GooCairoAntialias"><span class="type">GooCairoAntialias</span></a> : Read / Write</pre>
|
659
|
+
<p>The antialiasing mode to use.</p>
|
660
|
+
<p>Default value: CAIRO_ANTIALIAS_GRAY</p>
|
661
|
+
</div>
|
662
|
+
<hr>
|
663
|
+
<div class="refsect2" title='The "clip-fill-rule" property'>
|
664
|
+
<a name="GooCanvasItemSimple--clip-fill-rule"></a><h3>The <code class="literal">"clip-fill-rule"</code> property</h3>
|
665
|
+
<pre class="programlisting"> "clip-fill-rule" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoFillRule" title="GooCairoFillRule"><span class="type">GooCairoFillRule</span></a> : Read / Write</pre>
|
666
|
+
<p>The fill rule used to determine which parts of the item are clipped.</p>
|
667
|
+
<p>Default value: CAIRO_FILL_RULE_WINDING</p>
|
668
|
+
</div>
|
669
|
+
<hr>
|
670
|
+
<div class="refsect2" title='The "clip-path" property'>
|
671
|
+
<a name="GooCanvasItemSimple--clip-path"></a><h3>The <code class="literal">"clip-path"</code> property</h3>
|
672
|
+
<pre class="programlisting"> "clip-path" <span class="type">gchar</span>* : Write</pre>
|
673
|
+
<p>
|
674
|
+
The sequence of commands describing the clip path of the item, specified
|
675
|
+
as a string using the same syntax
|
676
|
+
as in the <a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">Scalable Vector
|
677
|
+
Graphics (SVG)</a> path element.
|
678
|
+
</p>
|
679
|
+
<p>Default value: NULL</p>
|
680
|
+
</div>
|
681
|
+
<hr>
|
682
|
+
<div class="refsect2" title='The "fill-color" property'>
|
683
|
+
<a name="GooCanvasItemSimple--fill-color"></a><h3>The <code class="literal">"fill-color"</code> property</h3>
|
684
|
+
<pre class="programlisting"> "fill-color" <span class="type">gchar</span>* : Write</pre>
|
685
|
+
<p>The color to use to paint the interior of the item. To disable painting set the 'fill-pattern' property to NULL.</p>
|
686
|
+
<p>Default value: NULL</p>
|
687
|
+
</div>
|
688
|
+
<hr>
|
689
|
+
<div class="refsect2" title='The "fill-color-rgba" property'>
|
690
|
+
<a name="GooCanvasItemSimple--fill-color-rgba"></a><h3>The <code class="literal">"fill-color-rgba"</code> property</h3>
|
691
|
+
<pre class="programlisting"> "fill-color-rgba" <span class="type">guint</span> : Read / Write</pre>
|
692
|
+
<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>
|
693
|
+
<p>Default value: 0</p>
|
694
|
+
</div>
|
695
|
+
<hr>
|
696
|
+
<div class="refsect2" title='The "fill-pattern" property'>
|
697
|
+
<a name="GooCanvasItemSimple--fill-pattern"></a><h3>The <code class="literal">"fill-pattern"</code> property</h3>
|
698
|
+
<pre class="programlisting"> "fill-pattern" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write</pre>
|
699
|
+
<p>The pattern to use to paint the interior of the item, or NULL to disable painting.</p>
|
700
|
+
</div>
|
701
|
+
<hr>
|
702
|
+
<div class="refsect2" title='The "fill-pixbuf" property'>
|
703
|
+
<a name="GooCanvasItemSimple--fill-pixbuf"></a><h3>The <code class="literal">"fill-pixbuf"</code> property</h3>
|
704
|
+
<pre class="programlisting"> "fill-pixbuf" <span class="type">GdkPixbuf</span>* : Write</pre>
|
705
|
+
<p>The pixbuf to use to paint the interior of the item. To disable painting set the 'fill-pattern' property to NULL.</p>
|
706
|
+
</div>
|
707
|
+
<hr>
|
708
|
+
<div class="refsect2" title='The "fill-rule" property'>
|
709
|
+
<a name="GooCanvasItemSimple--fill-rule"></a><h3>The <code class="literal">"fill-rule"</code> property</h3>
|
710
|
+
<pre class="programlisting"> "fill-rule" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoFillRule" title="GooCairoFillRule"><span class="type">GooCairoFillRule</span></a> : Read / Write</pre>
|
711
|
+
<p>The fill rule used to determine which parts of the item are filled.</p>
|
712
|
+
<p>Default value: CAIRO_FILL_RULE_WINDING</p>
|
713
|
+
</div>
|
714
|
+
<hr>
|
715
|
+
<div class="refsect2" title='The "font" property'>
|
716
|
+
<a name="GooCanvasItemSimple--font"></a><h3>The <code class="literal">"font"</code> property</h3>
|
717
|
+
<pre class="programlisting"> "font" <span class="type">gchar</span>* : Read / Write</pre>
|
718
|
+
<p>The base font to use for the text.</p>
|
719
|
+
<p>Default value: NULL</p>
|
720
|
+
</div>
|
721
|
+
<hr>
|
722
|
+
<div class="refsect2" title='The "font-desc" property'>
|
723
|
+
<a name="GooCanvasItemSimple--font-desc"></a><h3>The <code class="literal">"font-desc"</code> property</h3>
|
724
|
+
<pre class="programlisting"> "font-desc" <span class="type">PangoFontDescription</span>* : Read / Write</pre>
|
725
|
+
<p>The attributes specifying which font to use.</p>
|
726
|
+
</div>
|
727
|
+
<hr>
|
728
|
+
<div class="refsect2" title='The "hint-metrics" property'>
|
729
|
+
<a name="GooCanvasItemSimple--hint-metrics"></a><h3>The <code class="literal">"hint-metrics"</code> property</h3>
|
730
|
+
<pre class="programlisting"> "hint-metrics" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoHintMetrics" title="GooCairoHintMetrics"><span class="type">GooCairoHintMetrics</span></a> : Read / Write</pre>
|
731
|
+
<p>The hinting to be used for font metrics.</p>
|
732
|
+
<p>Default value: CAIRO_HINT_METRICS_OFF</p>
|
733
|
+
</div>
|
734
|
+
<hr>
|
735
|
+
<div class="refsect2" title='The "line-cap" property'>
|
736
|
+
<a name="GooCanvasItemSimple--line-cap"></a><h3>The <code class="literal">"line-cap"</code> property</h3>
|
737
|
+
<pre class="programlisting"> "line-cap" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineCap" title="GooCairoLineCap"><span class="type">GooCairoLineCap</span></a> : Read / Write</pre>
|
738
|
+
<p>The line cap style to use.</p>
|
739
|
+
<p>Default value: CAIRO_LINE_CAP_BUTT</p>
|
740
|
+
</div>
|
741
|
+
<hr>
|
742
|
+
<div class="refsect2" title='The "line-dash" property'>
|
743
|
+
<a name="GooCanvasItemSimple--line-dash"></a><h3>The <code class="literal">"line-dash"</code> property</h3>
|
744
|
+
<pre class="programlisting"> "line-dash" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCanvasLineDash" title="GooCanvasLineDash"><span class="type">GooCanvasLineDash</span></a>* : Read / Write</pre>
|
745
|
+
<p>The dash pattern to use.</p>
|
746
|
+
</div>
|
747
|
+
<hr>
|
748
|
+
<div class="refsect2" title='The "line-join" property'>
|
749
|
+
<a name="GooCanvasItemSimple--line-join"></a><h3>The <code class="literal">"line-join"</code> property</h3>
|
750
|
+
<pre class="programlisting"> "line-join" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoLineJoin" title="GooCairoLineJoin"><span class="type">GooCairoLineJoin</span></a> : Read / Write</pre>
|
751
|
+
<p>The line join style to use.</p>
|
752
|
+
<p>Default value: CAIRO_LINE_JOIN_MITER</p>
|
753
|
+
</div>
|
754
|
+
<hr>
|
755
|
+
<div class="refsect2" title='The "line-join-miter-limit" property'>
|
756
|
+
<a name="GooCanvasItemSimple--line-join-miter-limit"></a><h3>The <code class="literal">"line-join-miter-limit"</code> property</h3>
|
757
|
+
<pre class="programlisting"> "line-join-miter-limit" <span class="type">gdouble</span> : Read / Write</pre>
|
758
|
+
<p>The smallest angle to use with miter joins, in degrees. Bevel joins will be used below this limit.</p>
|
759
|
+
<p>Allowed values: >= 0</p>
|
760
|
+
<p>Default value: 10</p>
|
761
|
+
</div>
|
762
|
+
<hr>
|
763
|
+
<div class="refsect2" title='The "line-width" property'>
|
764
|
+
<a name="GooCanvasItemSimple--line-width"></a><h3>The <code class="literal">"line-width"</code> property</h3>
|
765
|
+
<pre class="programlisting"> "line-width" <span class="type">gdouble</span> : Read / Write</pre>
|
766
|
+
<p>The line width to use for the item's perimeter.</p>
|
767
|
+
<p>Allowed values: >= 0</p>
|
768
|
+
<p>Default value: 2</p>
|
769
|
+
</div>
|
770
|
+
<hr>
|
771
|
+
<div class="refsect2" title='The "operator" property'>
|
772
|
+
<a name="GooCanvasItemSimple--operator"></a><h3>The <code class="literal">"operator"</code> property</h3>
|
773
|
+
<pre class="programlisting"> "operator" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoOperator" title="GooCairoOperator"><span class="type">GooCairoOperator</span></a> : Read / Write</pre>
|
774
|
+
<p>The compositing operator to use.</p>
|
775
|
+
<p>Default value: CAIRO_OPERATOR_OVER</p>
|
776
|
+
</div>
|
777
|
+
<hr>
|
778
|
+
<div class="refsect2" title='The "stroke-color" property'>
|
779
|
+
<a name="GooCanvasItemSimple--stroke-color"></a><h3>The <code class="literal">"stroke-color"</code> property</h3>
|
780
|
+
<pre class="programlisting"> "stroke-color" <span class="type">gchar</span>* : Write</pre>
|
781
|
+
<p>The color to use for the item's perimeter. To disable painting set the 'stroke-pattern' property to NULL.</p>
|
782
|
+
<p>Default value: NULL</p>
|
783
|
+
</div>
|
784
|
+
<hr>
|
785
|
+
<div class="refsect2" title='The "stroke-color-rgba" property'>
|
786
|
+
<a name="GooCanvasItemSimple--stroke-color-rgba"></a><h3>The <code class="literal">"stroke-color-rgba"</code> property</h3>
|
787
|
+
<pre class="programlisting"> "stroke-color-rgba" <span class="type">guint</span> : Read / Write</pre>
|
788
|
+
<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>
|
789
|
+
<p>Default value: 0</p>
|
790
|
+
</div>
|
791
|
+
<hr>
|
792
|
+
<div class="refsect2" title='The "stroke-pattern" property'>
|
793
|
+
<a name="GooCanvasItemSimple--stroke-pattern"></a><h3>The <code class="literal">"stroke-pattern"</code> property</h3>
|
794
|
+
<pre class="programlisting"> "stroke-pattern" <a class="link" href="goocanvas-GooCanvas-Types.html#GooCairoPattern" title="GooCairoPattern"><span class="type">GooCairoPattern</span></a>* : Read / Write</pre>
|
795
|
+
<p>The pattern to use to paint the perimeter of the item, or NULL disable painting.</p>
|
796
|
+
</div>
|
797
|
+
<hr>
|
798
|
+
<div class="refsect2" title='The "stroke-pixbuf" property'>
|
799
|
+
<a name="GooCanvasItemSimple--stroke-pixbuf"></a><h3>The <code class="literal">"stroke-pixbuf"</code> property</h3>
|
800
|
+
<pre class="programlisting"> "stroke-pixbuf" <span class="type">GdkPixbuf</span>* : Write</pre>
|
801
|
+
<p>The pixbuf to use to draw the item's perimeter. To disable painting set the 'stroke-pattern' property to NULL.</p>
|
802
|
+
</div>
|
803
|
+
</div>
|
804
|
+
</div>
|
805
|
+
<div class="footer">
|
806
|
+
<hr>
|
807
|
+
Generated by GTK-Doc V1.14</div>
|
808
|
+
</body>
|
809
|
+
</html>
|