goocanvas 0.90.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. data/ChangeLog +87 -0
  2. data/README +37 -0
  3. data/Rakefile +14 -0
  4. data/ext/goocanvas/depend +5 -0
  5. data/ext/goocanvas/extconf.rb +66 -0
  6. data/ext/goocanvas/goocanvas.def +2 -0
  7. data/ext/goocanvas/rbgoocairo.c +74 -0
  8. data/ext/goocanvas/rbgoocanvas.c +236 -0
  9. data/ext/goocanvas/rbgoocanvas.h +66 -0
  10. data/ext/goocanvas/rbgoocanvasellipse.c +50 -0
  11. data/ext/goocanvas/rbgoocanvasgroup.c +41 -0
  12. data/ext/goocanvas/rbgoocanvasimage.c +45 -0
  13. data/ext/goocanvas/rbgoocanvasitem.c +358 -0
  14. data/ext/goocanvas/rbgoocanvaspolyline.c +102 -0
  15. data/ext/goocanvas/rbgoocanvasrect.c +47 -0
  16. data/ext/goocanvas/rbgoocanvasstyle.c +61 -0
  17. data/ext/goocanvas/rbgoocanvastable.c +41 -0
  18. data/ext/goocanvas/rbgoocanvastext.c +58 -0
  19. data/ext/goocanvas/rbgoocanvaswidget.c +48 -0
  20. data/ext/goocanvas/rbgooutils.c +44 -0
  21. data/extconf.rb +49 -0
  22. data/lib/1.8/goocanvas.so +0 -0
  23. data/lib/1.9/goocanvas.so +0 -0
  24. data/lib/goocanvas.rb +145 -0
  25. data/sample/demo-arrowhead.rb +315 -0
  26. data/sample/demo-fifteen.rb +218 -0
  27. data/sample/demo-primitives.rb +720 -0
  28. data/sample/demo.rb +84 -0
  29. data/sample/flower.png +0 -0
  30. data/sample/scalability-demo.rb +130 -0
  31. data/sample/simple-demo.rb +35 -0
  32. data/sample/table-demo.rb +137 -0
  33. data/sample/toroid.png +0 -0
  34. data/sample/units-demo.rb +80 -0
  35. data/sample/widgets-demo.rb +197 -0
  36. data/vendor/local/bin/libgoocanvas-3.dll +0 -0
  37. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvas.h +334 -0
  38. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasatk.h +22 -0
  39. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasellipse.h +120 -0
  40. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasenumtypes.h +33 -0
  41. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgrid.h +153 -0
  42. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasgroup.h +109 -0
  43. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasimage.h +121 -0
  44. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitem.h +479 -0
  45. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemmodel.h +275 -0
  46. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasitemsimple.h +247 -0
  47. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasmarshal.h +61 -0
  48. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspath.h +116 -0
  49. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaspolyline.h +176 -0
  50. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasprivate.h +59 -0
  51. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasrect.h +121 -0
  52. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasstyle.h +110 -0
  53. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastable.h +139 -0
  54. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvastext.h +133 -0
  55. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvasutils.h +333 -0
  56. data/vendor/local/include/goocanvas-1.0.0/goocanvas/goocanvaswidget.h +66 -0
  57. data/vendor/local/include/goocanvas-1.0.0/goocanvas/stamp-goocanvasmarshal.h +1 -0
  58. data/vendor/local/lib/libgoocanvas.a +0 -0
  59. data/vendor/local/lib/libgoocanvas.dll.a +0 -0
  60. data/vendor/local/lib/pkgconfig/goocanvas.pc +13 -0
  61. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvas.html +1982 -0
  62. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipse.html +269 -0
  63. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasEllipseModel.html +274 -0
  64. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGrid.html +469 -0
  65. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGridModel.html +476 -0
  66. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroup.html +183 -0
  67. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasGroupModel.html +184 -0
  68. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImage.html +247 -0
  69. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasImageModel.html +252 -0
  70. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItem.html +3014 -0
  71. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModel.html +1764 -0
  72. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemModelSimple.html +298 -0
  73. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasItemSimple.html +809 -0
  74. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPath.html +279 -0
  75. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPathModel.html +280 -0
  76. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolyline.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasPolylineModel.html +375 -0
  78. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRect.html +247 -0
  79. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasRectModel.html +252 -0
  80. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasStyle.html +489 -0
  81. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTable.html +452 -0
  82. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTableModel.html +452 -0
  83. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasText.html +324 -0
  84. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasTextModel.html +287 -0
  85. data/vendor/local/share/gtk-doc/html/goocanvas/GooCanvasWidget.html +266 -0
  86. data/vendor/local/share/gtk-doc/html/goocanvas/ch01.html +53 -0
  87. data/vendor/local/share/gtk-doc/html/goocanvas/ch02.html +50 -0
  88. data/vendor/local/share/gtk-doc/html/goocanvas/ch03.html +62 -0
  89. data/vendor/local/share/gtk-doc/html/goocanvas/ch04.html +60 -0
  90. data/vendor/local/share/gtk-doc/html/goocanvas/ch05.html +33 -0
  91. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-GooCanvas-Types.html +815 -0
  92. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-architecture.html +157 -0
  93. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-coordinates.html +106 -0
  94. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-creating-items.html +420 -0
  95. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-model-view-canvas.html +246 -0
  96. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-overview.html +106 -0
  97. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-simple-canvas.html +238 -0
  98. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas-wysiwyg.html +84 -0
  99. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp +608 -0
  100. data/vendor/local/share/gtk-doc/html/goocanvas/goocanvas.devhelp2 +639 -0
  101. data/vendor/local/share/gtk-doc/html/goocanvas/home.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/goocanvas/index.html +138 -0
  103. data/vendor/local/share/gtk-doc/html/goocanvas/index.sgml +814 -0
  104. data/vendor/local/share/gtk-doc/html/goocanvas/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/goocanvas/right.png +0 -0
  106. data/vendor/local/share/gtk-doc/html/goocanvas/style.css +257 -0
  107. data/vendor/local/share/gtk-doc/html/goocanvas/up.png +0 -0
  108. data/vendor/local/share/gtk-doc/tmpl/goocanvas/dummy.sgml +0 -0
  109. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas-unused.sgml +0 -0
  110. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvas.sgml +536 -0
  111. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipse.sgml +82 -0
  112. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasellipsemodel.sgml +82 -0
  113. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgrid.sgml +176 -0
  114. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgridmodel.sgml +176 -0
  115. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroup.sgml +58 -0
  116. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasgroupmodel.sgml +58 -0
  117. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimage.sgml +81 -0
  118. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasimagemodel.sgml +81 -0
  119. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitem.sgml +773 -0
  120. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodel.sgml +490 -0
  121. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemmodelsimple.sgml +135 -0
  122. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasitemsimple.sgml +254 -0
  123. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspath.sgml +64 -0
  124. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspathmodel.sgml +64 -0
  125. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolyline.sgml +109 -0
  126. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaspolylinemodel.sgml +109 -0
  127. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrect.sgml +72 -0
  128. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasrectmodel.sgml +72 -0
  129. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasstyle.sgml +186 -0
  130. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastable.sgml +158 -0
  131. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastablemodel.sgml +158 -0
  132. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastext.sgml +103 -0
  133. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvastextmodel.sgml +93 -0
  134. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvasutils.sgml +241 -0
  135. data/vendor/local/share/gtk-doc/tmpl/goocanvas/goocanvaswidget.sgml +73 -0
  136. metadata +218 -0
