tvg_saver: do not merge if the shapes have outlines.
[platform/core/graphics/tizenvg.git] / docs / html / classtvg_1_1Shape.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.13"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>ThorVG: Shape</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="search/search.css" rel="stylesheet" type="text/css"/>
13 <script type="text/javascript" src="search/searchdata.js"></script>
14 <script type="text/javascript" src="search/search.js"></script>
15 <link href="doxygen.css" rel="stylesheet" type="text/css" />
16 <link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
17 </head>
18 <body>
19 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20 <div id="titlearea">
21 <table cellspacing="0" cellpadding="0">
22  <tbody>
23  <tr style="height: 56px;">
24   <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
25   <td id="projectalign" style="padding-left: 0.5em;">
26    <div id="projectname">ThorVG
27    &#160;<span id="projectnumber">v0.4</span>
28    </div>
29   </td>
30  </tr>
31  </tbody>
32 </table>
33 </div>
34 <!-- end header part -->
35 <!-- Generated by Doxygen 1.8.13 -->
36 <script type="text/javascript">
37 var searchBox = new SearchBox("searchBox", "search",false,'Search');
38 </script>
39 <script type="text/javascript" src="menudata.js"></script>
40 <script type="text/javascript" src="menu.js"></script>
41 <script type="text/javascript">
42 $(function() {
43   initMenu('',true,false,'search.php','Search');
44   $(document).ready(function() { init_search(); });
45 });
46 </script>
47 <div id="main-nav"></div>
48 <!-- window showing the filter options -->
49 <div id="MSearchSelectWindow"
50      onmouseover="return searchBox.OnSearchSelectShow()"
51      onmouseout="return searchBox.OnSearchSelectHide()"
52      onkeydown="return searchBox.OnSearchSelectKey(event)">
53 </div>
54
55 <!-- iframe showing the search results (closed by default) -->
56 <div id="MSearchResultsWindow">
57 <iframe src="javascript:void(0)" frameborder="0" 
58         name="MSearchResults" id="MSearchResults">
59 </iframe>
60 </div>
61
62 <div id="nav-path" class="navpath">
63   <ul>
64 <li class="navelem"><b>tvg</b></li><li class="navelem"><a class="el" href="classtvg_1_1Shape.html">Shape</a></li>  </ul>
65 </div>
66 </div><!-- top -->
67 <div class="header">
68   <div class="summary">
69 <a href="#pub-methods">Public Member Functions</a> &#124;
70 <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
71 <a href="classtvg_1_1Shape-members.html">List of all members</a>  </div>
72   <div class="headertitle">
73 <div class="title">Shape<span class="mlabels"><span class="mlabel">final</span></span><div class="ingroups"><a class="el" href="group__ThorVG.html">ThorVG</a></div></div>  </div>
74 </div><!--header-->
75 <div class="contents">
76
77 <p>A class representing two-dimensional figures and their properties.  
78  <a href="classtvg_1_1Shape.html#details">More...</a></p>
79 <div class="dynheader">
80 Inheritance diagram for Shape:</div>
81 <div class="dyncontent">
82 <div class="center"><img src="classtvg_1_1Shape__inherit__graph.png" border="0" usemap="#Shape_inherit__map" alt="Inheritance graph"/></div>
83 <map name="Shape_inherit__map" id="Shape_inherit__map">
84 <area shape="rect" id="node2" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements. " alt="" coords="9,5,61,32"/>
85 </map>
86 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
87 <table class="memberdecls">
88 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
89 Public Member Functions</h2></td></tr>
90 <tr class="memitem:a8014640e362066901c2e2ebe6ddd1251"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251">reset</a> () noexcept</td></tr>
91 <tr class="memdesc:a8014640e362066901c2e2ebe6ddd1251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the properties of the shape path.  <a href="#a8014640e362066901c2e2ebe6ddd1251">More...</a><br /></td></tr>
92 <tr class="separator:a8014640e362066901c2e2ebe6ddd1251"><td class="memSeparator" colspan="2">&#160;</td></tr>
93 <tr class="memitem:a59f97aaa973af7c58081690433286461"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461">moveTo</a> (float x, float y) noexcept</td></tr>
94 <tr class="memdesc:a59f97aaa973af7c58081690433286461"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the initial point of the sub-path.  <a href="#a59f97aaa973af7c58081690433286461">More...</a><br /></td></tr>
95 <tr class="separator:a59f97aaa973af7c58081690433286461"><td class="memSeparator" colspan="2">&#160;</td></tr>
96 <tr class="memitem:a9c28e9bbc6bd22dc62e891ffb3fa02cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd">lineTo</a> (float x, float y) noexcept</td></tr>
97 <tr class="memdesc:a9c28e9bbc6bd22dc62e891ffb3fa02cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new point to the sub-path, which results in drawing a line from the current point to the given end-point.  <a href="#a9c28e9bbc6bd22dc62e891ffb3fa02cd">More...</a><br /></td></tr>
98 <tr class="separator:a9c28e9bbc6bd22dc62e891ffb3fa02cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
99 <tr class="memitem:a7b71316176172fa052373bdb7c9efd29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29">cubicTo</a> (float cx1, float cy1, float cx2, float cy2, float x, float y) noexcept</td></tr>
100 <tr class="memdesc:a7b71316176172fa052373bdb7c9efd29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds new points to the sub-path, which results in drawing a cubic Bezier curve starting at the current point and ending at the given end-point (<code>x</code>, <code>y</code>) using the control points (<code>cx1</code>, <code>cy1</code>) and (<code>cx2</code>, <code>cy2</code>).  <a href="#a7b71316176172fa052373bdb7c9efd29">More...</a><br /></td></tr>
101 <tr class="separator:a7b71316176172fa052373bdb7c9efd29"><td class="memSeparator" colspan="2">&#160;</td></tr>
102 <tr class="memitem:a2765987a2641ac1db76d5c64f00da697"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697">close</a> () noexcept</td></tr>
103 <tr class="memdesc:a2765987a2641ac1db76d5c64f00da697"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the current sub-path by drawing a line from the current point to the initial point of the sub-path.  <a href="#a2765987a2641ac1db76d5c64f00da697">More...</a><br /></td></tr>
104 <tr class="separator:a2765987a2641ac1db76d5c64f00da697"><td class="memSeparator" colspan="2">&#160;</td></tr>
105 <tr class="memitem:a676c64ce75c274ce75032606d33b03da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a676c64ce75c274ce75032606d33b03da">appendRect</a> (float x, float y, float w, float h, float rx, float ry) noexcept</td></tr>
106 <tr class="memdesc:a676c64ce75c274ce75032606d33b03da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends a rectangle to the path.  <a href="#a676c64ce75c274ce75032606d33b03da">More...</a><br /></td></tr>
107 <tr class="separator:a676c64ce75c274ce75032606d33b03da"><td class="memSeparator" colspan="2">&#160;</td></tr>
108 <tr class="memitem:a52eccb2815eaa1231da9c389cd92ffa1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a52eccb2815eaa1231da9c389cd92ffa1">appendCircle</a> (float cx, float cy, float rx, float ry) noexcept</td></tr>
109 <tr class="memdesc:a52eccb2815eaa1231da9c389cd92ffa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends an ellipse to the path.  <a href="#a52eccb2815eaa1231da9c389cd92ffa1">More...</a><br /></td></tr>
110 <tr class="separator:a52eccb2815eaa1231da9c389cd92ffa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
111 <tr class="memitem:a2f003a843ff42f6cee6a726f543836e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a2f003a843ff42f6cee6a726f543836e3">appendArc</a> (float cx, float cy, float radius, float startAngle, float sweep, bool pie) noexcept</td></tr>
112 <tr class="memdesc:a2f003a843ff42f6cee6a726f543836e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends a circular arc to the path.  <a href="#a2f003a843ff42f6cee6a726f543836e3">More...</a><br /></td></tr>
113 <tr class="separator:a2f003a843ff42f6cee6a726f543836e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
114 <tr class="memitem:a3588ea30776a747a22b6ee82dadb9717"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a3588ea30776a747a22b6ee82dadb9717">appendPath</a> (const <a class="el" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a> *cmds, uint32_t cmdCnt, const <a class="el" href="structtvg_1_1Point.html">Point</a> *pts, uint32_t ptsCnt) noexcept</td></tr>
115 <tr class="memdesc:a3588ea30776a747a22b6ee82dadb9717"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends a given sub-path to the path.  <a href="#a3588ea30776a747a22b6ee82dadb9717">More...</a><br /></td></tr>
116 <tr class="separator:a3588ea30776a747a22b6ee82dadb9717"><td class="memSeparator" colspan="2">&#160;</td></tr>
117 <tr class="memitem:a5ce764cd1970c7a7d76b209c4441bc73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73">stroke</a> (float width) noexcept</td></tr>
118 <tr class="memdesc:a5ce764cd1970c7a7d76b209c4441bc73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the stroke width for all of the figures from the path.  <a href="#a5ce764cd1970c7a7d76b209c4441bc73">More...</a><br /></td></tr>
119 <tr class="separator:a5ce764cd1970c7a7d76b209c4441bc73"><td class="memSeparator" colspan="2">&#160;</td></tr>
120 <tr class="memitem:a68a4822b30573cf4f02195b249218e4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a68a4822b30573cf4f02195b249218e4e">stroke</a> (uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept</td></tr>
121 <tr class="memdesc:a68a4822b30573cf4f02195b249218e4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the color of the stroke for all of the figures from the path.  <a href="#a68a4822b30573cf4f02195b249218e4e">More...</a><br /></td></tr>
122 <tr class="separator:a68a4822b30573cf4f02195b249218e4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
123 <tr class="memitem:ab0b09b5064dff4931db9ea898b36dcc1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1">stroke</a> (std::unique_ptr&lt; <a class="el" href="classtvg_1_1Fill.html">Fill</a> &gt; f) noexcept</td></tr>
124 <tr class="memdesc:ab0b09b5064dff4931db9ea898b36dcc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the gradient fill of the stroke for all of the figures from the path.  <a href="#ab0b09b5064dff4931db9ea898b36dcc1">More...</a><br /></td></tr>
125 <tr class="separator:ab0b09b5064dff4931db9ea898b36dcc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
126 <tr class="memitem:ae79102d63897ad86a96afb4436c731e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4">stroke</a> (const float *dashPattern, uint32_t cnt) noexcept</td></tr>
127 <tr class="memdesc:ae79102d63897ad86a96afb4436c731e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the dash pattern of the stroke.  <a href="#ae79102d63897ad86a96afb4436c731e4">More...</a><br /></td></tr>
128 <tr class="separator:ae79102d63897ad86a96afb4436c731e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
129 <tr class="memitem:a39068c9686211de862844dacabf92375"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375">stroke</a> (<a class="el" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a> cap) noexcept</td></tr>
130 <tr class="memdesc:a39068c9686211de862844dacabf92375"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the cap style of the stroke in the open sub-paths.  <a href="#a39068c9686211de862844dacabf92375">More...</a><br /></td></tr>
131 <tr class="separator:a39068c9686211de862844dacabf92375"><td class="memSeparator" colspan="2">&#160;</td></tr>
132 <tr class="memitem:ac416cad0d9e15079a112b1f609d19177"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177">stroke</a> (<a class="el" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a> join) noexcept</td></tr>
133 <tr class="memdesc:ac416cad0d9e15079a112b1f609d19177"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the join style for stroked path segments.  <a href="#ac416cad0d9e15079a112b1f609d19177">More...</a><br /></td></tr>
134 <tr class="separator:ac416cad0d9e15079a112b1f609d19177"><td class="memSeparator" colspan="2">&#160;</td></tr>
135 <tr class="memitem:ae25e3697b5df587d50b809f1faeeabd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ae25e3697b5df587d50b809f1faeeabd9">fill</a> (uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept</td></tr>
136 <tr class="memdesc:ae25e3697b5df587d50b809f1faeeabd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the solid color for all of the figures from the path.  <a href="#ae25e3697b5df587d50b809f1faeeabd9">More...</a><br /></td></tr>
137 <tr class="separator:ae25e3697b5df587d50b809f1faeeabd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
138 <tr class="memitem:ad0cb7b2ec8d18d7c6d366cc84741682c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ad0cb7b2ec8d18d7c6d366cc84741682c">fill</a> (std::unique_ptr&lt; <a class="el" href="classtvg_1_1Fill.html">Fill</a> &gt; f) noexcept</td></tr>
139 <tr class="memdesc:ad0cb7b2ec8d18d7c6d366cc84741682c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the gradient fill for all of the figures from the path.  <a href="#ad0cb7b2ec8d18d7c6d366cc84741682c">More...</a><br /></td></tr>
140 <tr class="separator:ad0cb7b2ec8d18d7c6d366cc84741682c"><td class="memSeparator" colspan="2">&#160;</td></tr>
141 <tr class="memitem:a02b95c15d0c2006134a95cdadf64e3f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a02b95c15d0c2006134a95cdadf64e3f4">fill</a> (<a class="el" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a> r) noexcept</td></tr>
142 <tr class="memdesc:a02b95c15d0c2006134a95cdadf64e3f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the fill rule for the <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> object.  <a href="#a02b95c15d0c2006134a95cdadf64e3f4">More...</a><br /></td></tr>
143 <tr class="separator:a02b95c15d0c2006134a95cdadf64e3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
144 <tr class="memitem:ac14d90c2c0130b66a9a33eb7d08101b7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7">pathCommands</a> (const <a class="el" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a> **cmds) const noexcept</td></tr>
145 <tr class="memdesc:ac14d90c2c0130b66a9a33eb7d08101b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the commands data of the path.  <a href="#ac14d90c2c0130b66a9a33eb7d08101b7">More...</a><br /></td></tr>
146 <tr class="separator:ac14d90c2c0130b66a9a33eb7d08101b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
147 <tr class="memitem:a818b1b358f0ed7ba448b6d804e087923"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923">pathCoords</a> (const <a class="el" href="structtvg_1_1Point.html">Point</a> **pts) const noexcept</td></tr>
148 <tr class="memdesc:a818b1b358f0ed7ba448b6d804e087923"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the points values of the path.  <a href="#a818b1b358f0ed7ba448b6d804e087923">More...</a><br /></td></tr>
149 <tr class="separator:a818b1b358f0ed7ba448b6d804e087923"><td class="memSeparator" colspan="2">&#160;</td></tr>
150 <tr class="memitem:a989edf4b4f68532ff25004fc0c7fe826"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classtvg_1_1Fill.html">Fill</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a989edf4b4f68532ff25004fc0c7fe826">fill</a> () const noexcept</td></tr>
151 <tr class="memdesc:a989edf4b4f68532ff25004fc0c7fe826"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the pointer to the gradient fill of the shape.  <a href="#a989edf4b4f68532ff25004fc0c7fe826">More...</a><br /></td></tr>
152 <tr class="separator:a989edf4b4f68532ff25004fc0c7fe826"><td class="memSeparator" colspan="2">&#160;</td></tr>
153 <tr class="memitem:afc81d85ad3fb3f006abf835311a0acfc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#afc81d85ad3fb3f006abf835311a0acfc">fillColor</a> (uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a) const noexcept</td></tr>
154 <tr class="memdesc:afc81d85ad3fb3f006abf835311a0acfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the solid color of the shape.  <a href="#afc81d85ad3fb3f006abf835311a0acfc">More...</a><br /></td></tr>
155 <tr class="separator:afc81d85ad3fb3f006abf835311a0acfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
156 <tr class="memitem:ac14cd997439012e1abf6c1b8d9f3d4aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ac14cd997439012e1abf6c1b8d9f3d4aa">fillRule</a> () const noexcept</td></tr>
157 <tr class="memdesc:ac14cd997439012e1abf6c1b8d9f3d4aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the fill rule value.  <a href="#ac14cd997439012e1abf6c1b8d9f3d4aa">More...</a><br /></td></tr>
158 <tr class="separator:ac14cd997439012e1abf6c1b8d9f3d4aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
159 <tr class="memitem:a1536ec32e91c29dd8300b0d4354773f9"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9">strokeWidth</a> () const noexcept</td></tr>
160 <tr class="memdesc:a1536ec32e91c29dd8300b0d4354773f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the stroke width.  <a href="#a1536ec32e91c29dd8300b0d4354773f9">More...</a><br /></td></tr>
161 <tr class="separator:a1536ec32e91c29dd8300b0d4354773f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
162 <tr class="memitem:a7b81219e058ae54e731c5702a1c61462"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a7b81219e058ae54e731c5702a1c61462">strokeColor</a> (uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a) const noexcept</td></tr>
163 <tr class="memdesc:a7b81219e058ae54e731c5702a1c61462"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the color of the shape's stroke.  <a href="#a7b81219e058ae54e731c5702a1c61462">More...</a><br /></td></tr>
164 <tr class="separator:a7b81219e058ae54e731c5702a1c61462"><td class="memSeparator" colspan="2">&#160;</td></tr>
165 <tr class="memitem:a08ce41b2d01d2d43980e5c26f4df111e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classtvg_1_1Fill.html">Fill</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e">strokeFill</a> () const noexcept</td></tr>
166 <tr class="memdesc:a08ce41b2d01d2d43980e5c26f4df111e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the pointer to the gradient fill of the stroke.  <a href="#a08ce41b2d01d2d43980e5c26f4df111e">More...</a><br /></td></tr>
167 <tr class="separator:a08ce41b2d01d2d43980e5c26f4df111e"><td class="memSeparator" colspan="2">&#160;</td></tr>
168 <tr class="memitem:afbc1e469219ee86df47d216f58af282a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#afbc1e469219ee86df47d216f58af282a">strokeDash</a> (const float **dashPattern) const noexcept</td></tr>
169 <tr class="memdesc:afbc1e469219ee86df47d216f58af282a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the dash pattern of the stroke.  <a href="#afbc1e469219ee86df47d216f58af282a">More...</a><br /></td></tr>
170 <tr class="separator:afbc1e469219ee86df47d216f58af282a"><td class="memSeparator" colspan="2">&#160;</td></tr>
171 <tr class="memitem:a0948989a7f0a9e253234cd9f53784674"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674">strokeCap</a> () const noexcept</td></tr>
172 <tr class="memdesc:a0948989a7f0a9e253234cd9f53784674"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the cap style used for stroking the path.  <a href="#a0948989a7f0a9e253234cd9f53784674">More...</a><br /></td></tr>
173 <tr class="separator:a0948989a7f0a9e253234cd9f53784674"><td class="memSeparator" colspan="2">&#160;</td></tr>
174 <tr class="memitem:aac0235df4172e9c079689e5291c7ad5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a">strokeJoin</a> () const noexcept</td></tr>
175 <tr class="memdesc:aac0235df4172e9c079689e5291c7ad5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the join style value used for stroking the path.  <a href="#aac0235df4172e9c079689e5291c7ad5a">More...</a><br /></td></tr>
176 <tr class="separator:aac0235df4172e9c079689e5291c7ad5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
177 <tr class="inherit_header pub_methods_classtvg_1_1Paint"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classtvg_1_1Paint')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classtvg_1_1Paint.html">Paint</a></td></tr>
178 <tr class="memitem:a7841fa0c14643e09735d48042ead68f3 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a> (float degree) noexcept</td></tr>
179 <tr class="memdesc:a7841fa0c14643e09735d48042ead68f3 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the angle by which the object is rotated.  <a href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">More...</a><br /></td></tr>
180 <tr class="separator:a7841fa0c14643e09735d48042ead68f3 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
181 <tr class="memitem:a5c057876185525c5723215f95a3984f2 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a> (float factor) noexcept</td></tr>
182 <tr class="memdesc:a5c057876185525c5723215f95a3984f2 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the scale value of the object.  <a href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">More...</a><br /></td></tr>
183 <tr class="separator:a5c057876185525c5723215f95a3984f2 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
184 <tr class="memitem:ae896f56bfa51c98a50eee3f2bb62e41e inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e">translate</a> (float x, float y) noexcept</td></tr>
185 <tr class="memdesc:ae896f56bfa51c98a50eee3f2bb62e41e inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the values by which the object is moved in a two-dimensional space.  <a href="classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e">More...</a><br /></td></tr>
186 <tr class="separator:ae896f56bfa51c98a50eee3f2bb62e41e inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
187 <tr class="memitem:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a> (const <a class="el" href="structtvg_1_1Matrix.html">Matrix</a> &amp;m) noexcept</td></tr>
188 <tr class="memdesc:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the matrix of the affine transformation for the object.  <a href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">More...</a><br /></td></tr>
189 <tr class="separator:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
190 <tr class="memitem:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtvg_1_1Matrix.html">Matrix</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a> () noexcept</td></tr>
191 <tr class="memdesc:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the matrix of the affine transformation of the object.  <a href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">More...</a><br /></td></tr>
192 <tr class="separator:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
193 <tr class="memitem:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a> (uint8_t o) noexcept</td></tr>
194 <tr class="memdesc:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the opacity of the object.  <a href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">More...</a><br /></td></tr>
195 <tr class="separator:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
196 <tr class="memitem:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a> (std::unique_ptr&lt; <a class="el" href="classtvg_1_1Paint.html">Paint</a> &gt; target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) noexcept</td></tr>
197 <tr class="memdesc:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the composition target object and the composition method.  <a href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">More...</a><br /></td></tr>
198 <tr class="separator:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
199 <tr class="memitem:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff">bounds</a> (float *x, float *y, float *w, float *h) const noexcept</td></tr>
200 <tr class="memdesc:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bounding box of the paint object before any transformation.  <a href="classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff">More...</a><br /></td></tr>
201 <tr class="separator:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
202 <tr class="memitem:a71afac69fe1e7c352460be5878812635 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtvg_1_1Paint.html">Paint</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a> () const noexcept</td></tr>
203 <tr class="memdesc:a71afac69fe1e7c352460be5878812635 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicates the object.  <a href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">More...</a><br /></td></tr>
204 <tr class="separator:a71afac69fe1e7c352460be5878812635 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
205 <tr class="memitem:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a> () const noexcept</td></tr>
206 <tr class="memdesc:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the opacity value of the object.  <a href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">More...</a><br /></td></tr>
207 <tr class="separator:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
208 <tr class="memitem:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee">composite</a> (const <a class="el" href="classtvg_1_1Paint.html">Paint</a> **target) const noexcept</td></tr>
209 <tr class="memdesc:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the composition target object and the composition method.  <a href="classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee">More...</a><br /></td></tr>
210 <tr class="separator:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
211 </table><table class="memberdecls">
212 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
213 Static Public Member Functions</h2></td></tr>
214 <tr class="memitem:aa91a801f4f9e8fd8e1567d014c280cb9"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr&lt; <a class="el" href="classtvg_1_1Shape.html">Shape</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9">gen</a> () noexcept</td></tr>
215 <tr class="memdesc:aa91a801f4f9e8fd8e1567d014c280cb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> object.  <a href="#aa91a801f4f9e8fd8e1567d014c280cb9">More...</a><br /></td></tr>
216 <tr class="separator:aa91a801f4f9e8fd8e1567d014c280cb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
217 </table>
218 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
219 <div class="textblock"><p>A class representing two-dimensional figures and their properties. </p>
220 <p>A shape has three major properties: shape outline, stroking, filling. The outline in the <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> is retained as the path. Path can be composed by accumulating primitive commands such as <a class="el" href="classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461" title="Sets the initial point of the sub-path. ">moveTo()</a>, <a class="el" href="classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd" title="Adds a new point to the sub-path, which results in drawing a line from the current point to the given...">lineTo()</a>, <a class="el" href="classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29" title="Adds new points to the sub-path, which results in drawing a cubic Bezier curve starting at the curren...">cubicTo()</a>, or complete shape interfaces such as <a class="el" href="classtvg_1_1Shape.html#a676c64ce75c274ce75032606d33b03da" title="Appends a rectangle to the path. ">appendRect()</a>, <a class="el" href="classtvg_1_1Shape.html#a52eccb2815eaa1231da9c389cd92ffa1" title="Appends an ellipse to the path. ">appendCircle()</a>, etc. Path can consists of sub-paths. One sub-path is determined by a close command.</p>
221 <p>The stroke of <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> is an optional property in case the <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> needs to be represented with/without the outline borders. It's efficient since the shape path and the stroking path can be shared with each other. It's also convenient when controlling both in one context. </p>
222 </div><h2 class="groupheader">Member Function Documentation</h2>
223 <a id="a2f003a843ff42f6cee6a726f543836e3"></a>
224 <h2 class="memtitle"><span class="permalink"><a href="#a2f003a843ff42f6cee6a726f543836e3">&#9670;&nbsp;</a></span>appendArc()</h2>
225
226 <div class="memitem">
227 <div class="memproto">
228 <table class="mlabels">
229   <tr>
230   <td class="mlabels-left">
231       <table class="memname">
232         <tr>
233           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendArc </td>
234           <td>(</td>
235           <td class="paramtype">float&#160;</td>
236           <td class="paramname"><em>cx</em>, </td>
237         </tr>
238         <tr>
239           <td class="paramkey"></td>
240           <td></td>
241           <td class="paramtype">float&#160;</td>
242           <td class="paramname"><em>cy</em>, </td>
243         </tr>
244         <tr>
245           <td class="paramkey"></td>
246           <td></td>
247           <td class="paramtype">float&#160;</td>
248           <td class="paramname"><em>radius</em>, </td>
249         </tr>
250         <tr>
251           <td class="paramkey"></td>
252           <td></td>
253           <td class="paramtype">float&#160;</td>
254           <td class="paramname"><em>startAngle</em>, </td>
255         </tr>
256         <tr>
257           <td class="paramkey"></td>
258           <td></td>
259           <td class="paramtype">float&#160;</td>
260           <td class="paramname"><em>sweep</em>, </td>
261         </tr>
262         <tr>
263           <td class="paramkey"></td>
264           <td></td>
265           <td class="paramtype">bool&#160;</td>
266           <td class="paramname"><em>pie</em>&#160;</td>
267         </tr>
268         <tr>
269           <td></td>
270           <td>)</td>
271           <td></td><td></td>
272         </tr>
273       </table>
274   </td>
275   <td class="mlabels-right">
276 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
277   </tr>
278 </table>
279 </div><div class="memdoc">
280
281 <p>Appends a circular arc to the path. </p>
282 <p>The arc is treated as a new sub-path - it is not connected with the previous sub-path. The current point value is set to the end-point of the arc in case <code>pie</code> is <code>false</code>, and to the center of the arc otherwise.</p>
283 <dl class="params"><dt>Parameters</dt><dd>
284   <table class="params">
285     <tr><td class="paramdir">[in]</td><td class="paramname">cx</td><td>The horizontal coordinate of the center of the arc. </td></tr>
286     <tr><td class="paramdir">[in]</td><td class="paramname">cy</td><td>The vertical coordinate of the center of the arc. </td></tr>
287     <tr><td class="paramdir">[in]</td><td class="paramname">radius</td><td>The radius of the arc. </td></tr>
288     <tr><td class="paramdir">[in]</td><td class="paramname">startAngle</td><td>The start angle of the arc given in degrees, measured counter-clockwise from the horizontal line. </td></tr>
289     <tr><td class="paramdir">[in]</td><td class="paramname">sweep</td><td>The central angle of the arc given in degrees, measured counter-clockwise from <code>startAngle</code>. </td></tr>
290     <tr><td class="paramdir">[in]</td><td class="paramname">pie</td><td>Specifies whether to draw radii from the arc's center to both of its end-point - drawn if <code>true</code>.</td></tr>
291   </table>
292   </dd>
293 </dl>
294 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed.</dd></dl>
295 <dl class="section note"><dt>Note</dt><dd>Setting <code>sweep</code> value greater than 360 degrees, is equivalent to calling appendCircle(cx, cy, radius, radius). </dd></dl>
296
297 </div>
298 </div>
299 <a id="a52eccb2815eaa1231da9c389cd92ffa1"></a>
300 <h2 class="memtitle"><span class="permalink"><a href="#a52eccb2815eaa1231da9c389cd92ffa1">&#9670;&nbsp;</a></span>appendCircle()</h2>
301
302 <div class="memitem">
303 <div class="memproto">
304 <table class="mlabels">
305   <tr>
306   <td class="mlabels-left">
307       <table class="memname">
308         <tr>
309           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendCircle </td>
310           <td>(</td>
311           <td class="paramtype">float&#160;</td>
312           <td class="paramname"><em>cx</em>, </td>
313         </tr>
314         <tr>
315           <td class="paramkey"></td>
316           <td></td>
317           <td class="paramtype">float&#160;</td>
318           <td class="paramname"><em>cy</em>, </td>
319         </tr>
320         <tr>
321           <td class="paramkey"></td>
322           <td></td>
323           <td class="paramtype">float&#160;</td>
324           <td class="paramname"><em>rx</em>, </td>
325         </tr>
326         <tr>
327           <td class="paramkey"></td>
328           <td></td>
329           <td class="paramtype">float&#160;</td>
330           <td class="paramname"><em>ry</em>&#160;</td>
331         </tr>
332         <tr>
333           <td></td>
334           <td>)</td>
335           <td></td><td></td>
336         </tr>
337       </table>
338   </td>
339   <td class="mlabels-right">
340 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
341   </tr>
342 </table>
343 </div><div class="memdoc">
344
345 <p>Appends an ellipse to the path. </p>
346 <p>The position of the ellipse is specified by the coordinates of its center - <code>cx</code> and <code>cy</code> arguments.</p>
347 <p>The ellipse is treated as a new sub-path - it is not connected with the previous sub-path.</p>
348 <p>The value of the current point is set to (<code>cx</code>, <code>cy</code> - <code>ry</code>).</p>
349 <dl class="params"><dt>Parameters</dt><dd>
350   <table class="params">
351     <tr><td class="paramdir">[in]</td><td class="paramname">cx</td><td>The horizontal coordinate of the center of the ellipse. </td></tr>
352     <tr><td class="paramdir">[in]</td><td class="paramname">cy</td><td>The vertical coordinate of the center of the ellipse. </td></tr>
353     <tr><td class="paramdir">[in]</td><td class="paramname">rx</td><td>The x-axis radius of the ellipse. </td></tr>
354     <tr><td class="paramdir">[in]</td><td class="paramname">ry</td><td>The y-axis radius of the ellipse.</td></tr>
355   </table>
356   </dd>
357 </dl>
358 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed. </dd></dl>
359
360 </div>
361 </div>
362 <a id="a3588ea30776a747a22b6ee82dadb9717"></a>
363 <h2 class="memtitle"><span class="permalink"><a href="#a3588ea30776a747a22b6ee82dadb9717">&#9670;&nbsp;</a></span>appendPath()</h2>
364
365 <div class="memitem">
366 <div class="memproto">
367 <table class="mlabels">
368   <tr>
369   <td class="mlabels-left">
370       <table class="memname">
371         <tr>
372           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendPath </td>
373           <td>(</td>
374           <td class="paramtype">const <a class="el" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a> *&#160;</td>
375           <td class="paramname"><em>cmds</em>, </td>
376         </tr>
377         <tr>
378           <td class="paramkey"></td>
379           <td></td>
380           <td class="paramtype">uint32_t&#160;</td>
381           <td class="paramname"><em>cmdCnt</em>, </td>
382         </tr>
383         <tr>
384           <td class="paramkey"></td>
385           <td></td>
386           <td class="paramtype">const <a class="el" href="structtvg_1_1Point.html">Point</a> *&#160;</td>
387           <td class="paramname"><em>pts</em>, </td>
388         </tr>
389         <tr>
390           <td class="paramkey"></td>
391           <td></td>
392           <td class="paramtype">uint32_t&#160;</td>
393           <td class="paramname"><em>ptsCnt</em>&#160;</td>
394         </tr>
395         <tr>
396           <td></td>
397           <td>)</td>
398           <td></td><td></td>
399         </tr>
400       </table>
401   </td>
402   <td class="mlabels-right">
403 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
404   </tr>
405 </table>
406 </div><div class="memdoc">
407
408 <p>Appends a given sub-path to the path. </p>
409 <p>The current point value is set to the last point from the sub-path. For each command from the <code>cmds</code> array, an appropriate number of points in <code>pts</code> array should be specified.</p>
410 <dl class="params"><dt>Parameters</dt><dd>
411   <table class="params">
412     <tr><td class="paramdir">[in]</td><td class="paramname">cmds</td><td>The array of the commands in the sub-path. </td></tr>
413     <tr><td class="paramdir">[in]</td><td class="paramname">cmdCnt</td><td>The number of the sub-path's commands. </td></tr>
414     <tr><td class="paramdir">[in]</td><td class="paramname">pts</td><td>The array of the two-dimensional points. </td></tr>
415     <tr><td class="paramdir">[in]</td><td class="paramname">ptsCnt</td><td>The number of the points in the <code>pts</code> array.</td></tr>
416   </table>
417   </dd>
418 </dl>
419 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae73a2e92f1c87086c838b442552a4775" title="The value returned in the event of a problem with the arguments given to the API - e...">Result::InvalidArguments</a> otherwise.</dd></dl>
420 <dl class="section note"><dt>Note</dt><dd>The interface is designed for optimal path setting if the caller has a completed path commands already. </dd></dl>
421
422 </div>
423 </div>
424 <a id="a676c64ce75c274ce75032606d33b03da"></a>
425 <h2 class="memtitle"><span class="permalink"><a href="#a676c64ce75c274ce75032606d33b03da">&#9670;&nbsp;</a></span>appendRect()</h2>
426
427 <div class="memitem">
428 <div class="memproto">
429 <table class="mlabels">
430   <tr>
431   <td class="mlabels-left">
432       <table class="memname">
433         <tr>
434           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendRect </td>
435           <td>(</td>
436           <td class="paramtype">float&#160;</td>
437           <td class="paramname"><em>x</em>, </td>
438         </tr>
439         <tr>
440           <td class="paramkey"></td>
441           <td></td>
442           <td class="paramtype">float&#160;</td>
443           <td class="paramname"><em>y</em>, </td>
444         </tr>
445         <tr>
446           <td class="paramkey"></td>
447           <td></td>
448           <td class="paramtype">float&#160;</td>
449           <td class="paramname"><em>w</em>, </td>
450         </tr>
451         <tr>
452           <td class="paramkey"></td>
453           <td></td>
454           <td class="paramtype">float&#160;</td>
455           <td class="paramname"><em>h</em>, </td>
456         </tr>
457         <tr>
458           <td class="paramkey"></td>
459           <td></td>
460           <td class="paramtype">float&#160;</td>
461           <td class="paramname"><em>rx</em>, </td>
462         </tr>
463         <tr>
464           <td class="paramkey"></td>
465           <td></td>
466           <td class="paramtype">float&#160;</td>
467           <td class="paramname"><em>ry</em>&#160;</td>
468         </tr>
469         <tr>
470           <td></td>
471           <td>)</td>
472           <td></td><td></td>
473         </tr>
474       </table>
475   </td>
476   <td class="mlabels-right">
477 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
478   </tr>
479 </table>
480 </div><div class="memdoc">
481
482 <p>Appends a rectangle to the path. </p>
483 <p>The rectangle with rounded corners can be achieved by setting non-zero values to <code>rx</code> and <code>ry</code> arguments. The <code>rx</code> and <code>ry</code> values specify the radii of the ellipse defining the rounding of the corners.</p>
484 <p>The position of the rectangle is specified by the coordinates of its upper left corner - <code>x</code> and <code>y</code> arguments.</p>
485 <p>The rectangle is treated as a new sub-path - it is not connected with the previous sub-path.</p>
486 <p>The value of the current point is set to (<code>x</code> + <code>rx</code>, <code>y</code>) - in case <code>rx</code> is greater than <code>w/2</code> the current point is set to (<code>x</code> + <code>w/2</code>, <code>y</code>)</p>
487 <dl class="params"><dt>Parameters</dt><dd>
488   <table class="params">
489     <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The horizontal coordinate of the upper left corner of the rectangle. </td></tr>
490     <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The vertical coordinate of the upper left corner of the rectangle. </td></tr>
491     <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>The width of the rectangle. </td></tr>
492     <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>The height of the rectangle. </td></tr>
493     <tr><td class="paramdir">[in]</td><td class="paramname">rx</td><td>The x-axis radius of the ellipse defining the rounded corners of the rectangle. </td></tr>
494     <tr><td class="paramdir">[in]</td><td class="paramname">ry</td><td>The y-axis radius of the ellipse defining the rounded corners of the rectangle.</td></tr>
495   </table>
496   </dd>
497 </dl>
498 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed.</dd></dl>
499 <dl class="section note"><dt>Note</dt><dd>For <code>rx</code> and <code>ry</code> greater than or equal to the half of <code>w</code> and the half of <code>h</code>, respectively, the shape become an ellipse. </dd></dl>
500
501 </div>
502 </div>
503 <a id="a2765987a2641ac1db76d5c64f00da697"></a>
504 <h2 class="memtitle"><span class="permalink"><a href="#a2765987a2641ac1db76d5c64f00da697">&#9670;&nbsp;</a></span>close()</h2>
505
506 <div class="memitem">
507 <div class="memproto">
508 <table class="mlabels">
509   <tr>
510   <td class="mlabels-left">
511       <table class="memname">
512         <tr>
513           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> close </td>
514           <td>(</td>
515           <td class="paramname"></td><td>)</td>
516           <td></td>
517         </tr>
518       </table>
519   </td>
520   <td class="mlabels-right">
521 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
522   </tr>
523 </table>
524 </div><div class="memdoc">
525
526 <p>Closes the current sub-path by drawing a line from the current point to the initial point of the sub-path. </p>
527 <p>The value of the current point is set to the initial point of the closed sub-path.</p>
528 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed.</dd></dl>
529 <dl class="section note"><dt>Note</dt><dd>In case the sub-path does not contain any points, this function has no effect. </dd></dl>
530
531 </div>
532 </div>
533 <a id="a7b71316176172fa052373bdb7c9efd29"></a>
534 <h2 class="memtitle"><span class="permalink"><a href="#a7b71316176172fa052373bdb7c9efd29">&#9670;&nbsp;</a></span>cubicTo()</h2>
535
536 <div class="memitem">
537 <div class="memproto">
538 <table class="mlabels">
539   <tr>
540   <td class="mlabels-left">
541       <table class="memname">
542         <tr>
543           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> cubicTo </td>
544           <td>(</td>
545           <td class="paramtype">float&#160;</td>
546           <td class="paramname"><em>cx1</em>, </td>
547         </tr>
548         <tr>
549           <td class="paramkey"></td>
550           <td></td>
551           <td class="paramtype">float&#160;</td>
552           <td class="paramname"><em>cy1</em>, </td>
553         </tr>
554         <tr>
555           <td class="paramkey"></td>
556           <td></td>
557           <td class="paramtype">float&#160;</td>
558           <td class="paramname"><em>cx2</em>, </td>
559         </tr>
560         <tr>
561           <td class="paramkey"></td>
562           <td></td>
563           <td class="paramtype">float&#160;</td>
564           <td class="paramname"><em>cy2</em>, </td>
565         </tr>
566         <tr>
567           <td class="paramkey"></td>
568           <td></td>
569           <td class="paramtype">float&#160;</td>
570           <td class="paramname"><em>x</em>, </td>
571         </tr>
572         <tr>
573           <td class="paramkey"></td>
574           <td></td>
575           <td class="paramtype">float&#160;</td>
576           <td class="paramname"><em>y</em>&#160;</td>
577         </tr>
578         <tr>
579           <td></td>
580           <td>)</td>
581           <td></td><td></td>
582         </tr>
583       </table>
584   </td>
585   <td class="mlabels-right">
586 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
587   </tr>
588 </table>
589 </div><div class="memdoc">
590
591 <p>Adds new points to the sub-path, which results in drawing a cubic Bezier curve starting at the current point and ending at the given end-point (<code>x</code>, <code>y</code>) using the control points (<code>cx1</code>, <code>cy1</code>) and (<code>cx2</code>, <code>cy2</code>). </p>
592 <p>The value of the current point is set to the given end-point.</p>
593 <dl class="params"><dt>Parameters</dt><dd>
594   <table class="params">
595     <tr><td class="paramdir">[in]</td><td class="paramname">cx1</td><td>The horizontal coordinate of the 1st control point. </td></tr>
596     <tr><td class="paramdir">[in]</td><td class="paramname">cy1</td><td>The vertical coordinate of the 1st control point. </td></tr>
597     <tr><td class="paramdir">[in]</td><td class="paramname">cx2</td><td>The horizontal coordinate of the 2nd control point. </td></tr>
598     <tr><td class="paramdir">[in]</td><td class="paramname">cy2</td><td>The vertical coordinate of the 2nd control point. </td></tr>
599     <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The horizontal coordinate of the end-point of the curve. </td></tr>
600     <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The vertical coordinate of the end-point of the curve.</td></tr>
601   </table>
602   </dd>
603 </dl>
604 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed.</dd></dl>
605 <dl class="section note"><dt>Note</dt><dd>In case this is the first command in the path, no data from the path are rendered. </dd></dl>
606
607 </div>
608 </div>
609 <a id="ae25e3697b5df587d50b809f1faeeabd9"></a>
610 <h2 class="memtitle"><span class="permalink"><a href="#ae25e3697b5df587d50b809f1faeeabd9">&#9670;&nbsp;</a></span>fill() <span class="overload">[1/4]</span></h2>
611
612 <div class="memitem">
613 <div class="memproto">
614 <table class="mlabels">
615   <tr>
616   <td class="mlabels-left">
617       <table class="memname">
618         <tr>
619           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill </td>
620           <td>(</td>
621           <td class="paramtype">uint8_t&#160;</td>
622           <td class="paramname"><em>r</em>, </td>
623         </tr>
624         <tr>
625           <td class="paramkey"></td>
626           <td></td>
627           <td class="paramtype">uint8_t&#160;</td>
628           <td class="paramname"><em>g</em>, </td>
629         </tr>
630         <tr>
631           <td class="paramkey"></td>
632           <td></td>
633           <td class="paramtype">uint8_t&#160;</td>
634           <td class="paramname"><em>b</em>, </td>
635         </tr>
636         <tr>
637           <td class="paramkey"></td>
638           <td></td>
639           <td class="paramtype">uint8_t&#160;</td>
640           <td class="paramname"><em>a</em>&#160;</td>
641         </tr>
642         <tr>
643           <td></td>
644           <td>)</td>
645           <td></td><td></td>
646         </tr>
647       </table>
648   </td>
649   <td class="mlabels-right">
650 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
651   </tr>
652 </table>
653 </div><div class="memdoc">
654
655 <p>Sets the solid color for all of the figures from the path. </p>
656 <p>The parts of the shape defined as inner are colored.</p>
657 <dl class="params"><dt>Parameters</dt><dd>
658   <table class="params">
659     <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>The red color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
660     <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td>The green color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
661     <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>The blue color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
662     <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque. The default value is 0.</td></tr>
663   </table>
664   </dd>
665 </dl>
666 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed.</dd></dl>
667 <dl class="section note"><dt>Note</dt><dd>Either a solid color or a gradient fill is applied, depending on what was set as last. </dd></dl>
668
669 </div>
670 </div>
671 <a id="ad0cb7b2ec8d18d7c6d366cc84741682c"></a>
672 <h2 class="memtitle"><span class="permalink"><a href="#ad0cb7b2ec8d18d7c6d366cc84741682c">&#9670;&nbsp;</a></span>fill() <span class="overload">[2/4]</span></h2>
673
674 <div class="memitem">
675 <div class="memproto">
676 <table class="mlabels">
677   <tr>
678   <td class="mlabels-left">
679       <table class="memname">
680         <tr>
681           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill </td>
682           <td>(</td>
683           <td class="paramtype">std::unique_ptr&lt; <a class="el" href="classtvg_1_1Fill.html">Fill</a> &gt;&#160;</td>
684           <td class="paramname"><em>f</em></td><td>)</td>
685           <td></td>
686         </tr>
687       </table>
688   </td>
689   <td class="mlabels-right">
690 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
691   </tr>
692 </table>
693 </div><div class="memdoc">
694
695 <p>Sets the gradient fill for all of the figures from the path. </p>
696 <p>The parts of the shape defined as inner are filled.</p>
697 <dl class="params"><dt>Parameters</dt><dd>
698   <table class="params">
699     <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>The unique pointer to the gradient fill.</td></tr>
700   </table>
701   </dd>
702 </dl>
703 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a> otherwise.</dd></dl>
704 <dl class="section note"><dt>Note</dt><dd>Either a solid color or a gradient fill is applied, depending on what was set as last. </dd></dl>
705
706 </div>
707 </div>
708 <a id="a02b95c15d0c2006134a95cdadf64e3f4"></a>
709 <h2 class="memtitle"><span class="permalink"><a href="#a02b95c15d0c2006134a95cdadf64e3f4">&#9670;&nbsp;</a></span>fill() <span class="overload">[3/4]</span></h2>
710
711 <div class="memitem">
712 <div class="memproto">
713 <table class="mlabels">
714   <tr>
715   <td class="mlabels-left">
716       <table class="memname">
717         <tr>
718           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill </td>
719           <td>(</td>
720           <td class="paramtype"><a class="el" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a>&#160;</td>
721           <td class="paramname"><em>r</em></td><td>)</td>
722           <td></td>
723         </tr>
724       </table>
725   </td>
726   <td class="mlabels-right">
727 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
728   </tr>
729 </table>
730 </div><div class="memdoc">
731
732 <p>Sets the fill rule for the <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> object. </p>
733 <dl class="params"><dt>Parameters</dt><dd>
734   <table class="params">
735     <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>The fill rule value.</td></tr>
736   </table>
737   </dd>
738 </dl>
739 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed. </dd></dl>
740
741 </div>
742 </div>
743 <a id="a989edf4b4f68532ff25004fc0c7fe826"></a>
744 <h2 class="memtitle"><span class="permalink"><a href="#a989edf4b4f68532ff25004fc0c7fe826">&#9670;&nbsp;</a></span>fill() <span class="overload">[4/4]</span></h2>
745
746 <div class="memitem">
747 <div class="memproto">
748 <table class="mlabels">
749   <tr>
750   <td class="mlabels-left">
751       <table class="memname">
752         <tr>
753           <td class="memname">const <a class="el" href="classtvg_1_1Fill.html">Fill</a>* fill </td>
754           <td>(</td>
755           <td class="paramname"></td><td>)</td>
756           <td> const</td>
757         </tr>
758       </table>
759   </td>
760   <td class="mlabels-right">
761 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
762   </tr>
763 </table>
764 </div><div class="memdoc">
765
766 <p>Gets the pointer to the gradient fill of the shape. </p>
767 <dl class="section return"><dt>Returns</dt><dd>The pointer to the gradient fill of the stroke when succeed, <code>nullptr</code> in case no fill was set. </dd></dl>
768
769 </div>
770 </div>
771 <a id="afc81d85ad3fb3f006abf835311a0acfc"></a>
772 <h2 class="memtitle"><span class="permalink"><a href="#afc81d85ad3fb3f006abf835311a0acfc">&#9670;&nbsp;</a></span>fillColor()</h2>
773
774 <div class="memitem">
775 <div class="memproto">
776 <table class="mlabels">
777   <tr>
778   <td class="mlabels-left">
779       <table class="memname">
780         <tr>
781           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fillColor </td>
782           <td>(</td>
783           <td class="paramtype">uint8_t *&#160;</td>
784           <td class="paramname"><em>r</em>, </td>
785         </tr>
786         <tr>
787           <td class="paramkey"></td>
788           <td></td>
789           <td class="paramtype">uint8_t *&#160;</td>
790           <td class="paramname"><em>g</em>, </td>
791         </tr>
792         <tr>
793           <td class="paramkey"></td>
794           <td></td>
795           <td class="paramtype">uint8_t *&#160;</td>
796           <td class="paramname"><em>b</em>, </td>
797         </tr>
798         <tr>
799           <td class="paramkey"></td>
800           <td></td>
801           <td class="paramtype">uint8_t *&#160;</td>
802           <td class="paramname"><em>a</em>&#160;</td>
803         </tr>
804         <tr>
805           <td></td>
806           <td>)</td>
807           <td></td><td> const</td>
808         </tr>
809       </table>
810   </td>
811   <td class="mlabels-right">
812 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
813   </tr>
814 </table>
815 </div><div class="memdoc">
816
817 <p>Gets the solid color of the shape. </p>
818 <dl class="params"><dt>Parameters</dt><dd>
819   <table class="params">
820     <tr><td class="paramdir">[out]</td><td class="paramname">r</td><td>The red color channel value in the range [0 ~ 255]. </td></tr>
821     <tr><td class="paramdir">[out]</td><td class="paramname">g</td><td>The green color channel value in the range [0 ~ 255]. </td></tr>
822     <tr><td class="paramdir">[out]</td><td class="paramname">b</td><td>The blue color channel value in the range [0 ~ 255]. </td></tr>
823     <tr><td class="paramdir">[out]</td><td class="paramname">a</td><td>The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque.</td></tr>
824   </table>
825   </dd>
826 </dl>
827 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed. </dd></dl>
828
829 </div>
830 </div>
831 <a id="ac14cd997439012e1abf6c1b8d9f3d4aa"></a>
832 <h2 class="memtitle"><span class="permalink"><a href="#ac14cd997439012e1abf6c1b8d9f3d4aa">&#9670;&nbsp;</a></span>fillRule()</h2>
833
834 <div class="memitem">
835 <div class="memproto">
836 <table class="mlabels">
837   <tr>
838   <td class="mlabels-left">
839       <table class="memname">
840         <tr>
841           <td class="memname"><a class="el" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a> fillRule </td>
842           <td>(</td>
843           <td class="paramname"></td><td>)</td>
844           <td> const</td>
845         </tr>
846       </table>
847   </td>
848   <td class="mlabels-right">
849 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
850   </tr>
851 </table>
852 </div><div class="memdoc">
853
854 <p>Gets the fill rule value. </p>
855 <dl class="section return"><dt>Returns</dt><dd>The fill rule value of the shape. </dd></dl>
856
857 </div>
858 </div>
859 <a id="aa91a801f4f9e8fd8e1567d014c280cb9"></a>
860 <h2 class="memtitle"><span class="permalink"><a href="#aa91a801f4f9e8fd8e1567d014c280cb9">&#9670;&nbsp;</a></span>gen()</h2>
861
862 <div class="memitem">
863 <div class="memproto">
864 <table class="mlabels">
865   <tr>
866   <td class="mlabels-left">
867       <table class="memname">
868         <tr>
869           <td class="memname">static std::unique_ptr&lt;<a class="el" href="classtvg_1_1Shape.html">Shape</a>&gt; gen </td>
870           <td>(</td>
871           <td class="paramname"></td><td>)</td>
872           <td></td>
873         </tr>
874       </table>
875   </td>
876   <td class="mlabels-right">
877 <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
878   </tr>
879 </table>
880 </div><div class="memdoc">
881
882 <p>Creates a new <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> object. </p>
883 <dl class="section return"><dt>Returns</dt><dd>A new <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> object. </dd></dl>
884
885 </div>
886 </div>
887 <a id="a9c28e9bbc6bd22dc62e891ffb3fa02cd"></a>
888 <h2 class="memtitle"><span class="permalink"><a href="#a9c28e9bbc6bd22dc62e891ffb3fa02cd">&#9670;&nbsp;</a></span>lineTo()</h2>
889
890 <div class="memitem">
891 <div class="memproto">
892 <table class="mlabels">
893   <tr>
894   <td class="mlabels-left">
895       <table class="memname">
896         <tr>
897           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> lineTo </td>
898           <td>(</td>
899           <td class="paramtype">float&#160;</td>
900           <td class="paramname"><em>x</em>, </td>
901         </tr>
902         <tr>
903           <td class="paramkey"></td>
904           <td></td>
905           <td class="paramtype">float&#160;</td>
906           <td class="paramname"><em>y</em>&#160;</td>
907         </tr>
908         <tr>
909           <td></td>
910           <td>)</td>
911           <td></td><td></td>
912         </tr>
913       </table>
914   </td>
915   <td class="mlabels-right">
916 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
917   </tr>
918 </table>
919 </div><div class="memdoc">
920
921 <p>Adds a new point to the sub-path, which results in drawing a line from the current point to the given end-point. </p>
922 <p>The value of the current point is set to the given end-point.</p>
923 <dl class="params"><dt>Parameters</dt><dd>
924   <table class="params">
925     <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The horizontal coordinate of the end-point of the line. </td></tr>
926     <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The vertical coordinate of the end-point of the line.</td></tr>
927   </table>
928   </dd>
929 </dl>
930 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed.</dd></dl>
931 <dl class="section note"><dt>Note</dt><dd>In case this is the first command in the path, it corresponds to the <a class="el" href="classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461" title="Sets the initial point of the sub-path. ">moveTo()</a> call. </dd></dl>
932
933 </div>
934 </div>
935 <a id="a59f97aaa973af7c58081690433286461"></a>
936 <h2 class="memtitle"><span class="permalink"><a href="#a59f97aaa973af7c58081690433286461">&#9670;&nbsp;</a></span>moveTo()</h2>
937
938 <div class="memitem">
939 <div class="memproto">
940 <table class="mlabels">
941   <tr>
942   <td class="mlabels-left">
943       <table class="memname">
944         <tr>
945           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> moveTo </td>
946           <td>(</td>
947           <td class="paramtype">float&#160;</td>
948           <td class="paramname"><em>x</em>, </td>
949         </tr>
950         <tr>
951           <td class="paramkey"></td>
952           <td></td>
953           <td class="paramtype">float&#160;</td>
954           <td class="paramname"><em>y</em>&#160;</td>
955         </tr>
956         <tr>
957           <td></td>
958           <td>)</td>
959           <td></td><td></td>
960         </tr>
961       </table>
962   </td>
963   <td class="mlabels-right">
964 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
965   </tr>
966 </table>
967 </div><div class="memdoc">
968
969 <p>Sets the initial point of the sub-path. </p>
970 <p>The value of the current point is set to the given point.</p>
971 <dl class="params"><dt>Parameters</dt><dd>
972   <table class="params">
973     <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The horizontal coordinate of the initial point of the sub-path. </td></tr>
974     <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The vertical coordinate of the initial point of the sub-path.</td></tr>
975   </table>
976   </dd>
977 </dl>
978 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed. </dd></dl>
979
980 </div>
981 </div>
982 <a id="ac14d90c2c0130b66a9a33eb7d08101b7"></a>
983 <h2 class="memtitle"><span class="permalink"><a href="#ac14d90c2c0130b66a9a33eb7d08101b7">&#9670;&nbsp;</a></span>pathCommands()</h2>
984
985 <div class="memitem">
986 <div class="memproto">
987 <table class="mlabels">
988   <tr>
989   <td class="mlabels-left">
990       <table class="memname">
991         <tr>
992           <td class="memname">uint32_t pathCommands </td>
993           <td>(</td>
994           <td class="paramtype">const <a class="el" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a> **&#160;</td>
995           <td class="paramname"><em>cmds</em></td><td>)</td>
996           <td> const</td>
997         </tr>
998       </table>
999   </td>
1000   <td class="mlabels-right">
1001 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1002   </tr>
1003 </table>
1004 </div><div class="memdoc">
1005
1006 <p>Gets the commands data of the path. </p>
1007 <dl class="params"><dt>Parameters</dt><dd>
1008   <table class="params">
1009     <tr><td class="paramdir">[out]</td><td class="paramname">cmds</td><td>The pointer to the array of the commands from the path.</td></tr>
1010   </table>
1011   </dd>
1012 </dl>
1013 <dl class="section return"><dt>Returns</dt><dd>The length of the <code>cmds</code> array when succeed, zero otherwise. </dd></dl>
1014
1015 </div>
1016 </div>
1017 <a id="a818b1b358f0ed7ba448b6d804e087923"></a>
1018 <h2 class="memtitle"><span class="permalink"><a href="#a818b1b358f0ed7ba448b6d804e087923">&#9670;&nbsp;</a></span>pathCoords()</h2>
1019
1020 <div class="memitem">
1021 <div class="memproto">
1022 <table class="mlabels">
1023   <tr>
1024   <td class="mlabels-left">
1025       <table class="memname">
1026         <tr>
1027           <td class="memname">uint32_t pathCoords </td>
1028           <td>(</td>
1029           <td class="paramtype">const <a class="el" href="structtvg_1_1Point.html">Point</a> **&#160;</td>
1030           <td class="paramname"><em>pts</em></td><td>)</td>
1031           <td> const</td>
1032         </tr>
1033       </table>
1034   </td>
1035   <td class="mlabels-right">
1036 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1037   </tr>
1038 </table>
1039 </div><div class="memdoc">
1040
1041 <p>Gets the points values of the path. </p>
1042 <dl class="params"><dt>Parameters</dt><dd>
1043   <table class="params">
1044     <tr><td class="paramdir">[out]</td><td class="paramname">pts</td><td>The pointer to the array of the two-dimensional points from the path.</td></tr>
1045   </table>
1046   </dd>
1047 </dl>
1048 <dl class="section return"><dt>Returns</dt><dd>The length of the <code>pts</code> array when succeed, zero otherwise. </dd></dl>
1049
1050 </div>
1051 </div>
1052 <a id="a8014640e362066901c2e2ebe6ddd1251"></a>
1053 <h2 class="memtitle"><span class="permalink"><a href="#a8014640e362066901c2e2ebe6ddd1251">&#9670;&nbsp;</a></span>reset()</h2>
1054
1055 <div class="memitem">
1056 <div class="memproto">
1057 <table class="mlabels">
1058   <tr>
1059   <td class="mlabels-left">
1060       <table class="memname">
1061         <tr>
1062           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> reset </td>
1063           <td>(</td>
1064           <td class="paramname"></td><td>)</td>
1065           <td></td>
1066         </tr>
1067       </table>
1068   </td>
1069   <td class="mlabels-right">
1070 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1071   </tr>
1072 </table>
1073 </div><div class="memdoc">
1074
1075 <p>Resets the properties of the shape path. </p>
1076 <p>The color, the fill and the stroke properties are retained.</p>
1077 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed.</dd></dl>
1078 <dl class="section note"><dt>Note</dt><dd>The memory, where the path data is stored, is not deallocated at this stage for caching effect. </dd></dl>
1079
1080 </div>
1081 </div>
1082 <a id="a5ce764cd1970c7a7d76b209c4441bc73"></a>
1083 <h2 class="memtitle"><span class="permalink"><a href="#a5ce764cd1970c7a7d76b209c4441bc73">&#9670;&nbsp;</a></span>stroke() <span class="overload">[1/6]</span></h2>
1084
1085 <div class="memitem">
1086 <div class="memproto">
1087 <table class="mlabels">
1088   <tr>
1089   <td class="mlabels-left">
1090       <table class="memname">
1091         <tr>
1092           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke </td>
1093           <td>(</td>
1094           <td class="paramtype">float&#160;</td>
1095           <td class="paramname"><em>width</em></td><td>)</td>
1096           <td></td>
1097         </tr>
1098       </table>
1099   </td>
1100   <td class="mlabels-right">
1101 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1102   </tr>
1103 </table>
1104 </div><div class="memdoc">
1105
1106 <p>Sets the stroke width for all of the figures from the path. </p>
1107 <dl class="params"><dt>Parameters</dt><dd>
1108   <table class="params">
1109     <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>The width of the stroke. The default value is 0.</td></tr>
1110   </table>
1111   </dd>
1112 </dl>
1113 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation. ">Result::FailedAllocation</a> otherwise. </dd></dl>
1114
1115 </div>
1116 </div>
1117 <a id="a68a4822b30573cf4f02195b249218e4e"></a>
1118 <h2 class="memtitle"><span class="permalink"><a href="#a68a4822b30573cf4f02195b249218e4e">&#9670;&nbsp;</a></span>stroke() <span class="overload">[2/6]</span></h2>
1119
1120 <div class="memitem">
1121 <div class="memproto">
1122 <table class="mlabels">
1123   <tr>
1124   <td class="mlabels-left">
1125       <table class="memname">
1126         <tr>
1127           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke </td>
1128           <td>(</td>
1129           <td class="paramtype">uint8_t&#160;</td>
1130           <td class="paramname"><em>r</em>, </td>
1131         </tr>
1132         <tr>
1133           <td class="paramkey"></td>
1134           <td></td>
1135           <td class="paramtype">uint8_t&#160;</td>
1136           <td class="paramname"><em>g</em>, </td>
1137         </tr>
1138         <tr>
1139           <td class="paramkey"></td>
1140           <td></td>
1141           <td class="paramtype">uint8_t&#160;</td>
1142           <td class="paramname"><em>b</em>, </td>
1143         </tr>
1144         <tr>
1145           <td class="paramkey"></td>
1146           <td></td>
1147           <td class="paramtype">uint8_t&#160;</td>
1148           <td class="paramname"><em>a</em>&#160;</td>
1149         </tr>
1150         <tr>
1151           <td></td>
1152           <td>)</td>
1153           <td></td><td></td>
1154         </tr>
1155       </table>
1156   </td>
1157   <td class="mlabels-right">
1158 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1159   </tr>
1160 </table>
1161 </div><div class="memdoc">
1162
1163 <p>Sets the color of the stroke for all of the figures from the path. </p>
1164 <dl class="params"><dt>Parameters</dt><dd>
1165   <table class="params">
1166     <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>The red color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
1167     <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td>The green color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
1168     <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>The blue color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
1169     <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque. The default value is 0.</td></tr>
1170   </table>
1171   </dd>
1172 </dl>
1173 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation. ">Result::FailedAllocation</a> otherwise. </dd></dl>
1174
1175 </div>
1176 </div>
1177 <a id="ab0b09b5064dff4931db9ea898b36dcc1"></a>
1178 <h2 class="memtitle"><span class="permalink"><a href="#ab0b09b5064dff4931db9ea898b36dcc1">&#9670;&nbsp;</a></span>stroke() <span class="overload">[3/6]</span></h2>
1179
1180 <div class="memitem">
1181 <div class="memproto">
1182 <table class="mlabels">
1183   <tr>
1184   <td class="mlabels-left">
1185       <table class="memname">
1186         <tr>
1187           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke </td>
1188           <td>(</td>
1189           <td class="paramtype">std::unique_ptr&lt; <a class="el" href="classtvg_1_1Fill.html">Fill</a> &gt;&#160;</td>
1190           <td class="paramname"><em>f</em></td><td>)</td>
1191           <td></td>
1192         </tr>
1193       </table>
1194   </td>
1195   <td class="mlabels-right">
1196 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1197   </tr>
1198 </table>
1199 </div><div class="memdoc">
1200
1201 <p>Sets the gradient fill of the stroke for all of the figures from the path. </p>
1202 <dl class="params"><dt>Parameters</dt><dd>
1203   <table class="params">
1204     <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>The gradient fill.</td></tr>
1205   </table>
1206   </dd>
1207 </dl>
1208 <dl class="retval"><dt>Return values</dt><dd>
1209   <table class="retval">
1210     <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a></td><td>When succeed. </td></tr>
1211     <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation. ">Result::FailedAllocation</a></td><td>An internal error with a memory allocation for an object to be filled. </td></tr>
1212     <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a></td><td>In case a <code>nullptr</code> is passed as the argument. </td></tr>
1213   </table>
1214   </dd>
1215 </dl>
1216
1217 </div>
1218 </div>
1219 <a id="ae79102d63897ad86a96afb4436c731e4"></a>
1220 <h2 class="memtitle"><span class="permalink"><a href="#ae79102d63897ad86a96afb4436c731e4">&#9670;&nbsp;</a></span>stroke() <span class="overload">[4/6]</span></h2>
1221
1222 <div class="memitem">
1223 <div class="memproto">
1224 <table class="mlabels">
1225   <tr>
1226   <td class="mlabels-left">
1227       <table class="memname">
1228         <tr>
1229           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke </td>
1230           <td>(</td>
1231           <td class="paramtype">const float *&#160;</td>
1232           <td class="paramname"><em>dashPattern</em>, </td>
1233         </tr>
1234         <tr>
1235           <td class="paramkey"></td>
1236           <td></td>
1237           <td class="paramtype">uint32_t&#160;</td>
1238           <td class="paramname"><em>cnt</em>&#160;</td>
1239         </tr>
1240         <tr>
1241           <td></td>
1242           <td>)</td>
1243           <td></td><td></td>
1244         </tr>
1245       </table>
1246   </td>
1247   <td class="mlabels-right">
1248 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1249   </tr>
1250 </table>
1251 </div><div class="memdoc">
1252
1253 <p>Sets the dash pattern of the stroke. </p>
1254 <dl class="params"><dt>Parameters</dt><dd>
1255   <table class="params">
1256     <tr><td class="paramdir">[in]</td><td class="paramname">dashPattern</td><td>The array of consecutive pair values of the dash length and the gap length. </td></tr>
1257     <tr><td class="paramdir">[in]</td><td class="paramname">cnt</td><td>The length of the <code>dashPattern</code> array.</td></tr>
1258   </table>
1259   </dd>
1260 </dl>
1261 <dl class="retval"><dt>Return values</dt><dd>
1262   <table class="retval">
1263     <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a></td><td>When succeed. </td></tr>
1264     <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation. ">Result::FailedAllocation</a></td><td>An internal error with a memory allocation for an object to be dashed. </td></tr>
1265     <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae73a2e92f1c87086c838b442552a4775" title="The value returned in the event of a problem with the arguments given to the API - e...">Result::InvalidArguments</a></td><td>In case that either <code>dashPattern</code> is <code>nullptr</code> or <code>cnt</code> is zero.</td></tr>
1266   </table>
1267   </dd>
1268 </dl>
1269 <dl class="section note"><dt>Note</dt><dd>If any of the dash pattern values is zero, this function has no effect. </dd>
1270 <dd>
1271 To reset the stroke dash pattern, pass <code>nullptr</code> to <code>dashPattern</code> and zero to <code>cnt</code>. </dd></dl>
1272 <dl class="section warning"><dt>Warning</dt><dd><code>cnt</code> must be greater than 1 if the dash pattern is valid. </dd></dl>
1273
1274 </div>
1275 </div>
1276 <a id="a39068c9686211de862844dacabf92375"></a>
1277 <h2 class="memtitle"><span class="permalink"><a href="#a39068c9686211de862844dacabf92375">&#9670;&nbsp;</a></span>stroke() <span class="overload">[5/6]</span></h2>
1278
1279 <div class="memitem">
1280 <div class="memproto">
1281 <table class="mlabels">
1282   <tr>
1283   <td class="mlabels-left">
1284       <table class="memname">
1285         <tr>
1286           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke </td>
1287           <td>(</td>
1288           <td class="paramtype"><a class="el" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a>&#160;</td>
1289           <td class="paramname"><em>cap</em></td><td>)</td>
1290           <td></td>
1291         </tr>
1292       </table>
1293   </td>
1294   <td class="mlabels-right">
1295 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1296   </tr>
1297 </table>
1298 </div><div class="memdoc">
1299
1300 <p>Sets the cap style of the stroke in the open sub-paths. </p>
1301 <dl class="params"><dt>Parameters</dt><dd>
1302   <table class="params">
1303     <tr><td class="paramdir">[in]</td><td class="paramname">cap</td><td>The cap style value. The default value is <code><a class="el" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96aceb46ca115d05c51aa5a16a8867c3304" title="The stroke is extended in both end-points of a sub-path by a rectangle, with the width equal to the s...">StrokeCap::Square</a></code>.</td></tr>
1304   </table>
1305   </dd>
1306 </dl>
1307 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation. ">Result::FailedAllocation</a> otherwise. </dd></dl>
1308
1309 </div>
1310 </div>
1311 <a id="ac416cad0d9e15079a112b1f609d19177"></a>
1312 <h2 class="memtitle"><span class="permalink"><a href="#ac416cad0d9e15079a112b1f609d19177">&#9670;&nbsp;</a></span>stroke() <span class="overload">[6/6]</span></h2>
1313
1314 <div class="memitem">
1315 <div class="memproto">
1316 <table class="mlabels">
1317   <tr>
1318   <td class="mlabels-left">
1319       <table class="memname">
1320         <tr>
1321           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke </td>
1322           <td>(</td>
1323           <td class="paramtype"><a class="el" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a>&#160;</td>
1324           <td class="paramname"><em>join</em></td><td>)</td>
1325           <td></td>
1326         </tr>
1327       </table>
1328   </td>
1329   <td class="mlabels-right">
1330 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1331   </tr>
1332 </table>
1333 </div><div class="memdoc">
1334
1335 <p>Sets the join style for stroked path segments. </p>
1336 <p>The join style is used for joining the two line segment while stroking the path.</p>
1337 <dl class="params"><dt>Parameters</dt><dd>
1338   <table class="params">
1339     <tr><td class="paramdir">[in]</td><td class="paramname">join</td><td>The join style value. The default value is <code><a class="el" href="group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51a1b9ae4ca6d43fc984af318046e1e7bb5" title="The outer corner of the joined path segments is bevelled at the join point. The triangular region of ...">StrokeJoin::Bevel</a></code>.</td></tr>
1340   </table>
1341   </dd>
1342 </dl>
1343 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation. ">Result::FailedAllocation</a> otherwise. </dd></dl>
1344
1345 </div>
1346 </div>
1347 <a id="a0948989a7f0a9e253234cd9f53784674"></a>
1348 <h2 class="memtitle"><span class="permalink"><a href="#a0948989a7f0a9e253234cd9f53784674">&#9670;&nbsp;</a></span>strokeCap()</h2>
1349
1350 <div class="memitem">
1351 <div class="memproto">
1352 <table class="mlabels">
1353   <tr>
1354   <td class="mlabels-left">
1355       <table class="memname">
1356         <tr>
1357           <td class="memname"><a class="el" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a> strokeCap </td>
1358           <td>(</td>
1359           <td class="paramname"></td><td>)</td>
1360           <td> const</td>
1361         </tr>
1362       </table>
1363   </td>
1364   <td class="mlabels-right">
1365 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1366   </tr>
1367 </table>
1368 </div><div class="memdoc">
1369
1370 <p>Gets the cap style used for stroking the path. </p>
1371 <dl class="section return"><dt>Returns</dt><dd>The cap style value of the stroke. </dd></dl>
1372
1373 </div>
1374 </div>
1375 <a id="a7b81219e058ae54e731c5702a1c61462"></a>
1376 <h2 class="memtitle"><span class="permalink"><a href="#a7b81219e058ae54e731c5702a1c61462">&#9670;&nbsp;</a></span>strokeColor()</h2>
1377
1378 <div class="memitem">
1379 <div class="memproto">
1380 <table class="mlabels">
1381   <tr>
1382   <td class="mlabels-left">
1383       <table class="memname">
1384         <tr>
1385           <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> strokeColor </td>
1386           <td>(</td>
1387           <td class="paramtype">uint8_t *&#160;</td>
1388           <td class="paramname"><em>r</em>, </td>
1389         </tr>
1390         <tr>
1391           <td class="paramkey"></td>
1392           <td></td>
1393           <td class="paramtype">uint8_t *&#160;</td>
1394           <td class="paramname"><em>g</em>, </td>
1395         </tr>
1396         <tr>
1397           <td class="paramkey"></td>
1398           <td></td>
1399           <td class="paramtype">uint8_t *&#160;</td>
1400           <td class="paramname"><em>b</em>, </td>
1401         </tr>
1402         <tr>
1403           <td class="paramkey"></td>
1404           <td></td>
1405           <td class="paramtype">uint8_t *&#160;</td>
1406           <td class="paramname"><em>a</em>&#160;</td>
1407         </tr>
1408         <tr>
1409           <td></td>
1410           <td>)</td>
1411           <td></td><td> const</td>
1412         </tr>
1413       </table>
1414   </td>
1415   <td class="mlabels-right">
1416 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1417   </tr>
1418 </table>
1419 </div><div class="memdoc">
1420
1421 <p>Gets the color of the shape's stroke. </p>
1422 <dl class="params"><dt>Parameters</dt><dd>
1423   <table class="params">
1424     <tr><td class="paramdir">[out]</td><td class="paramname">r</td><td>The red color channel value in the range [0 ~ 255]. </td></tr>
1425     <tr><td class="paramdir">[out]</td><td class="paramname">g</td><td>The green color channel value in the range [0 ~ 255]. </td></tr>
1426     <tr><td class="paramdir">[out]</td><td class="paramname">b</td><td>The blue color channel value in the range [0 ~ 255]. </td></tr>
1427     <tr><td class="paramdir">[out]</td><td class="paramname">a</td><td>The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque.</td></tr>
1428   </table>
1429   </dd>
1430 </dl>
1431 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38" title="The value returned in case of a correct request execution. ">Result::Success</a> when succeed, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a119732ff568bf103d744e930ae2404f1" title="The value returned in case the request cannot be processed - e.g. asking for properties of an object...">Result::InsufficientCondition</a> otherwise. </dd></dl>
1432
1433 </div>
1434 </div>
1435 <a id="afbc1e469219ee86df47d216f58af282a"></a>
1436 <h2 class="memtitle"><span class="permalink"><a href="#afbc1e469219ee86df47d216f58af282a">&#9670;&nbsp;</a></span>strokeDash()</h2>
1437
1438 <div class="memitem">
1439 <div class="memproto">
1440 <table class="mlabels">
1441   <tr>
1442   <td class="mlabels-left">
1443       <table class="memname">
1444         <tr>
1445           <td class="memname">uint32_t strokeDash </td>
1446           <td>(</td>
1447           <td class="paramtype">const float **&#160;</td>
1448           <td class="paramname"><em>dashPattern</em></td><td>)</td>
1449           <td> const</td>
1450         </tr>
1451       </table>
1452   </td>
1453   <td class="mlabels-right">
1454 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1455   </tr>
1456 </table>
1457 </div><div class="memdoc">
1458
1459 <p>Gets the dash pattern of the stroke. </p>
1460 <dl class="params"><dt>Parameters</dt><dd>
1461   <table class="params">
1462     <tr><td class="paramdir">[out]</td><td class="paramname">dashPattern</td><td>The pointer to the memory, where the dash pattern array is stored.</td></tr>
1463   </table>
1464   </dd>
1465 </dl>
1466 <dl class="section return"><dt>Returns</dt><dd>The length of the <code>dashPattern</code> array. </dd></dl>
1467
1468 </div>
1469 </div>
1470 <a id="a08ce41b2d01d2d43980e5c26f4df111e"></a>
1471 <h2 class="memtitle"><span class="permalink"><a href="#a08ce41b2d01d2d43980e5c26f4df111e">&#9670;&nbsp;</a></span>strokeFill()</h2>
1472
1473 <div class="memitem">
1474 <div class="memproto">
1475 <table class="mlabels">
1476   <tr>
1477   <td class="mlabels-left">
1478       <table class="memname">
1479         <tr>
1480           <td class="memname">const <a class="el" href="classtvg_1_1Fill.html">Fill</a>* strokeFill </td>
1481           <td>(</td>
1482           <td class="paramname"></td><td>)</td>
1483           <td> const</td>
1484         </tr>
1485       </table>
1486   </td>
1487   <td class="mlabels-right">
1488 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1489   </tr>
1490 </table>
1491 </div><div class="memdoc">
1492
1493 <p>Gets the pointer to the gradient fill of the stroke. </p>
1494 <dl class="section return"><dt>Returns</dt><dd>The pointer to the gradient fill of the stroke when succeed, <code>nullptr</code> otherwise. </dd></dl>
1495
1496 </div>
1497 </div>
1498 <a id="aac0235df4172e9c079689e5291c7ad5a"></a>
1499 <h2 class="memtitle"><span class="permalink"><a href="#aac0235df4172e9c079689e5291c7ad5a">&#9670;&nbsp;</a></span>strokeJoin()</h2>
1500
1501 <div class="memitem">
1502 <div class="memproto">
1503 <table class="mlabels">
1504   <tr>
1505   <td class="mlabels-left">
1506       <table class="memname">
1507         <tr>
1508           <td class="memname"><a class="el" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a> strokeJoin </td>
1509           <td>(</td>
1510           <td class="paramname"></td><td>)</td>
1511           <td> const</td>
1512         </tr>
1513       </table>
1514   </td>
1515   <td class="mlabels-right">
1516 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1517   </tr>
1518 </table>
1519 </div><div class="memdoc">
1520
1521 <p>Gets the join style value used for stroking the path. </p>
1522 <dl class="section return"><dt>Returns</dt><dd>The join style value of the stroke. </dd></dl>
1523
1524 </div>
1525 </div>
1526 <a id="a1536ec32e91c29dd8300b0d4354773f9"></a>
1527 <h2 class="memtitle"><span class="permalink"><a href="#a1536ec32e91c29dd8300b0d4354773f9">&#9670;&nbsp;</a></span>strokeWidth()</h2>
1528
1529 <div class="memitem">
1530 <div class="memproto">
1531 <table class="mlabels">
1532   <tr>
1533   <td class="mlabels-left">
1534       <table class="memname">
1535         <tr>
1536           <td class="memname">float strokeWidth </td>
1537           <td>(</td>
1538           <td class="paramname"></td><td>)</td>
1539           <td> const</td>
1540         </tr>
1541       </table>
1542   </td>
1543   <td class="mlabels-right">
1544 <span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
1545   </tr>
1546 </table>
1547 </div><div class="memdoc">
1548
1549 <p>Gets the stroke width. </p>
1550 <dl class="section return"><dt>Returns</dt><dd>The stroke width value when succeed, zero if no stroke was set. </dd></dl>
1551
1552 </div>
1553 </div>
1554 </div><!-- contents -->
1555 <!-- start footer part -->
1556 <hr class="footer"/><address class="footer"><small>
1557 Generated by &#160;<a href="http://www.doxygen.org/index.html">
1558 <img class="footer" src="doxygen.png" alt="doxygen"/>
1559 </a> 1.8.13
1560 </small></address>
1561 </body>
1562 </html>