/usr/share/gtk-doc/html/goocanvas2/GooCanvasStyle.html is in libgoocanvas-2.0-dev 2.0.2-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GooCanvas Reference Manual: GooCanvasStyle</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GooCanvas Reference Manual">
<link rel="up" href="ch02.html" title="Core Objects">
<link rel="prev" href="GooCanvasItemModelSimple.html" title="GooCanvasItemModelSimple">
<link rel="next" href="ch03.html" title="Standard Canvas Items">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#GooCanvasStyle.description" class="shortcut">Description</a>
|
<a href="#GooCanvasStyle.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GooCanvasItemModelSimple.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch03.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GooCanvasStyle"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GooCanvasStyle.top_of_page"></a>GooCanvasStyle</span></h2>
<p>GooCanvasStyle — support for cascading style properties for canvas items.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GooCanvasStyle.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="GooCanvasStyle.html#GooCanvasStyle-struct" title="struct GooCanvasStyle">GooCanvasStyle</a>;
struct <a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty" title="struct GooCanvasStyleProperty">GooCanvasStyleProperty</a>;
<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>);
<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>);
<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>);
<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>,
<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *parent</code></em>);
<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>,
<em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>);
<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>,
<em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>,
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
<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>,
<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>);
<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>,
<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>);
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>;
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>;
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>;
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>;
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>;
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>;
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>;
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>;
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>;
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>;
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>;
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>;
</pre>
</div>
<div class="refsect1">
<a name="GooCanvasStyle.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GooCanvasStyle
</pre>
</div>
<div class="refsect1">
<a name="GooCanvasStyle.description"></a><h2>Description</h2>
<p>
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> provides support for cascading style properties for canvas
items. It is intended to be used when implementing new canvas items.
</p>
<p>
</p>
<div class="note">
<h3 class="title">Note</h3>
<p>
The cascading styles canvas feature may be removed in a future version
of GooCanvas.
</p>
</div>
<p>
</p>
<p>
Style properties are identified by a unique <span class="type">GQuark</span>, and contain
arbitrary data stored in a <span class="type">GValue</span>.
</p>
<p>
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> also provides a few convenience functions such as
<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
<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
standard style properties to the given cairo_t.
</p>
</div>
<div class="refsect1">
<a name="GooCanvasStyle.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GooCanvasStyle-struct"></a><h3>struct GooCanvasStyle</h3>
<pre class="programlisting">struct GooCanvasStyle {
GooCanvasStyle *parent;
GArray *properties;
};
</pre>
<p>
<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
pointer to the parent style.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<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>
<td>the parent style.</td>
</tr>
<tr>
<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>
<td>an array of <a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty" title="struct GooCanvasStyleProperty"><span class="type">GooCanvasStyleProperty</span></a> property settings.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GooCanvasStyleProperty"></a><h3>struct GooCanvasStyleProperty</h3>
<pre class="programlisting">struct GooCanvasStyleProperty {
GQuark id;
GValue value;
};
</pre>
<p>
<a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty" title="struct GooCanvasStyleProperty"><span class="type">GooCanvasStyleProperty</span></a> represents a property setting.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<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>
<td>the unique property identifier.</td>
</tr>
<tr>
<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>
<td>the value of the property.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-new"></a><h3>goo_canvas_style_new ()</h3>
<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>
<p>
Creates a new <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-copy"></a><h3>goo_canvas_style_copy ()</h3>
<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>
<p>
Copies the given <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>, by copying all of its properties.
Though the parent of the new style is left unset.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>a <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a copy of the given <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-get-parent"></a><h3>goo_canvas_style_get_parent ()</h3>
<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>
<p>
Gets the parent of the style.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>a style.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the parent of the given style, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-set-parent"></a><h3>goo_canvas_style_set_parent ()</h3>
<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>,
<em class="parameter"><code><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> *parent</code></em>);</pre>
<p>
Sets the parent of the style.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>a style.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>the new parent.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-get-property"></a><h3>goo_canvas_style_get_property ()</h3>
<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>,
<em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>);</pre>
<p>
Gets the value of a property.
</p>
<p>
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
and also all ancestor <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> objects.
</p>
<p>
Note that it returns a pointer to the internal <span class="type">GValue</span> setting, which should
not be changed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>a style.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
<td>the property identifier.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the property value, or <code class="literal">NULL</code> if it isn't set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-set-property"></a><h3>goo_canvas_style_set_property ()</h3>
<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>,
<em class="parameter"><code><span class="type">GQuark</span> property_id</code></em>,
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
<p>
Sets a property in the style, replacing any current setting.
</p>
<p>
Note that this will override the property setting in ancestor
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a> objects.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>a style.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
<td>the property identifier.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>the value of the property.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-set-fill-options"></a><h3>goo_canvas_style_set_fill_options ()</h3>
<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>,
<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>
<p>
Sets the standard cairo fill options using the given style.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>a style.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
<td>a cairo context.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if a paint source is set, or <code class="literal">FALSE</code> if the fill should
be skipped.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-set-stroke-options"></a><h3>goo_canvas_style_set_stroke_options ()</h3>
<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>,
<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>
<p>
Sets the standard cairo stroke options using the given style.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>a style.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
<td>a cairo context.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if a paint source is set, or <code class="literal">FALSE</code> if the stroke should
be skipped.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-antialias-id"></a><h3>goo_canvas_style_antialias_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_antialias_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard antialias property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-fill-pattern-id"></a><h3>goo_canvas_style_fill_pattern_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_fill_pattern_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard fill pattern property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-fill-rule-id"></a><h3>goo_canvas_style_fill_rule_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_fill_rule_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard fill rule property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-font-desc-id"></a><h3>goo_canvas_style_font_desc_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_font_desc_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard font description property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-hint-metrics-id"></a><h3>goo_canvas_style_hint_metrics_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_hint_metrics_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard hint metrics property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-line-cap-id"></a><h3>goo_canvas_style_line_cap_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_line_cap_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard line cap property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-line-dash-id"></a><h3>goo_canvas_style_line_dash_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_line_dash_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard line dash property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-line-join-id"></a><h3>goo_canvas_style_line_join_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_line_join_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard line join property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-line-join-miter-limit-id"></a><h3>goo_canvas_style_line_join_miter_limit_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_line_join_miter_limit_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard miter limit property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-line-width-id"></a><h3>goo_canvas_style_line_width_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_line_width_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard line width property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-operator-id"></a><h3>goo_canvas_style_operator_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_operator_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard operator property.
</p>
</div>
<hr>
<div class="refsect2">
<a name="goo-canvas-style-stroke-pattern-id"></a><h3>goo_canvas_style_stroke_pattern_id</h3>
<pre class="programlisting">extern GQuark goo_canvas_style_stroke_pattern_id;
</pre>
<p>
Unique <span class="type">GQuark</span> identifier used for the standard stroke pattern property.
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
|