@@ -0,0 +1,489 @@
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>GooCanvasStyle</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="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">
10
+ <link rel="next" href="ch03.html" title="Standard Canvas Items">
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="GooCanvasItemModelSimple.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="ch03.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="#GooCanvasStyle.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#GooCanvasStyle.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#GooCanvasStyle.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
+ </td></tr>
30
+ </table>
31
+ <div class="refentry" title="GooCanvasStyle">
32
+ <a name="GooCanvasStyle"></a><div class="titlepage"></div>
33
+ <div class="refnamediv"><table width="100%"><tr>
34
+ <td valign="top">
35
+ <h2><span class="refentrytitle"><a name="GooCanvasStyle.top_of_page"></a>GooCanvasStyle</span></h2>
36
+ <p>GooCanvasStyle — support for cascading style properties for canvas items.</p>
37
+ </td>
38
+ <td valign="top" align="right"></td>
39
+ </tr></table></div>
40
+ <div class="refsynopsisdiv" title="Synopsis">
41
+ <a name="GooCanvasStyle.synopsis"></a><h2>Synopsis</h2>
42
+ <pre class="synopsis"> <a class="link" href="GooCanvasStyle.html#GooCanvasStyle-struct" title="GooCanvasStyle">GooCanvasStyle</a>;
43
+ <a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty" title="GooCanvasStyleProperty">GooCanvasStyleProperty</a>;
44
+
45
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-new" title="goo_canvas_style_new ()">goo_canvas_style_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
46
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-copy" title="goo_canvas_style_copy ()">goo_canvas_style_copy</a> (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);
47
+
48
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-get-parent" title="goo_canvas_style_get_parent ()">goo_canvas_style_get_parent</a> (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);
49
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-parent" title="goo_canvas_style_set_parent ()">goo_canvas_style_set_parent</a> (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
50
+ <em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *parent</code></em>);
51
+
52
+ <span class="returnvalue">GValue</span>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-get-property" title="goo_canvas_style_get_property ()">goo_canvas_style_get_property</a> (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
53
+ <em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>);
54
+ <span class="returnvalue">void</span> <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-property" title="goo_canvas_style_set_property ()">goo_canvas_style_set_property</a> (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
55
+ <em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>,
56
+ <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
57
+
58
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-fill-options" title="goo_canvas_style_set_fill_options ()">goo_canvas_style_set_fill_options</a> (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</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
+ <span class="returnvalue">gboolean</span> <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-stroke-options" title="goo_canvas_style_set_stroke_options ()">goo_canvas_style_set_stroke_options</a> (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
61
+ <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>);
62
+
63
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-antialias-id" title="goo_canvas_style_antialias_id">goo_canvas_style_antialias_id</a>;
64
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-fill-pattern-id" title="goo_canvas_style_fill_pattern_id">goo_canvas_style_fill_pattern_id</a>;
65
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-fill-rule-id" title="goo_canvas_style_fill_rule_id">goo_canvas_style_fill_rule_id</a>;
66
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-font-desc-id" title="goo_canvas_style_font_desc_id">goo_canvas_style_font_desc_id</a>;
67
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-hint-metrics-id" title="goo_canvas_style_hint_metrics_id">goo_canvas_style_hint_metrics_id</a>;
68
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-line-cap-id" title="goo_canvas_style_line_cap_id">goo_canvas_style_line_cap_id</a>;
69
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-line-dash-id" title="goo_canvas_style_line_dash_id">goo_canvas_style_line_dash_id</a>;
70
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-line-join-id" title="goo_canvas_style_line_join_id">goo_canvas_style_line_join_id</a>;
71
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-line-join-miter-limit-id" title="goo_canvas_style_line_join_miter_limit_id">goo_canvas_style_line_join_miter_limit_id</a>;
72
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-line-width-id" title="goo_canvas_style_line_width_id">goo_canvas_style_line_width_id</a>;
73
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-operator-id" title="goo_canvas_style_operator_id">goo_canvas_style_operator_id</a>;
74
+ extern GQuark <a class="link" href="GooCanvasStyle.html#goo-canvas-style-stroke-pattern-id" title="goo_canvas_style_stroke_pattern_id">goo_canvas_style_stroke_pattern_id</a>;
75
+ </pre>
76
+ </div>
77
+ <div class="refsect1" title="Object Hierarchy">
78
+ <a name="GooCanvasStyle.object-hierarchy"></a><h2>Object Hierarchy</h2>
79
+ <pre class="synopsis">
80
+ GObject
81
+ +----GooCanvasStyle
82
+ </pre>
83
+ </div>
84
+ <div class="refsect1" title="Description">
85
+ <a name="GooCanvasStyle.description"></a><h2>Description</h2>
86
+ <p>
87
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> provides support for cascading style properties for canvas
88
+ items. It is intended to be used when implementing new canvas items.
89
+ </p>
90
+ <p>
91
+ Style properties are identified by a unique <span class="type">GQuark</span>, and contain
92
+ arbitrary data stored in a <span class="type">GValue</span>.
93
+ </p>
94
+ <p>
95
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> also provides a few convenience functions such as
96
+ <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-stroke-options" title="goo_canvas_style_set_stroke_options ()"><code class="function">goo_canvas_style_set_stroke_options()</code></a> and
97
+ <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-fill-options" title="goo_canvas_style_set_fill_options ()"><code class="function">goo_canvas_style_set_fill_options()</code></a> which efficiently apply an item's
98
+ standard style properties to the given cairo_t.
99
+ </p>
100
+ </div>
101
+ <div class="refsect1" title="Details">
102
+ <a name="GooCanvasStyle.details"></a><h2>Details</h2>
103
+ <div class="refsect2" title="GooCanvasStyle">
104
+ <a name="GooCanvasStyle-struct"></a><h3>GooCanvasStyle</h3>
105
+ <pre class="programlisting">typedef struct {
106
+ GooCanvasStyle *parent;
107
+ GArray *properties;
108
+ } GooCanvasStyle;
109
+ </pre>
110
+ <p>
111
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> holds the style properties of a canvas item, as well as a
112
+ pointer to the parent style.
113
+ </p>
114
+ <div class="variablelist"><table border="0">
115
+ <col align="left" valign="top">
116
+ <tbody>
117
+ <tr>
118
+ <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="GooCanvasStyle-struct.parent"></a>parent</code></em>;</span></p></td>
119
+ <td>the parent style.
120
+ </td>
121
+ </tr>
122
+ <tr>
123
+ <td><p><span class="term"><span class="type">GArray</span> *<em class="structfield"><code><a name="GooCanvasStyle-struct.properties"></a>properties</code></em>;</span></p></td>
124
+ <td>an array of <a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty" title="GooCanvasStyleProperty"><span class="type">GooCanvasStyleProperty</span></a> property settings.
125
+ </td>
126
+ </tr>
127
+ </tbody>
128
+ </table></div>
129
+ </div>
130
+ <hr>
131
+ <div class="refsect2" title="GooCanvasStyleProperty">
132
+ <a name="GooCanvasStyleProperty"></a><h3>GooCanvasStyleProperty</h3>
133
+ <pre class="programlisting">typedef struct {
134
+ GQuark id;
135
+ GValue value;
136
+ } GooCanvasStyleProperty;
137
+ </pre>
138
+ <p>
139
+ <a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty" title="GooCanvasStyleProperty"><span class="type">GooCanvasStyleProperty</span></a> represents a property setting.
140
+ </p>
141
+ <div class="variablelist"><table border="0">
142
+ <col align="left" valign="top">
143
+ <tbody>
144
+ <tr>
145
+ <td><p><span class="term"><span class="type">GQuark</span> <em class="structfield"><code><a name="GooCanvasStyleProperty.id"></a>id</code></em>;</span></p></td>
146
+ <td>the unique property identifier.
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <td><p><span class="term"><span class="type">GValue</span> <em class="structfield"><code><a name="GooCanvasStyleProperty.value"></a>value</code></em>;</span></p></td>
151
+ <td>the value of the property.
152
+ </td>
153
+ </tr>
154
+ </tbody>
155
+ </table></div>
156
+ </div>
157
+ <hr>
158
+ <div class="refsect2" title="goo_canvas_style_new ()">
159
+ <a name="goo-canvas-style-new"></a><h3>goo_canvas_style_new ()</h3>
160
+ <pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* goo_canvas_style_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
161
+ <p>
162
+ Creates a new <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>.
163
+ </p>
164
+ <div class="variablelist"><table border="0">
165
+ <col align="left" valign="top">
166
+ <tbody><tr>
167
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
168
+ <td> a new <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>.
169
+ </td>
170
+ </tr></tbody>
171
+ </table></div>
172
+ </div>
173
+ <hr>
174
+ <div class="refsect2" title="goo_canvas_style_copy ()">
175
+ <a name="goo-canvas-style-copy"></a><h3>goo_canvas_style_copy ()</h3>
176
+ <pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* goo_canvas_style_copy (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);</pre>
177
+ <p>
178
+ Copies the given <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>, by copying all of its properties.
179
+ Though the parent of the new style is left unset.
180
+ </p>
181
+ <div class="variablelist"><table border="0">
182
+ <col align="left" valign="top">
183
+ <tbody>
184
+ <tr>
185
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
186
+ <td>a <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>.
187
+ </td>
188
+ </tr>
189
+ <tr>
190
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
191
+ <td> a copy of the given <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>.
192
+ </td>
193
+ </tr>
194
+ </tbody>
195
+ </table></div>
196
+ </div>
197
+ <hr>
198
+ <div class="refsect2" title="goo_canvas_style_get_parent ()">
199
+ <a name="goo-canvas-style-get-parent"></a><h3>goo_canvas_style_get_parent ()</h3>
200
+ <pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="returnvalue">GooCanvasStyle</span></a>* goo_canvas_style_get_parent (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>);</pre>
201
+ <p>
202
+ Gets the parent of the style.
203
+ </p>
204
+ <div class="variablelist"><table border="0">
205
+ <col align="left" valign="top">
206
+ <tbody>
207
+ <tr>
208
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
209
+ <td>a style.
210
+ </td>
211
+ </tr>
212
+ <tr>
213
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
214
+ <td> the parent of the given style, or <code class="literal">NULL</code>.
215
+ </td>
216
+ </tr>
217
+ </tbody>
218
+ </table></div>
219
+ </div>
220
+ <hr>
221
+ <div class="refsect2" title="goo_canvas_style_set_parent ()">
222
+ <a name="goo-canvas-style-set-parent"></a><h3>goo_canvas_style_set_parent ()</h3>
223
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_style_set_parent (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
224
+ <em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *parent</code></em>);</pre>
225
+ <p>
226
+ Sets the parent of the style.
227
+ </p>
228
+ <div class="variablelist"><table border="0">
229
+ <col align="left" valign="top">
230
+ <tbody>
231
+ <tr>
232
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
233
+ <td>a style.
234
+ </td>
235
+ </tr>
236
+ <tr>
237
+ <td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
238
+ <td>the new parent.
239
+ </td>
240
+ </tr>
241
+ </tbody>
242
+ </table></div>
243
+ </div>
244
+ <hr>
245
+ <div class="refsect2" title="goo_canvas_style_get_property ()">
246
+ <a name="goo-canvas-style-get-property"></a><h3>goo_canvas_style_get_property ()</h3>
247
+ <pre class="programlisting"><span class="returnvalue">GValue</span>* goo_canvas_style_get_property (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
248
+ <em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>);</pre>
249
+ <p>
250
+ Gets the value of a property.
251
+ </p>
252
+ <p>
253
+ This searches though all the <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>'s own list of property settings
254
+ and also all ancestor <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> objects.
255
+ </p>
256
+ <p>
257
+ Note that it returns a pointer to the internal <span class="type">GValue</span> setting, which should
258
+ not be changed.
259
+ </p>
260
+ <div class="variablelist"><table border="0">
261
+ <col align="left" valign="top">
262
+ <tbody>
263
+ <tr>
264
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
265
+ <td>a style.
266
+ </td>
267
+ </tr>
268
+ <tr>
269
+ <td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
270
+ <td>the property identifier.
271
+ </td>
272
+ </tr>
273
+ <tr>
274
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
275
+ <td> the property value, or <code class="literal">NULL</code> if it isn't set.
276
+ </td>
277
+ </tr>
278
+ </tbody>
279
+ </table></div>
280
+ </div>
281
+ <hr>
282
+ <div class="refsect2" title="goo_canvas_style_set_property ()">
283
+ <a name="goo-canvas-style-set-property"></a><h3>goo_canvas_style_set_property ()</h3>
284
+ <pre class="programlisting"><span class="returnvalue">void</span> goo_canvas_style_set_property (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
285
+ <em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>,
286
+ <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
287
+ <p>
288
+ Sets a property in the style, replacing any current setting.
289
+ </p>
290
+ <p>
291
+ Note that this will override the property setting in ancestor
292
+ <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> objects.
293
+ </p>
294
+ <div class="variablelist"><table border="0">
295
+ <col align="left" valign="top">
296
+ <tbody>
297
+ <tr>
298
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
299
+ <td>a style.
300
+ </td>
301
+ </tr>
302
+ <tr>
303
+ <td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
304
+ <td>the property identifier.
305
+ </td>
306
+ </tr>
307
+ <tr>
308
+ <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
309
+ <td>the value of the property.
310
+ </td>
311
+ </tr>
312
+ </tbody>
313
+ </table></div>
314
+ </div>
315
+ <hr>
316
+ <div class="refsect2" title="goo_canvas_style_set_fill_options ()">
317
+ <a name="goo-canvas-style-set-fill-options"></a><h3>goo_canvas_style_set_fill_options ()</h3>
318
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_style_set_fill_options (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
319
+ <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>
320
+ <p>
321
+ Sets the standard cairo fill options using the given style.
322
+ </p>
323
+ <div class="variablelist"><table border="0">
324
+ <col align="left" valign="top">
325
+ <tbody>
326
+ <tr>
327
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
328
+ <td>a style.
329
+ </td>
330
+ </tr>
331
+ <tr>
332
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
333
+ <td>a cairo context.
334
+ </td>
335
+ </tr>
336
+ <tr>
337
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
338
+ <td> <code class="literal">TRUE</code> if a paint source is set, or <code class="literal">FALSE</code> if the fill should
339
+ be skipped.
340
+ </td>
341
+ </tr>
342
+ </tbody>
343
+ </table></div>
344
+ </div>
345
+ <hr>
346
+ <div class="refsect2" title="goo_canvas_style_set_stroke_options ()">
347
+ <a name="goo-canvas-style-set-stroke-options"></a><h3>goo_canvas_style_set_stroke_options ()</h3>
348
+ <pre class="programlisting"><span class="returnvalue">gboolean</span> goo_canvas_style_set_stroke_options (<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *style</code></em>,
349
+ <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>
350
+ <p>
351
+ Sets the standard cairo stroke options using the given style.
352
+ </p>
353
+ <div class="variablelist"><table border="0">
354
+ <col align="left" valign="top">
355
+ <tbody>
356
+ <tr>
357
+ <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
358
+ <td>a style.
359
+ </td>
360
+ </tr>
361
+ <tr>
362
+ <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
363
+ <td>a cairo context.
364
+ </td>
365
+ </tr>
366
+ <tr>
367
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
368
+ <td> <code class="literal">TRUE</code> if a paint source is set, or <code class="literal">FALSE</code> if the stroke should
369
+ be skipped.
370
+ </td>
371
+ </tr>
372
+ </tbody>
373
+ </table></div>
374
+ </div>
375
+ <hr>
376
+ <div class="refsect2" title="goo_canvas_style_antialias_id">
377
+ <a name="goo-canvas-style-antialias-id"></a><h3>goo_canvas_style_antialias_id</h3>
378
+ <pre class="programlisting">extern GQuark goo_canvas_style_antialias_id;
379
+ </pre>
380
+ <p>
381
+ Unique <span class="type">GQuark</span> identifier used for the standard antialias property.
382
+ </p>
383
+ </div>
384
+ <hr>
385
+ <div class="refsect2" title="goo_canvas_style_fill_pattern_id">
386
+ <a name="goo-canvas-style-fill-pattern-id"></a><h3>goo_canvas_style_fill_pattern_id</h3>
387
+ <pre class="programlisting">extern GQuark goo_canvas_style_fill_pattern_id;
388
+ </pre>
389
+ <p>
390
+ Unique <span class="type">GQuark</span> identifier used for the standard fill pattern property.
391
+ </p>
392
+ </div>
393
+ <hr>
394
+ <div class="refsect2" title="goo_canvas_style_fill_rule_id">
395
+ <a name="goo-canvas-style-fill-rule-id"></a><h3>goo_canvas_style_fill_rule_id</h3>
396
+ <pre class="programlisting">extern GQuark goo_canvas_style_fill_rule_id;
397
+ </pre>
398
+ <p>
399
+ Unique <span class="type">GQuark</span> identifier used for the standard fill rule property.
400
+ </p>
401
+ </div>
402
+ <hr>
403
+ <div class="refsect2" title="goo_canvas_style_font_desc_id">
404
+ <a name="goo-canvas-style-font-desc-id"></a><h3>goo_canvas_style_font_desc_id</h3>
405
+ <pre class="programlisting">extern GQuark goo_canvas_style_font_desc_id;
406
+ </pre>
407
+ <p>
408
+ Unique <span class="type">GQuark</span> identifier used for the standard font description property.
409
+ </p>
410
+ </div>
411
+ <hr>
412
+ <div class="refsect2" title="goo_canvas_style_hint_metrics_id">
413
+ <a name="goo-canvas-style-hint-metrics-id"></a><h3>goo_canvas_style_hint_metrics_id</h3>
414
+ <pre class="programlisting">extern GQuark goo_canvas_style_hint_metrics_id;
415
+ </pre>
416
+ <p>
417
+ Unique <span class="type">GQuark</span> identifier used for the standard hint metrics property.
418
+ </p>
419
+ </div>
420
+ <hr>
421
+ <div class="refsect2" title="goo_canvas_style_line_cap_id">
422
+ <a name="goo-canvas-style-line-cap-id"></a><h3>goo_canvas_style_line_cap_id</h3>
423
+ <pre class="programlisting">extern GQuark goo_canvas_style_line_cap_id;
424
+ </pre>
425
+ <p>
426
+ Unique <span class="type">GQuark</span> identifier used for the standard line cap property.
427
+ </p>
428
+ </div>
429
+ <hr>
430
+ <div class="refsect2" title="goo_canvas_style_line_dash_id">
431
+ <a name="goo-canvas-style-line-dash-id"></a><h3>goo_canvas_style_line_dash_id</h3>
432
+ <pre class="programlisting">extern GQuark goo_canvas_style_line_dash_id;
433
+ </pre>
434
+ <p>
435
+ Unique <span class="type">GQuark</span> identifier used for the standard line dash property.
436
+ </p>
437
+ </div>
438
+ <hr>
439
+ <div class="refsect2" title="goo_canvas_style_line_join_id">
440
+ <a name="goo-canvas-style-line-join-id"></a><h3>goo_canvas_style_line_join_id</h3>
441
+ <pre class="programlisting">extern GQuark goo_canvas_style_line_join_id;
442
+ </pre>
443
+ <p>
444
+ Unique <span class="type">GQuark</span> identifier used for the standard line join property.
445
+ </p>
446
+ </div>
447
+ <hr>
448
+ <div class="refsect2" title="goo_canvas_style_line_join_miter_limit_id">
449
+ <a name="goo-canvas-style-line-join-miter-limit-id"></a><h3>goo_canvas_style_line_join_miter_limit_id</h3>
450
+ <pre class="programlisting">extern GQuark goo_canvas_style_line_join_miter_limit_id;
451
+ </pre>
452
+ <p>
453
+ Unique <span class="type">GQuark</span> identifier used for the standard miter limit property.
454
+ </p>
455
+ </div>
456
+ <hr>
457
+ <div class="refsect2" title="goo_canvas_style_line_width_id">
458
+ <a name="goo-canvas-style-line-width-id"></a><h3>goo_canvas_style_line_width_id</h3>
459
+ <pre class="programlisting">extern GQuark goo_canvas_style_line_width_id;
460
+ </pre>
461
+ <p>
462
+ Unique <span class="type">GQuark</span> identifier used for the standard line width property.
463
+ </p>
464
+ </div>
465
+ <hr>
466
+ <div class="refsect2" title="goo_canvas_style_operator_id">
467
+ <a name="goo-canvas-style-operator-id"></a><h3>goo_canvas_style_operator_id</h3>
468
+ <pre class="programlisting">extern GQuark goo_canvas_style_operator_id;
469
+ </pre>
470
+ <p>
471
+ Unique <span class="type">GQuark</span> identifier used for the standard operator property.
472
+ </p>
473
+ </div>
474
+ <hr>
475
+ <div class="refsect2" title="goo_canvas_style_stroke_pattern_id">
476
+ <a name="goo-canvas-style-stroke-pattern-id"></a><h3>goo_canvas_style_stroke_pattern_id</h3>
477
+ <pre class="programlisting">extern GQuark goo_canvas_style_stroke_pattern_id;
478
+ </pre>
479
+ <p>
480
+ Unique <span class="type">GQuark</span> identifier used for the standard stroke pattern property.
481
+ </p>
482
+ </div>
483
+ </div>
484
+ </div>
485
+ <div class="footer">
486
+ <hr>
487
+ Generated by GTK-Doc V1.14</div>
488
+ </body>
489
+ </html>