/usr/share/gtk-doc/html/clutter/ClutterPaintNode.html is in libclutter-1.0-doc 1.20.0-1.
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 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Clutter Reference Manual: ClutterPaintNode</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Clutter Reference Manual">
<link rel="up" href="ch08.html" title="Paint Objects">
<link rel="prev" href="ch08.html" title="Paint Objects">
<link rel="next" href="clutter-Paint-Nodes.html" title="Paint Nodes">
<meta name="generator" content="GTK-Doc V1.21 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#ClutterPaintNode.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#ClutterPaintNode.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</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="ch08.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch08.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="clutter-Paint-Nodes.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="ClutterPaintNode"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ClutterPaintNode.top_of_page"></a>ClutterPaintNode</span></h2>
<p>ClutterPaintNode — Paint objects</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="ClutterPaintNode.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="returnvalue">ClutterPaintNode</span></a> *
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-ref" title="clutter_paint_node_ref ()">clutter_paint_node_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-unref" title="clutter_paint_node_unref ()">clutter_paint_node_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-set-name" title="clutter_paint_node_set_name ()">clutter_paint_node_set_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-add-child" title="clutter_paint_node_add_child ()">clutter_paint_node_add_child</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-add-rectangle" title="clutter_paint_node_add_rectangle ()">clutter_paint_node_add_rectangle</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-add-texture-rectangle" title="clutter_paint_node_add_texture_rectangle ()">clutter_paint_node_add_texture_rectangle</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-add-path" title="clutter_paint_node_add_path ()">clutter_paint_node_add_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-paint-node-add-primitive" title="clutter_paint_node_add_primitive ()">clutter_paint_node_add_primitive</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#CLUTTER-VALUE-HOLDS-PAINT-NODE:CAPS" title="CLUTTER_VALUE_HOLDS_PAINT_NODE()">CLUTTER_VALUE_HOLDS_PAINT_NODE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-value-set-paint-node" title="clutter_value_set_paint_node ()">clutter_value_set_paint_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-value-take-paint-node" title="clutter_value_take_paint_node ()">clutter_value_take_paint_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gpointer</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-value-get-paint-node" title="clutter_value_get_paint_node ()">clutter_value_get_paint_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gpointer</span>
</td>
<td class="function_name">
<a class="link" href="ClutterPaintNode.html#clutter-value-dup-paint-node" title="clutter_value_dup_paint_node ()">clutter_value_dup_paint_node</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterPaintNode.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="ClutterPaintNode.html#ClutterPaintNode-struct" title="ClutterPaintNode">ClutterPaintNode</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="ClutterPaintNode.html#ClutterPaintNodeClass" title="ClutterPaintNodeClass">ClutterPaintNodeClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterPaintNode.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> ClutterPaintNode
</pre>
</div>
<div class="refsect1">
<a name="ClutterPaintNode.description"></a><h2>Description</h2>
<p><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> is an element in the render graph.</p>
<p>The render graph contains all the elements that need to be painted by
Clutter when submitting a frame to the graphics system.</p>
<p>The render graph is distinct from the scene graph: the scene graph is
composed by actors, which can be visible or invisible; the scene graph
elements also respond to events. The render graph, instead, is only
composed by nodes that will be painted.</p>
<p>Each <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> can submit multiple <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a><!-- -->s to
the render graph.</p>
</div>
<div class="refsect1">
<a name="ClutterPaintNode.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="clutter-paint-node-ref"></a><h3>clutter_paint_node_ref ()</h3>
<pre class="programlisting"><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="returnvalue">ClutterPaintNode</span></a> *
clutter_paint_node_ref (<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>);</pre>
<p>Acquires a reference on <em class="parameter"><code>node</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.9.2.7.2.6"></a><h4>Returns</h4>
<p> the <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-paint-node-unref"></a><h3>clutter_paint_node_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_paint_node_unref (<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>);</pre>
<p>Releases a reference on <em class="parameter"><code>node</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-paint-node-set-name"></a><h3>clutter_paint_node_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_paint_node_set_name (<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>Sets a user-readable <em class="parameter"><code>name</code></em>
for <em class="parameter"><code>node</code></em>
.</p>
<p>The <em class="parameter"><code>name</code></em>
will be used for debugging purposes.</p>
<p>The <em class="parameter"><code>node</code></em>
will copy the passed string.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.4.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a string annotating the <em class="parameter"><code>node</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-paint-node-add-child"></a><h3>clutter_paint_node_add_child ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_paint_node_add_child (<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>,
<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *child</code></em>);</pre>
<p>Adds <em class="parameter"><code>child</code></em>
to the list of children of <em class="parameter"><code>node</code></em>
.</p>
<p>This function will acquire a reference on <em class="parameter"><code>child</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.5.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>child</p></td>
<td class="parameter_description"><p>the child <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> to add</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-paint-node-add-rectangle"></a><h3>clutter_paint_node_add_rectangle ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_paint_node_add_rectangle (<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>,
<em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterActorBox" title="struct ClutterActorBox"><span class="type">ClutterActorBox</span></a> *rect</code></em>);</pre>
<p>Adds a rectangle region to the <em class="parameter"><code>node</code></em>
, as described by the
passed <em class="parameter"><code>rect</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>rect</p></td>
<td class="parameter_description"><p>a <a class="link" href="clutter-Base-geometric-types.html#ClutterActorBox" title="struct ClutterActorBox"><span class="type">ClutterActorBox</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-paint-node-add-texture-rectangle"></a><h3>clutter_paint_node_add_texture_rectangle ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_paint_node_add_texture_rectangle
(<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>,
<em class="parameter"><code>const <a class="link" href="clutter-Base-geometric-types.html#ClutterActorBox" title="struct ClutterActorBox"><span class="type">ClutterActorBox</span></a> *rect</code></em>,
<em class="parameter"><code><span class="type">float</span> x_1</code></em>,
<em class="parameter"><code><span class="type">float</span> y_1</code></em>,
<em class="parameter"><code><span class="type">float</span> x_2</code></em>,
<em class="parameter"><code><span class="type">float</span> y_2</code></em>);</pre>
<p>Adds a rectangle region to the <em class="parameter"><code>node</code></em>
, with texture coordinates.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>rect</p></td>
<td class="parameter_description"><p>a <a class="link" href="clutter-Base-geometric-types.html#ClutterActorBox" title="struct ClutterActorBox"><span class="type">ClutterActorBox</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x_1</p></td>
<td class="parameter_description"><p>the left X coordinate of the texture</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y_1</p></td>
<td class="parameter_description"><p>the top Y coordinate of the texture</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x_2</p></td>
<td class="parameter_description"><p>the right X coordinate of the texture</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y_2</p></td>
<td class="parameter_description"><p>the bottom Y coordinate of the texture</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-paint-node-add-path"></a><h3>clutter_paint_node_add_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_paint_node_add_path (<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>,
<em class="parameter"><code><span class="type">CoglPath</span> *path</code></em>);</pre>
<p>Adds a region described as a path to the <em class="parameter"><code>node</code></em>
.</p>
<p>This function acquires a reference on the passed <em class="parameter"><code>path</code></em>
, so it
is safe to call <code class="function">cogl_object_unref()</code> when it returns.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a Cogl path</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
<p class="stability">Stability Level: <acronym title="Unstable interfaces are experimental or transitional. They are typically used to
give outside developers early access to new or rapidly changing technology, or
to provide an interim solution to a problem where a more general solution is
anticipated. No claims are made about either source or binary compatibility from
one minor release to the next.
The Unstable interface level is a warning that these interfaces are subject to
change without warning and should not be used in unbundled products.
Given such caveats, customer impact need not be a factor when considering
incompatible changes to an Unstable interface in a major or minor release.
Nonetheless, when such changes are introduced, the changes should still be
mentioned in the release notes for the affected release.
"><span class="acronym">Unstable</span></acronym></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-paint-node-add-primitive"></a><h3>clutter_paint_node_add_primitive ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_paint_node_add_primitive (<em class="parameter"><code><a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> *node</code></em>,
<em class="parameter"><code><span class="type">CoglPrimitive</span> *primitive</code></em>);</pre>
<p>Adds a region described by a Cogl primitive to the <em class="parameter"><code>node</code></em>
.</p>
<p>This function acquires a reference on <em class="parameter"><code>primitive</code></em>
, so it is safe
to call <code class="function">cogl_object_unref()</code> when it returns.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.9.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>primitive</p></td>
<td class="parameter_description"><p>a Cogl primitive</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="CLUTTER-VALUE-HOLDS-PAINT-NODE:CAPS"></a><h3>CLUTTER_VALUE_HOLDS_PAINT_NODE()</h3>
<pre class="programlisting">#define CLUTTER_VALUE_HOLDS_PAINT_NODE(value) (G_VALUE_HOLDS (value, CLUTTER_TYPE_PAINT_NODE))
</pre>
<p>Evaluates to <code class="literal">TRUE</code> if the <em class="parameter"><code>value</code></em>
has been initialized to hold
a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a>.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <span class="type">GValue</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-value-set-paint-node"></a><h3>clutter_value_set_paint_node ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_value_set_paint_node (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> node</code></em>);</pre>
<p>Sets the contents of a <span class="type">GValue</span> initialized with <code class="literal">CLUTTER_TYPE_PAINT_NODE</code>.</p>
<p>This function increased the reference count of <em class="parameter"><code>node</code></em>
; if you do not wish
to increase the reference count, use <a class="link" href="ClutterPaintNode.html#clutter-value-take-paint-node" title="clutter_value_take_paint_node ()"><code class="function">clutter_value_take_paint_node()</code></a>
instead. The reference count will be released by <code class="function">g_value_unset()</code>.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.11.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <span class="type">GValue</span> initialized with <code class="literal">CLUTTER_TYPE_PAINT_NODE</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p> a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a>, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.PaintNode][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-value-take-paint-node"></a><h3>clutter_value_take_paint_node ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_value_take_paint_node (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> node</code></em>);</pre>
<p>Sets the contents of a <span class="type">GValue</span> initialized with <code class="literal">CLUTTER_TYPE_PAINT_NODE</code>.</p>
<p>Unlike <a class="link" href="ClutterPaintNode.html#clutter-value-set-paint-node" title="clutter_value_set_paint_node ()"><code class="function">clutter_value_set_paint_node()</code></a>, this function will not take a
reference on the passed <em class="parameter"><code>node</code></em>
: instead, it will take ownership of the
current reference count.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.12.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <span class="type">GValue</span>, initialized with <code class="literal">CLUTTER_TYPE_PAINT_NODE</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p> a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a>, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.PaintNode][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-value-get-paint-node"></a><h3>clutter_value_get_paint_node ()</h3>
<pre class="programlisting"><span class="returnvalue">gpointer</span>
clutter_value_get_paint_node (<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
<p>Retrieves a pointer to the <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> contained inside
the passed <span class="type">GValue</span>.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <span class="type">GValue</span> initialized with <code class="literal">CLUTTER_TYPE_PAINT_NODE</code></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.9.2.7.13.6"></a><h4>Returns</h4>
<p> a pointer to
a <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a>, or <code class="literal">NULL</code>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.PaintNode]</span></p>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-value-dup-paint-node"></a><h3>clutter_value_dup_paint_node ()</h3>
<pre class="programlisting"><span class="returnvalue">gpointer</span>
clutter_value_dup_paint_node (<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
<p>Retrieves a pointer to the <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a> contained inside
the passed <span class="type">GValue</span>, and if not <code class="literal">NULL</code> it will increase the
reference count.</p>
<div class="refsect3">
<a name="id-1.5.9.2.7.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <span class="type">GValue</span> initialized with <code class="literal">CLUTTER_TYPE_PAINT_NODE</code></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.9.2.7.14.6"></a><h4>Returns</h4>
<p> a pointer
to the <a class="link" href="ClutterPaintNode.html" title="ClutterPaintNode"><span class="type">ClutterPaintNode</span></a>, with its reference count increased,
or <code class="literal">NULL</code>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Clutter.PaintNode]</span></p>
</div>
<p class="since">Since 1.10</p>
</div>
</div>
<div class="refsect1">
<a name="ClutterPaintNode.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="ClutterPaintNode-struct"></a><h3>ClutterPaintNode</h3>
<pre class="programlisting">typedef struct _ClutterPaintNode ClutterPaintNode;</pre>
<p>The <structname>ClutterPaintNode</structname> structure contains only
private data and it should be accessed using the provided API.</p>
<p>Ref Func: clutter_paint_node_ref
Unref Func: clutter_paint_node_unref
Set Value Func: clutter_value_set_paint_node
Get Value Func: clutter_value_get_paint_node</p>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterPaintNodeClass"></a><h3>ClutterPaintNodeClass</h3>
<pre class="programlisting">typedef struct _ClutterPaintNodeClass ClutterPaintNodeClass;</pre>
<p>The <structname>ClutterPaintNodeClass</structname> structure contains
only private data.</p>
<p class="since">Since 1.10</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.21</div>
</body>
</html>
|