/usr/share/gtk-doc/html/goocanvas/GooCanvasStyle.html is in libgoocanvas-dev 0.15-1.1ubuntu1.
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 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GooCanvasStyle</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" 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.9 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Introduction">
<link rel="chapter" href="ch02.html" title="Core Objects">
<link rel="chapter" href="ch03.html" title="Standard Canvas Items">
<link rel="chapter" href="ch04.html" title="Standard Canvas Item Models">
<link rel="chapter" href="ch05.html" title="Miscellaneous">
</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="2">
<tr valign="middle">
<td><a accesskey="p" href="GooCanvasItemModelSimple.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GooCanvas Reference Manual</th>
<td><a accesskey="n" href="ch03.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3052974" class="shortcut">Top</a>
 | 
<a href="#id3050039" class="shortcut">Description</a>
 | 
<a href="#id3050016" class="shortcut">Object Hierarchy</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GooCanvasStyle"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3052974"></a><span class="refentrytitle">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">
<h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GooCanvasStyle.html#GooCanvasStyle-struct">GooCanvasStyle</a>;
<a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty">GooCanvasStyleProperty</a>;
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-new">goo_canvas_style_new</a> (void);
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-copy">goo_canvas_style_copy</a> (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style);
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-get-parent">goo_canvas_style_get_parent</a> (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style);
void <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-parent">goo_canvas_style_set_parent</a> (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *parent);
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a>* <a class="link" href="GooCanvasStyle.html#goo-canvas-style-get-property">goo_canvas_style_get_property</a> (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
>GQuark</a> property_id);
void <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-property">goo_canvas_style_set_property</a> (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
>GQuark</a> property_id,
const <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-fill-options">goo_canvas_style_set_fill_options</a> (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GooCanvasStyle.html#goo-canvas-style-set-stroke-options">goo_canvas_style_set_stroke_options</a> (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr);
extern GQuark <a class="link" href="GooCanvasStyle.html#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">goo_canvas_style_fill_pattern_id</a>;
extern GQuark <a class="link" href="GooCanvasStyle.html#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">goo_canvas_style_font_desc_id</a>;
extern GQuark <a class="link" href="GooCanvasStyle.html#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">goo_canvas_style_line_cap_id</a>;
extern GQuark <a class="link" href="GooCanvasStyle.html#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">goo_canvas_style_line_join_id</a>;
extern GQuark <a class="link" href="GooCanvasStyle.html#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">goo_canvas_style_line_width_id</a>;
extern GQuark <a class="link" href="GooCanvasStyle.html#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">goo_canvas_style_stroke_pattern_id</a>;
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3050016"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GooCanvasStyle
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3050039"></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>
Style properties are identified by a unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a>, and contain
arbitrary data stored in a <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
><span class="type">GValue</span></a>.
</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"><code class="function">goo_canvas_style_set_stroke_options()</code></a> and
<a class="link" href="GooCanvasStyle.html#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>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3093845"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3093856"></a><h3>
<a name="GooCanvasStyle-struct"></a>GooCanvasStyle</h3>
<a class="indexterm" name="id3093867"></a><pre class="programlisting">typedef struct {
GooCanvasStyle *parent;
GArray *properties;
} GooCanvasStyle;
</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>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *<em class="structfield"><code>parent</code></em>;</span></p></td>
<td> the parent style.
</td>
</tr>
<tr>
<td><p><span class="term"><a
href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"
>GArray</a> *<em class="structfield"><code>properties</code></em>;</span></p></td>
<td> an array of <a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty"><span class="type">GooCanvasStyleProperty</span></a> property settings.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3093949"></a><h3>
<a name="GooCanvasStyleProperty"></a>GooCanvasStyleProperty</h3>
<a class="indexterm" name="id3093961"></a><pre class="programlisting">typedef struct {
GQuark id;
GValue value;
} GooCanvasStyleProperty;
</pre>
<p>
<a class="link" href="GooCanvasStyle.html#GooCanvasStyleProperty"><span class="type">GooCanvasStyleProperty</span></a> represents a property setting.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
>GQuark</a> <em class="structfield"><code>id</code></em>;</span></p></td>
<td> the unique property identifier.
</td>
</tr>
<tr>
<td><p><span class="term"><a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> <em class="structfield"><code>value</code></em>;</span></p></td>
<td> the value of the property.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3094034"></a><h3>
<a name="goo-canvas-style-new"></a>goo_canvas_style_new ()</h3>
<a class="indexterm" name="id3094046"></a><pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a>* goo_canvas_style_new (void);</pre>
<p>
Creates a new <a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle"><span class="type">GooCanvasStyle</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3094100"></a><h3>
<a name="goo-canvas-style-copy"></a>goo_canvas_style_copy ()</h3>
<a class="indexterm" name="id3094112"></a><pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a>* goo_canvas_style_copy (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style);</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>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3094194"></a><h3>
<a name="goo-canvas-style-get-parent"></a>goo_canvas_style_get_parent ()</h3>
<a class="indexterm" name="id3094206"></a><pre class="programlisting"><a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a>* goo_canvas_style_get_parent (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style);</pre>
<p>
Gets the parent of the style.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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 <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3094276"></a><h3>
<a name="goo-canvas-style-set-parent"></a>goo_canvas_style_set_parent ()</h3>
<a class="indexterm" name="id3094288"></a><pre class="programlisting">void goo_canvas_style_set_parent (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *parent);</pre>
<p>
Sets the parent of the style.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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" lang="en">
<a name="id3106319"></a><h3>
<a name="goo-canvas-style-get-property"></a>goo_canvas_style_get_property ()</h3>
<a class="indexterm" name="id3106332"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a>* goo_canvas_style_get_property (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
>GQuark</a> property_id);</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 <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
><span class="type">GValue</span></a> setting, which should
not be changed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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 <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if it isn't set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3106455"></a><h3>
<a name="goo-canvas-style-set-property"></a>goo_canvas_style_set_property ()</h3>
<a class="indexterm" name="id3106468"></a><pre class="programlisting">void goo_canvas_style_set_property (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
>GQuark</a> property_id,
const <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);</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>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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" lang="en">
<a name="id3106574"></a><h3>
<a name="goo-canvas-style-set-fill-options"></a>goo_canvas_style_set_fill_options ()</h3>
<a class="indexterm" name="id3106587"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> goo_canvas_style_set_fill_options (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr);</pre>
<p>
Sets the standard cairo fill options using the given style.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if a paint source is set, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if the fill should
be skipped.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3106689"></a><h3>
<a name="goo-canvas-style-set-stroke-options"></a>goo_canvas_style_set_stroke_options ()</h3>
<a class="indexterm" name="id3106703"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> goo_canvas_style_set_stroke_options (<a class="link" href="GooCanvasStyle.html" title="GooCanvasStyle">GooCanvasStyle</a> *style,
<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr);</pre>
<p>
Sets the standard cairo stroke options using the given style.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<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> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if a paint source is set, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if the stroke should
be skipped.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3106805"></a><h3>
<a name="goo-canvas-style-antialias-id"></a>goo_canvas_style_antialias_id</h3>
<a class="indexterm" name="id3106818"></a><pre class="programlisting">extern GQuark goo_canvas_style_antialias_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard antialias property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3106846"></a><h3>
<a name="goo-canvas-style-fill-pattern-id"></a>goo_canvas_style_fill_pattern_id</h3>
<a class="indexterm" name="id3106859"></a><pre class="programlisting">extern GQuark goo_canvas_style_fill_pattern_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard fill pattern property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3106888"></a><h3>
<a name="goo-canvas-style-fill-rule-id"></a>goo_canvas_style_fill_rule_id</h3>
<a class="indexterm" name="id3106901"></a><pre class="programlisting">extern GQuark goo_canvas_style_fill_rule_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard fill rule property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3106929"></a><h3>
<a name="goo-canvas-style-font-desc-id"></a>goo_canvas_style_font_desc_id</h3>
<a class="indexterm" name="id3106942"></a><pre class="programlisting">extern GQuark goo_canvas_style_font_desc_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard font description property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3106971"></a><h3>
<a name="goo-canvas-style-hint-metrics-id"></a>goo_canvas_style_hint_metrics_id</h3>
<a class="indexterm" name="id3106984"></a><pre class="programlisting">extern GQuark goo_canvas_style_hint_metrics_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard hint metrics property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107012"></a><h3>
<a name="goo-canvas-style-line-cap-id"></a>goo_canvas_style_line_cap_id</h3>
<a class="indexterm" name="id3107025"></a><pre class="programlisting">extern GQuark goo_canvas_style_line_cap_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard line cap property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107054"></a><h3>
<a name="goo-canvas-style-line-dash-id"></a>goo_canvas_style_line_dash_id</h3>
<a class="indexterm" name="id3107067"></a><pre class="programlisting">extern GQuark goo_canvas_style_line_dash_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard line dash property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107095"></a><h3>
<a name="goo-canvas-style-line-join-id"></a>goo_canvas_style_line_join_id</h3>
<a class="indexterm" name="id3107108"></a><pre class="programlisting">extern GQuark goo_canvas_style_line_join_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard line join property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107136"></a><h3>
<a name="goo-canvas-style-line-join-miter-limit-id"></a>goo_canvas_style_line_join_miter_limit_id</h3>
<a class="indexterm" name="id3107148"></a><pre class="programlisting">extern GQuark goo_canvas_style_line_join_miter_limit_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard miter limit property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3107175"></a><h3>
<a name="goo-canvas-style-line-width-id"></a>goo_canvas_style_line_width_id</h3>
<a class="indexterm" name="id3107189"></a><pre class="programlisting">extern GQuark goo_canvas_style_line_width_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard line width property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3123095"></a><h3>
<a name="goo-canvas-style-operator-id"></a>goo_canvas_style_operator_id</h3>
<a class="indexterm" name="id3123108"></a><pre class="programlisting">extern GQuark goo_canvas_style_operator_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard operator property.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3123136"></a><h3>
<a name="goo-canvas-style-stroke-pattern-id"></a>goo_canvas_style_stroke_pattern_id</h3>
<a class="indexterm" name="id3123150"></a><pre class="programlisting">extern GQuark goo_canvas_style_stroke_pattern_id;
</pre>
<p>
Unique <a
href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> identifier used for the standard stroke pattern property.</p>
<p>
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3123179"></a><div class="refsect2" lang="en"><a name="id3123180"></a></div>
<hr>
<div class="refsect2" lang="en"><a name="id3123181"></a></div>
</div>
</div>
</body>
</html>
|