-Subproject commit 148d88909630670c3ec5ecef3dc3952ebc665df2
+Subproject commit 92eda0ef8ed04faac2b6545e6589d3276708f682
<tr id="row_0_7_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Picture.html" target="_self">Picture</a></td><td class="desc">A class representing an image read in one of the supported formats: raw, svg, png and etc. Besides the methods inherited from the <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements. ">Paint</a>, it provides methods to load & draw images on the canvas </td></tr>
<tr id="row_0_8_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Point.html" target="_self">Point</a></td><td class="desc">A data structure representing a point in two-dimensional space </td></tr>
<tr id="row_0_9_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1RadialGradient.html" target="_self">RadialGradient</a></td><td class="desc">A class representing the radial gradient fill of the <a class="el" href="classtvg_1_1Shape.html" title="A class representing two-dimensional figures and their properties. ">Shape</a> object </td></tr>
-<tr id="row_0_10_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Scene.html" target="_self">Scene</a></td><td class="desc">A class to composite children paints </td></tr>
-<tr id="row_0_11_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Shape.html" target="_self">Shape</a></td><td class="desc">A class representing two-dimensional figures and their properties </td></tr>
-<tr id="row_0_12_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1SwCanvas.html" target="_self">SwCanvas</a></td><td class="desc">A class for the rendering graphical elements with a software raster engine </td></tr>
-<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structTvg__Color__Stop.html" target="_self">Tvg_Color_Stop</a></td><td class="desc">A data structure storing the information about the color and its relative position inside the gradient bounds </td></tr>
-<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structTvg__Matrix.html" target="_self">Tvg_Matrix</a></td><td class="desc">A data structure representing a three-dimensional matrix </td></tr>
-<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structTvg__Point.html" target="_self">Tvg_Point</a></td><td class="desc">A data structure representing a point in two-dimensional space </td></tr>
+<tr id="row_0_10_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Saver.html" target="_self">Saver</a></td><td class="desc">A class for exporting a paint object into a specified file, from which to recover the paint data later </td></tr>
+<tr id="row_0_11_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Scene.html" target="_self">Scene</a></td><td class="desc">A class to composite children paints </td></tr>
+<tr id="row_0_12_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Shape.html" target="_self">Shape</a></td><td class="desc">A class representing two-dimensional figures and their properties </td></tr>
+<tr id="row_0_13_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1SwCanvas.html" target="_self">SwCanvas</a></td><td class="desc">A class for the rendering graphical elements with a software raster engine </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
<div class="title">Class Index</div> </div>
</div><!--header-->
<div class="contents">
-<div class="qindex"><a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_f">f</a> | <a class="qindex" href="#letter_g">g</a> | <a class="qindex" href="#letter_i">i</a> | <a class="qindex" href="#letter_l">l</a> | <a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_r">r</a> | <a class="qindex" href="#letter_s">s</a> | <a class="qindex" href="#letter_t">t</a></div>
+<div class="qindex"><a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_f">f</a> | <a class="qindex" href="#letter_g">g</a> | <a class="qindex" href="#letter_i">i</a> | <a class="qindex" href="#letter_l">l</a> | <a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_r">r</a> | <a class="qindex" href="#letter_s">s</a></div>
<table class="classindex">
<tr><td rowspan="2" valign="bottom"><a name="letter_c"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  c  </div></td></tr></table>
-</td><td rowspan="2" valign="bottom"><a name="letter_i"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  i  </div></td></tr></table>
+</td><td rowspan="2" valign="bottom"><a name="letter_g"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  g  </div></td></tr></table>
+</td><td rowspan="2" valign="bottom"><a name="letter_m"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  m  </div></td></tr></table>
+</td><td valign="top"><a class="el" href="structtvg_1_1Point.html">Point</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1Scene.html">Scene</a> (tvg)   </td></tr>
+<tr><td rowspan="2" valign="bottom"><a name="letter_r"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  r  </div></td></tr></table>
+</td><td valign="top"><a class="el" href="classtvg_1_1Shape.html">Shape</a> (tvg)   </td></tr>
+<tr><td valign="top"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1GlCanvas.html">GlCanvas</a> (tvg)   </td><td valign="top"><a class="el" href="structtvg_1_1Matrix.html">Matrix</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1SwCanvas.html">SwCanvas</a> (tvg)   </td></tr>
+<tr><td valign="top"><a class="el" href="structtvg_1_1Fill_1_1ColorStop.html">Fill::ColorStop</a> (tvg)   </td><td rowspan="2" valign="bottom"><a name="letter_i"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  i  </div></td></tr></table>
</td><td rowspan="2" valign="bottom"><a name="letter_p"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  p  </div></td></tr></table>
-</td><td rowspan="2" valign="bottom"><a name="letter_s"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  s  </div></td></tr></table>
-</td><td valign="top"><a class="el" href="structTvg__Matrix.html">Tvg_Matrix</a>   </td></tr>
-<tr><td valign="top"><a class="el" href="structTvg__Point.html">Tvg_Point</a>   </td></tr>
-<tr><td valign="top"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1Initializer.html">Initializer</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1Paint.html">Paint</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1Scene.html">Scene</a> (tvg)   </td><td></td></tr>
-<tr><td valign="top"><a class="el" href="structtvg_1_1Fill_1_1ColorStop.html">Fill::ColorStop</a> (tvg)   </td><td rowspan="2" valign="bottom"><a name="letter_l"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  l  </div></td></tr></table>
-</td><td valign="top"><a class="el" href="classtvg_1_1Picture.html">Picture</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1Shape.html">Shape</a> (tvg)   </td><td></td></tr>
+</td><td valign="top"><a class="el" href="classtvg_1_1RadialGradient.html">RadialGradient</a> (tvg)   </td><td></td></tr>
<tr><td rowspan="2" valign="bottom"><a name="letter_f"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  f  </div></td></tr></table>
-</td><td valign="top"><a class="el" href="structtvg_1_1Point.html">Point</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1SwCanvas.html">SwCanvas</a> (tvg)   </td><td></td></tr>
-<tr><td valign="top"><a class="el" href="classtvg_1_1LinearGradient.html">LinearGradient</a> (tvg)   </td><td rowspan="2" valign="bottom"><a name="letter_r"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  r  </div></td></tr></table>
-</td><td rowspan="2" valign="bottom"><a name="letter_t"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  t  </div></td></tr></table>
-</td><td></td></tr>
-<tr><td valign="top"><a class="el" href="classtvg_1_1Fill.html">Fill</a> (tvg)   </td><td rowspan="2" valign="bottom"><a name="letter_m"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  m  </div></td></tr></table>
+</td><td rowspan="2" valign="bottom"><a name="letter_s"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  s  </div></td></tr></table>
</td><td></td></tr>
-<tr><td rowspan="2" valign="bottom"><a name="letter_g"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  g  </div></td></tr></table>
-</td><td valign="top"><a class="el" href="classtvg_1_1RadialGradient.html">RadialGradient</a> (tvg)   </td><td valign="top"><a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a>   </td><td></td></tr>
-<tr><td valign="top"><a class="el" href="structtvg_1_1Matrix.html">Matrix</a> (tvg)   </td><td></td><td></td><td></td></tr>
-<tr><td valign="top"><a class="el" href="classtvg_1_1GlCanvas.html">GlCanvas</a> (tvg)   </td><td></td><td></td><td></td><td></td></tr>
+<tr><td valign="top"><a class="el" href="classtvg_1_1Initializer.html">Initializer</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1Paint.html">Paint</a> (tvg)   </td><td></td></tr>
+<tr><td valign="top"><a class="el" href="classtvg_1_1Fill.html">Fill</a> (tvg)   </td><td rowspan="2" valign="bottom"><a name="letter_l"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  l  </div></td></tr></table>
+</td><td valign="top"><a class="el" href="classtvg_1_1Picture.html">Picture</a> (tvg)   </td><td valign="top"><a class="el" href="classtvg_1_1Saver.html">Saver</a> (tvg)   </td><td></td></tr>
+<tr><td></td><td></td><td></td><td></td></tr>
+<tr><td></td><td valign="top"><a class="el" href="classtvg_1_1LinearGradient.html">LinearGradient</a> (tvg)   </td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td><td></td></tr>
</table>
-<div class="qindex"><a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_f">f</a> | <a class="qindex" href="#letter_g">g</a> | <a class="qindex" href="#letter_i">i</a> | <a class="qindex" href="#letter_l">l</a> | <a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_r">r</a> | <a class="qindex" href="#letter_s">s</a> | <a class="qindex" href="#letter_t">t</a></div>
+<div class="qindex"><a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_f">f</a> | <a class="qindex" href="#letter_g">g</a> | <a class="qindex" href="#letter_i">i</a> | <a class="qindex" href="#letter_l">l</a> | <a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_r">r</a> | <a class="qindex" href="#letter_s">s</a></div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
</div><div class="memdoc">
<p>Guarantees that drawing task is finished. </p>
-<p>The <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements. ">Canvas</a> rendering can be performed asynchronously. To make sure that rendering is finished, the <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished. ">sync()</a> should be called after the <a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0" title="Request the canvas to draw the Paint objects. ">draw()</a>.</p>
+<p>The <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements. ">Canvas</a> rendering can be performed asynchronously. To make sure that rendering is finished, the <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished. ">sync()</a> must be called after the <a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0" title="Request the canvas to draw the Paint objects. ">draw()</a> regardless of threading.</p>
<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>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0" title="Request the canvas to draw the Paint objects. ">Canvas::draw()</a> </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<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>
- <tr><td class="paramname"><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></td><td>An internal error possibly with memory allocation. </td></tr>
+ <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 possibly with memory allocation. </td></tr>
<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>If unknown engine type chosen. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported options. ">Result::NonSupport</a></td><td>In case the engine type is not supported on the system. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e" title="The value returned in all other cases. ">Result::Unknown</a></td><td>Others.</td></tr>
<p>This is the complete list of members for <a class="el" href="classtvg_1_1Paint.html">Paint</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff">bounds</a>(float *x, float *y, float *w, float *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a>(uint8_t o) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee">composite</a>(const Paint **target) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a>(uint8_t o) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e">translate</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<tr class="memitem:ac9f6ba428afe884bcc2861de0a2a96f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </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> &m) noexcept</td></tr>
<tr class="memdesc:ac9f6ba428afe884bcc2861de0a2a96f4"><td class="mdescLeft"> </td><td class="mdescRight">Sets the matrix of the affine transformation for the object. <a href="#ac9f6ba428afe884bcc2861de0a2a96f4">More...</a><br /></td></tr>
<tr class="separator:ac9f6ba428afe884bcc2861de0a2a96f4"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad1e49b6eb81e87bd860f19e1b92c574b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtvg_1_1Matrix.html">Matrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a> () noexcept</td></tr>
+<tr class="memdesc:ad1e49b6eb81e87bd860f19e1b92c574b"><td class="mdescLeft"> </td><td class="mdescRight">Gets the matrix of the affine transformation of the object. <a href="#ad1e49b6eb81e87bd860f19e1b92c574b">More...</a><br /></td></tr>
+<tr class="separator:ad1e49b6eb81e87bd860f19e1b92c574b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f25b71fed3ae390eb8051c7ea65aebf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a> (uint8_t o) noexcept</td></tr>
<tr class="memdesc:a2f25b71fed3ae390eb8051c7ea65aebf"><td class="mdescLeft"> </td><td class="mdescRight">Sets the opacity of the object. <a href="#a2f25b71fed3ae390eb8051c7ea65aebf">More...</a><br /></td></tr>
<tr class="separator:a2f25b71fed3ae390eb8051c7ea65aebf"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:aab93150647927b8f2006b5ae45b7b093"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) const noexcept</td></tr>
-<tr class="memdesc:aab93150647927b8f2006b5ae45b7b093"><td class="mdescLeft"> </td><td class="mdescRight">Sets the composition target object and the composition method. <a href="#aab93150647927b8f2006b5ae45b7b093">More...</a><br /></td></tr>
-<tr class="separator:aab93150647927b8f2006b5ae45b7b093"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a2e2d077b820d1cfd6502a86e0221638b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) noexcept</td></tr>
+<tr class="memdesc:a2e2d077b820d1cfd6502a86e0221638b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the composition target object and the composition method. <a href="#a2e2d077b820d1cfd6502a86e0221638b">More...</a><br /></td></tr>
+<tr class="separator:a2e2d077b820d1cfd6502a86e0221638b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d4e91eeca737b135064caadab4b4dff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </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>
<tr class="memdesc:a6d4e91eeca737b135064caadab4b4dff"><td class="mdescLeft"> </td><td class="mdescRight">Gets the bounding box of the paint object before any transformation. <a href="#a6d4e91eeca737b135064caadab4b4dff">More...</a><br /></td></tr>
<tr class="separator:a6d4e91eeca737b135064caadab4b4dff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ee7517b8bfad47e0f999ba3450e0e3e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a> () const noexcept</td></tr>
<tr class="memdesc:a2ee7517b8bfad47e0f999ba3450e0e3e"><td class="mdescLeft"> </td><td class="mdescRight">Gets the opacity value of the object. <a href="#a2ee7517b8bfad47e0f999ba3450e0e3e">More...</a><br /></td></tr>
<tr class="separator:a2ee7517b8bfad47e0f999ba3450e0e3e"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aefe4ade5b1b6bc13d518bd5f968af3ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> </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>
+<tr class="memdesc:aefe4ade5b1b6bc13d518bd5f968af3ee"><td class="mdescLeft"> </td><td class="mdescRight">Gets the composition target object and the composition method. <a href="#aefe4ade5b1b6bc13d518bd5f968af3ee">More...</a><br /></td></tr>
+<tr class="separator:aefe4ade5b1b6bc13d518bd5f968af3ee"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An abstract class for managing graphical elements. </p>
</div>
</div>
-<a id="aab93150647927b8f2006b5ae45b7b093"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#aab93150647927b8f2006b5ae45b7b093">◆ </a></span>composite()</h2>
+<a id="a2e2d077b820d1cfd6502a86e0221638b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2e2d077b820d1cfd6502a86e0221638b">◆ </a></span>composite() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<tr>
<td></td>
<td>)</td>
- <td></td><td> const</td>
+ <td></td><td></td>
</tr>
</table>
</td>
</dl>
<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>
+</div>
+</div>
+<a id="aefe4ade5b1b6bc13d518bd5f968af3ee"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aefe4ade5b1b6bc13d518bd5f968af3ee">◆ </a></span>composite() <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> composite </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classtvg_1_1Paint.html">Paint</a> ** </td>
+ <td class="paramname"><em>target</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Gets the composition target object and the composition method. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramdir">[out]</td><td class="paramname">target</td><td>The paint of the target object.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The method used to composite the source object with the target.</dd></dl>
+
</div>
</div>
<a id="a71afac69fe1e7c352460be5878812635"></a>
</div>
</div>
<a id="ac9f6ba428afe884bcc2861de0a2a96f4"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ac9f6ba428afe884bcc2861de0a2a96f4">◆ </a></span>transform()</h2>
+<h2 class="memtitle"><span class="permalink"><a href="#ac9f6ba428afe884bcc2861de0a2a96f4">◆ </a></span>transform() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
</dl>
<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>
+</div>
+</div>
+<a id="ad1e49b6eb81e87bd860f19e1b92c574b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad1e49b6eb81e87bd860f19e1b92c574b">◆ </a></span>transform() <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="structtvg_1_1Matrix.html">Matrix</a> transform </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Gets the matrix of the affine transformation of the object. </p>
+<p>The values of the matrix can be set by the <a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b" title="Gets the matrix of the affine transformation of the object. ">transform()</a> API, as well by the <a class="el" href="classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e" title="Sets the values by which the object is moved in a two-dimensional space. ">translate()</a>, <a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2" title="Sets the scale value of the object. ">scale()</a> and <a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3" title="Sets the angle by which the object is rotated. ">rotate()</a>. In case no transformation was applied, the identity matrix is returned.</p>
+<dl class="retval"><dt>Return values</dt><dd>
+ <table class="retval">
+ <tr><td class="paramname">The</td><td>augmented transformation matrix.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section since"><dt>Since</dt><dd>0.4 </dd></dl>
+
</div>
</div>
<a id="ae896f56bfa51c98a50eee3f2bb62e41e"></a>
<p>This is the complete list of members for <a class="el" href="classtvg_1_1Picture.html">Picture</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff">bounds</a>(float *x, float *y, float *w, float *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb">data</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318">load</a>(const std::string &path) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#ad33102ac9c2c60e52e4a61300312ea80">load</a>(const char *data, uint32_t size) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee">composite</a>(const Paint **target) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb">data</a>(uint32_t *w, uint32_t *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318">load</a>(const std::string &path) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce">load</a>(const char *data, uint32_t size, bool copy=false) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767">load</a>(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368">load</a>(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a>(uint8_t o) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40">size</a>(float w, float h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad">size</a>(float *w, float *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a4e3879d926e8a37c83dd7d0d3895889b">paint</a>(std::unique_ptr< Paint > paint) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40">size</a>(float w, float h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad">size</a>(float *w, float *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e">translate</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Picture.html#af04ad88b171b00da024fae34112378be">viewbox</a>(float *x, float *y, float *w, float *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Picture.html">Picture</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<tr class="memitem:aaf06be7d0b572c5ce35315cbddd7d318"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318">load</a> (const std::string &path) noexcept</td></tr>
<tr class="memdesc:aaf06be7d0b572c5ce35315cbddd7d318"><td class="mdescLeft"> </td><td class="mdescRight">Loads a picture data directly from a file. <a href="#aaf06be7d0b572c5ce35315cbddd7d318">More...</a><br /></td></tr>
<tr class="separator:aaf06be7d0b572c5ce35315cbddd7d318"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ad33102ac9c2c60e52e4a61300312ea80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#ad33102ac9c2c60e52e4a61300312ea80">load</a> (const char *<a class="el" href="classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb">data</a>, uint32_t <a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40">size</a>) noexcept</td></tr>
-<tr class="memdesc:ad33102ac9c2c60e52e4a61300312ea80"><td class="mdescLeft"> </td><td class="mdescRight">Loads a picture data from a memory block of a given size. <a href="#ad33102ac9c2c60e52e4a61300312ea80">More...</a><br /></td></tr>
-<tr class="separator:ad33102ac9c2c60e52e4a61300312ea80"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a3e487c0b236a6eea853c5ccb7665cdce"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce">load</a> (const char *<a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb">data</a>, uint32_t <a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40">size</a>, bool copy=false) noexcept</td></tr>
+<tr class="memdesc:a3e487c0b236a6eea853c5ccb7665cdce"><td class="mdescLeft"> </td><td class="mdescRight">Loads a picture data from a memory block of a given size. <a href="#a3e487c0b236a6eea853c5ccb7665cdce">More...</a><br /></td></tr>
+<tr class="separator:a3e487c0b236a6eea853c5ccb7665cdce"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a95979a7c4ce51445c7ef9d6461c34767"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767">load</a> (const char *<a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb">data</a>, uint32_t <a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40">size</a>, const std::string &mimeType, bool copy=false) noexcept</td></tr>
+<tr class="memdesc:a95979a7c4ce51445c7ef9d6461c34767"><td class="mdescLeft"> </td><td class="mdescRight">Loads a picture data from a memory block of a given size. <a href="#a95979a7c4ce51445c7ef9d6461c34767">More...</a><br /></td></tr>
+<tr class="separator:a95979a7c4ce51445c7ef9d6461c34767"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a065e47b46c791ee4d93ed3252d581a40"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40">size</a> (float w, float h) noexcept</td></tr>
<tr class="memdesc:a065e47b46c791ee4d93ed3252d581a40"><td class="mdescLeft"> </td><td class="mdescRight">Resize the picture content with the given width and height. <a href="#a065e47b46c791ee4d93ed3252d581a40">More...</a><br /></td></tr>
<tr class="separator:a065e47b46c791ee4d93ed3252d581a40"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af80639ef3460a5cf06278fdc03c13aad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad">size</a> (float *w, float *h) const noexcept</td></tr>
<tr class="memdesc:af80639ef3460a5cf06278fdc03c13aad"><td class="mdescLeft"> </td><td class="mdescRight">Gets the size of the image. <a href="#af80639ef3460a5cf06278fdc03c13aad">More...</a><br /></td></tr>
<tr class="separator:af80639ef3460a5cf06278fdc03c13aad"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:afb53c7c5a55bab703a98808ecb3319eb"><td class="memItemLeft" align="right" valign="top">const uint32_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb">data</a> () const noexcept</td></tr>
-<tr class="memdesc:afb53c7c5a55bab703a98808ecb3319eb"><td class="mdescLeft"> </td><td class="mdescRight">Gets the pixels information of the picture. <a href="#afb53c7c5a55bab703a98808ecb3319eb">More...</a><br /></td></tr>
-<tr class="separator:afb53c7c5a55bab703a98808ecb3319eb"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:a1fdf75092cebaa7cde48d6a7d4946368"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368">load</a> (uint32_t *<a class="el" href="classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb">data</a>, uint32_t w, uint32_t h, bool copy) noexcept</td></tr>
+<tr class="memitem:a21b1473525a4e1fccdc6b893bdfd4fbb"><td class="memItemLeft" align="right" valign="top">const uint32_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb">data</a> (uint32_t *w, uint32_t *h) const noexcept</td></tr>
+<tr class="memdesc:a21b1473525a4e1fccdc6b893bdfd4fbb"><td class="mdescLeft"> </td><td class="mdescRight">Gets the pixels information of the picture. <a href="#a21b1473525a4e1fccdc6b893bdfd4fbb">More...</a><br /></td></tr>
+<tr class="separator:a21b1473525a4e1fccdc6b893bdfd4fbb"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4e3879d926e8a37c83dd7d0d3895889b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a4e3879d926e8a37c83dd7d0d3895889b">paint</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > paint) noexcept</td></tr>
+<tr class="separator:a4e3879d926e8a37c83dd7d0d3895889b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a1fdf75092cebaa7cde48d6a7d4946368"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368">load</a> (uint32_t *<a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb">data</a>, uint32_t w, uint32_t h, bool copy) noexcept</td></tr>
<tr class="memdesc:a1fdf75092cebaa7cde48d6a7d4946368"><td class="mdescLeft"> </td><td class="mdescRight">Loads a raw data from a memory block with a given size. <a href="#a1fdf75092cebaa7cde48d6a7d4946368">More...</a><br /></td></tr>
<tr class="separator:a1fdf75092cebaa7cde48d6a7d4946368"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af04ad88b171b00da024fae34112378be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#af04ad88b171b00da024fae34112378be">viewbox</a> (float *x, float *y, float *w, float *h) const noexcept</td></tr>
-<tr class="memdesc:af04ad88b171b00da024fae34112378be"><td class="mdescLeft"> </td><td class="mdescRight">Gets the position and the size of the loaded picture. <a href="#af04ad88b171b00da024fae34112378be">More...</a><br /></td></tr>
+<tr class="memdesc:af04ad88b171b00da024fae34112378be"><td class="mdescLeft"> </td><td class="mdescRight">Gets the position and the size of the loaded SVG picture. <a href="#af04ad88b171b00da024fae34112378be">More...</a><br /></td></tr>
<tr class="separator:af04ad88b171b00da024fae34112378be"><td class="memSeparator" colspan="2"> </td></tr>
<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="-"/> Public Member Functions inherited from <a class="el" href="classtvg_1_1Paint.html">Paint</a></td></tr>
<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a> (float degree) noexcept</td></tr>
<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> </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> &m) noexcept</td></tr>
<tr class="memdesc:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
<tr class="separator:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a> () noexcept</td></tr>
+<tr class="memdesc:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a> (uint8_t o) noexcept</td></tr>
<tr class="memdesc:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Sets the opacity of the object. <a href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">More...</a><br /></td></tr>
<tr class="separator:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) const noexcept</td></tr>
-<tr class="memdesc:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Sets the composition target object and the composition method. <a href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">More...</a><br /></td></tr>
-<tr class="separator:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) noexcept</td></tr>
+<tr class="memdesc:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<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> </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>
<tr class="memdesc:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
<tr class="separator:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a> () const noexcept</td></tr>
<tr class="memdesc:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Gets the opacity value of the object. <a href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">More...</a><br /></td></tr>
<tr class="separator:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </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>
+<tr class="memdesc:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<div class="textblock"><p>A class representing an image read in one of the supported formats: raw, svg, png and etc. Besides the methods inherited from the <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements. ">Paint</a>, it provides methods to load & draw images on the canvas. </p>
<dl class="section note"><dt>Note</dt><dd>Supported formats are depended on the available TVG loaders. </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
-<a id="afb53c7c5a55bab703a98808ecb3319eb"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#afb53c7c5a55bab703a98808ecb3319eb">◆ </a></span>data()</h2>
+<a id="a21b1473525a4e1fccdc6b893bdfd4fbb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a21b1473525a4e1fccdc6b893bdfd4fbb">◆ </a></span>data()</h2>
<div class="memitem">
<div class="memproto">
<tr>
<td class="memname">const uint32_t* data </td>
<td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
+ <td class="paramtype">uint32_t * </td>
+ <td class="paramname"><em>w</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t * </td>
+ <td class="paramname"><em>h</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td> const</td>
</tr>
</table>
</td>
</div>
</div>
<a id="aaf06be7d0b572c5ce35315cbddd7d318"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#aaf06be7d0b572c5ce35315cbddd7d318">◆ </a></span>load() <span class="overload">[1/3]</span></h2>
+<h2 class="memtitle"><span class="permalink"><a href="#aaf06be7d0b572c5ce35315cbddd7d318">◆ </a></span>load() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<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>
- <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 the <code>path</code> is empty. </td></tr>
+ <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 the <code>path</code> is invalid. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported options. ">Result::NonSupport</a></td><td>When trying to load a file with an unknown extension. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e" title="The value returned in all other cases. ">Result::Unknown</a></td><td>If an error occurs at a later stage.</td></tr>
</table>
</div>
</div>
-<a id="ad33102ac9c2c60e52e4a61300312ea80"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ad33102ac9c2c60e52e4a61300312ea80">◆ </a></span>load() <span class="overload">[2/3]</span></h2>
+<a id="a3e487c0b236a6eea853c5ccb7665cdce"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3e487c0b236a6eea853c5ccb7665cdce">◆ </a></span>load() <span class="overload">[2/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load </td>
+ <td>(</td>
+ <td class="paramtype">const char * </td>
+ <td class="paramname"><em>data</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool </td>
+ <td class="paramname"><em>copy</em> = <code>false</code> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Loads a picture data from a memory block of a given size. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A pointer to a memory location where the content of the picture file is stored. </td></tr>
+ <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The size in bytes of the memory occupied by the <code>data</code>. </td></tr>
+ <tr><td class="paramdir">[in]</td><td class="paramname">copy</td><td>Decides whether the data should be copied into the engine local buffer.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="retval"><dt>Return values</dt><dd>
+ <table class="retval">
+ <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>
+ <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 no data are provided or the <code>size</code> is zero or less. </td></tr>
+ <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported options. ">Result::NonSupport</a></td><td>When trying to load a file with an unknown extension. </td></tr>
+ <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e" title="The value returned in all other cases. ">Result::Unknown</a></td><td>If an error occurs at a later stage.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section warning"><dt>Warning</dt><dd>: you have responsibility to release the <code>data</code> memory if the <code>copy</code> is true </dd></dl>
+<dl class="section see"><dt>See also</dt><dd>Result <a class="el" href="classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318" title="Loads a picture data directly from a file. ">load</a>(const char* <a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb" title="Gets the pixels information of the picture. ">data</a>, uint32_t <a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40" title="Resize the picture content with the given width and height. ">size</a>, const std::string& mimeType, bool copy = false) noexcept </dd></dl>
+
+</div>
+</div>
+<a id="a95979a7c4ce51445c7ef9d6461c34767"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a95979a7c4ce51445c7ef9d6461c34767">◆ </a></span>load() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t </td>
- <td class="paramname"><em>size</em> </td>
+ <td class="paramname"><em>size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::string & </td>
+ <td class="paramname"><em>mimeType</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool </td>
+ <td class="paramname"><em>copy</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A pointer to a memory location where the content of the picture file is stored. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The size in bytes of the memory occupied by the <code>data</code>.</td></tr>
+ <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The size in bytes of the memory occupied by the <code>data</code>. </td></tr>
+ <tr><td class="paramdir">[in]</td><td class="paramname">mimetype</td><td>Mimetype or extension of data such as "jpg", "jpeg", "svg", "svg+xml", "png", etc. If empty string or unknown, loaders will be tried one by one. </td></tr>
+ <tr><td class="paramdir">[in]</td><td class="paramname">copy</td><td>Decides whether the data should be copied into the engine local buffer.</td></tr>
</table>
</dd>
</dl>
</table>
</dd>
</dl>
-<dl class="section note"><dt>Note</dt><dd>: This api supports only SVG format </dd></dl>
+<dl class="section warning"><dt>Warning</dt><dd>: you have responsibility to release the <code>data</code> memory if the <code>copy</code> is true</dd></dl>
</div>
</div>
<a id="a1fdf75092cebaa7cde48d6a7d4946368"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a1fdf75092cebaa7cde48d6a7d4946368">◆ </a></span>load() <span class="overload">[3/3]</span></h2>
+<h2 class="memtitle"><span class="permalink"><a href="#a1fdf75092cebaa7cde48d6a7d4946368">◆ </a></span>load() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<p>Loads a raw data from a memory block with a given size. </p>
<dl class="section warning"><dt>Warning</dt><dd>Please do not use it, this API is not official one. It could be modified in the next version.</dd></dl>
+</div>
+</div>
+<a id="a4e3879d926e8a37c83dd7d0d3895889b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4e3879d926e8a37c83dd7d0d3895889b">◆ </a></span>paint()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> paint </td>
+ <td>(</td>
+ <td class="paramtype">std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > </td>
+ <td class="paramname"><em>paint</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+<p>Must remove it! </p>
+
</div>
</div>
<a id="a065e47b46c791ee4d93ed3252d581a40"></a>
</table>
</div><div class="memdoc">
-<p>Gets the position and the size of the loaded picture. </p>
+<p>Gets the position and the size of the loaded SVG picture. </p>
<dl class="section warning"><dt>Warning</dt><dd>Please do not use it, this API is not official one. It could be modified in the next version.</dd></dl>
</div>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>ThorVG: Member List</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">ThorVG
+  <span id="projectnumber">v0.1</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><b>tvg</b></li><li class="navelem"><a class="el" href="classtvg_1_1Saver.html">Saver</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">Saver Member List</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p>This is the complete list of members for <a class="el" href="classtvg_1_1Saver.html">Saver</a>, including all inherited members.</p>
+<table class="directory">
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Saver.html">Saver</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf">save</a>(std::unique_ptr< Paint > paint, const std::string &path) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Saver.html">Saver</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Saver.html">Saver</a></td><td class="entry"></td></tr>
+</table></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>ThorVG: Saver</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">ThorVG
+  <span id="projectnumber">v0.1</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><b>tvg</b></li><li class="navelem"><a class="el" href="classtvg_1_1Saver.html">Saver</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-methods">Public Member Functions</a> |
+<a href="#pub-static-methods">Static Public Member Functions</a> |
+<a href="classtvg_1_1Saver-members.html">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">Saver<div class="ingroups"><a class="el" href="group__ThorVG.html">ThorVG</a></div></div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p>A class for exporting a paint object into a specified file, from which to recover the paint data later.
+ <a href="classtvg_1_1Saver.html#details">More...</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr class="memitem:a4bb29e6a836958b4e26fd5f8189c63cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf">save</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > paint, const std::string &path) noexcept</td></tr>
+<tr class="memdesc:a4bb29e6a836958b4e26fd5f8189c63cf"><td class="mdescLeft"> </td><td class="mdescRight">Export the given <code>paint</code> data to the given <code>path</code>. <a href="#a4bb29e6a836958b4e26fd5f8189c63cf">More...</a><br /></td></tr>
+<tr class="separator:a4bb29e6a836958b4e26fd5f8189c63cf"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a2fdf9b2208358ea10f912b1877733778"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778">sync</a> () noexcept</td></tr>
+<tr class="memdesc:a2fdf9b2208358ea10f912b1877733778"><td class="mdescLeft"> </td><td class="mdescRight">Guarantees that the saving task is finished. <a href="#a2fdf9b2208358ea10f912b1877733778">More...</a><br /></td></tr>
+<tr class="separator:a2fdf9b2208358ea10f912b1877733778"><td class="memSeparator" colspan="2"> </td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
+Static Public Member Functions</h2></td></tr>
+<tr class="memitem:a938c339098e9da63f98f2b182a4cf683"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr< <a class="el" href="classtvg_1_1Saver.html">Saver</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683">gen</a> () noexcept</td></tr>
+<tr class="memdesc:a938c339098e9da63f98f2b182a4cf683"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classtvg_1_1Saver.html" title="A class for exporting a paint object into a specified file, from which to recover the paint data late...">Saver</a> object. <a href="#a938c339098e9da63f98f2b182a4cf683">More...</a><br /></td></tr>
+<tr class="separator:a938c339098e9da63f98f2b182a4cf683"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>A class for exporting a paint object into a specified file, from which to recover the paint data later. </p>
+<p>ThorVG provides a feature for exporting & importing paint data, the <a class="el" href="classtvg_1_1Saver.html" title="A class for exporting a paint object into a specified file, from which to recover the paint data late...">Saver</a> has a role to export it to a file. Basically, this feature is useful when you need to save the composed scene or image from a paint object and recreate it later.</p>
+<p>The file format is decided by the extension name(i.e. "*.tvg") while the supported formats depend on the TVG packaging environment. If it doesn't support the file format, it will return the <code>NonSuppport</code> result by the <a class="el" href="classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf" title="Export the given paint data to the given path. ">save()</a> method.</p>
+<p>Once you export a paint to the file successfully, you can recreate it using the <a class="el" href="classtvg_1_1Picture.html" title="A class representing an image read in one of the supported formats: raw, svg, png and etc...">Picture</a> class.</p>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318" title="Loads a picture data directly from a file. ">Picture::load()</a></dd></dl>
+</div><h2 class="groupheader">Member Function Documentation</h2>
+<a id="a938c339098e9da63f98f2b182a4cf683"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a938c339098e9da63f98f2b182a4cf683">◆ </a></span>gen()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static std::unique_ptr<<a class="el" href="classtvg_1_1Saver.html">Saver</a>> gen </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Creates a new <a class="el" href="classtvg_1_1Saver.html" title="A class for exporting a paint object into a specified file, from which to recover the paint data late...">Saver</a> object. </p>
+<dl class="section return"><dt>Returns</dt><dd>A new <a class="el" href="classtvg_1_1Saver.html" title="A class for exporting a paint object into a specified file, from which to recover the paint data late...">Saver</a> object.</dd></dl>
+
+</div>
+</div>
+<a id="a4bb29e6a836958b4e26fd5f8189c63cf"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4bb29e6a836958b4e26fd5f8189c63cf">◆ </a></span>save()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> save </td>
+ <td>(</td>
+ <td class="paramtype">std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > </td>
+ <td class="paramname"><em>paint</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const std::string & </td>
+ <td class="paramname"><em>path</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Export the given <code>paint</code> data to the given <code>path</code>. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The paint to be saved with all its associated properties. </td></tr>
+ <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path to the file, in which the paint data is to be saved.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="retval"><dt>Return values</dt><dd>
+ <table class="retval">
+ <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>
+ <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported options. ">Result::NonSupport</a></td><td>When trying to save a file with an unknown extension nor non supported format. </td></tr>
+ <tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e" title="The value returned in all other cases. ">Result::Unknown</a></td><td>Others.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="section note"><dt>Note</dt><dd>Saving can be asynchronous if the assigned thread number is greater than zero. To guarantee the saving is done, call <a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778" title="Guarantees that the saving task is finished. ">sync()</a> afterwards. </dd></dl>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778" title="Guarantees that the saving task is finished. ">Saver::sync()</a></dd></dl>
+
+</div>
+</div>
+<a id="a2fdf9b2208358ea10f912b1877733778"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2fdf9b2208358ea10f912b1877733778">◆ </a></span>sync()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> sync </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Guarantees that the saving task is finished. </p>
+<p>The behavior of the saver will work on a sync/async basis, depending on the threading setting of the <a class="el" href="classtvg_1_1Initializer.html" title="A class that enables initialization and termination of the TVG engines. ">Initializer</a>. Thus if you wish to have a benefit of it, you must call <a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778" title="Guarantees that the saving task is finished. ">sync()</a> after the <a class="el" href="classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf" title="Export the given paint data to the given path. ">save()</a> in the proper delayed time. Otherwise, you can call <a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778" title="Guarantees that the saving task is finished. ">sync()</a> immediately.</p>
+<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>
+<dd>
+<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>
+<dl class="section note"><dt>Note</dt><dd>The asynchronous tasking is depend on the saver module implementation. </dd></dl>
+<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf" title="Export the given paint data to the given path. ">Saver::save()</a></dd></dl>
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>
<p>This is the complete list of members for <a class="el" href="classtvg_1_1Scene.html">Scene</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff">bounds</a>(float *x, float *y, float *w, float *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Scene.html#ab1b298a0aae3e173a984c0bceb2456fe">clear</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a>(uint8_t o) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103">push</a>(std::unique_ptr< Paint > paint) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Scene.html#a7e23b9ddc266b5910001174b3c84a485">reserve</a>(uint32_t size) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed">clear</a>(bool free=true) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee">composite</a>(const Paint **target) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a>(uint8_t o) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103">push</a>(std::unique_ptr< Paint > paint) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Scene.html#a7e23b9ddc266b5910001174b3c84a485">reserve</a>(uint32_t size) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Scene.html">Scene</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e">translate</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<tr class="memitem:a7e23b9ddc266b5910001174b3c84a485"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Scene.html#a7e23b9ddc266b5910001174b3c84a485">reserve</a> (uint32_t size) noexcept</td></tr>
<tr class="memdesc:a7e23b9ddc266b5910001174b3c84a485"><td class="mdescLeft"> </td><td class="mdescRight">Sets the size of the container, where all the paints pushed into the <a class="el" href="classtvg_1_1Scene.html" title="A class to composite children paints. ">Scene</a> are stored. <a href="#a7e23b9ddc266b5910001174b3c84a485">More...</a><br /></td></tr>
<tr class="separator:a7e23b9ddc266b5910001174b3c84a485"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ab1b298a0aae3e173a984c0bceb2456fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Scene.html#ab1b298a0aae3e173a984c0bceb2456fe">clear</a> () noexcept</td></tr>
-<tr class="memdesc:ab1b298a0aae3e173a984c0bceb2456fe"><td class="mdescLeft"> </td><td class="mdescRight">Sets the total number of the paints pushed into the scene to be zero. <a href="#ab1b298a0aae3e173a984c0bceb2456fe">More...</a><br /></td></tr>
-<tr class="separator:ab1b298a0aae3e173a984c0bceb2456fe"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ac020ea777be697067c6f5c8b18f6a4ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed">clear</a> (bool free=true) noexcept</td></tr>
+<tr class="memdesc:ac020ea777be697067c6f5c8b18f6a4ed"><td class="mdescLeft"> </td><td class="mdescRight">Sets the total number of the paints pushed into the scene to be zero. Depending on the value of the <code>free</code> argument, the paints are freed or not. <a href="#ac020ea777be697067c6f5c8b18f6a4ed">More...</a><br /></td></tr>
+<tr class="separator:ac020ea777be697067c6f5c8b18f6a4ed"><td class="memSeparator" colspan="2"> </td></tr>
<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="-"/> Public Member Functions inherited from <a class="el" href="classtvg_1_1Paint.html">Paint</a></td></tr>
<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a> (float degree) noexcept</td></tr>
<tr class="memdesc:a7841fa0c14643e09735d48042ead68f3 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
<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> </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> &m) noexcept</td></tr>
<tr class="memdesc:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
<tr class="separator:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a> () noexcept</td></tr>
+<tr class="memdesc:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a> (uint8_t o) noexcept</td></tr>
<tr class="memdesc:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Sets the opacity of the object. <a href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">More...</a><br /></td></tr>
<tr class="separator:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) const noexcept</td></tr>
-<tr class="memdesc:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Sets the composition target object and the composition method. <a href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">More...</a><br /></td></tr>
-<tr class="separator:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) noexcept</td></tr>
+<tr class="memdesc:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<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> </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>
<tr class="memdesc:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
<tr class="separator:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a> () const noexcept</td></tr>
<tr class="memdesc:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Gets the opacity value of the object. <a href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">More...</a><br /></td></tr>
<tr class="separator:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </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>
+<tr class="memdesc:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<p>As the traditional graphics rendering method, TVG also enables scene-graph mechanism. This feature supports an array function for managing the multiple paints as one group paint.</p>
<p>As a group, the scene can be transformed, made translucent and composited with other target paints, its children will be affected by the scene world. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
-<a id="ab1b298a0aae3e173a984c0bceb2456fe"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ab1b298a0aae3e173a984c0bceb2456fe">◆ </a></span>clear()</h2>
+<a id="ac020ea777be697067c6f5c8b18f6a4ed"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac020ea777be697067c6f5c8b18f6a4ed">◆ </a></span>clear()</h2>
<div class="memitem">
<div class="memproto">
<tr>
<td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> clear </td>
<td>(</td>
- <td class="paramname"></td><td>)</td>
+ <td class="paramtype">bool </td>
+ <td class="paramname"><em>free</em> = <code>true</code></td><td>)</td>
<td></td>
</tr>
</table>
</table>
</div><div class="memdoc">
-<p>Sets the total number of the paints pushed into the scene to be zero. </p>
-<dl class="section warning"><dt>Warning</dt><dd>Please do not use it, this API is not official one. It could be modified in the next version.</dd></dl>
+<p>Sets the total number of the paints pushed into the scene to be zero. Depending on the value of the <code>free</code> argument, the paints are freed or not. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramdir">[in]</td><td class="paramname">free</td><td>If <code>true</code>, the memory occupied by paints is deallocated, otherwise it is not.</td></tr>
+ </table>
+ </dd>
+</dl>
+<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>
+<dl class="section warning"><dt>Warning</dt><dd>If you don't free the paints they become dangled. They are supposed to be reused, otherwise you are responsible for their lives. Thus please use the <code>free</code> argument only when you know how it works, otherwise it's not recommended. </dd>
+<dd>
+Please do not use it, this API is not official one. It could be modified in the next version.</dd></dl>
+<dl class="section since"><dt>Since</dt><dd>0.2 </dd></dl>
</div>
</div>
</div><div class="memdoc">
<p>Passes drawing elements to the <a class="el" href="classtvg_1_1Scene.html" title="A class to composite children paints. ">Scene</a> using <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements. ">Paint</a> objects. </p>
-<p>Only pushed paints in the scene will be drawing targets. They are retained by the scene until you call <a class="el" href="classtvg_1_1Scene.html#ab1b298a0aae3e173a984c0bceb2456fe" title="Sets the total number of the paints pushed into the scene to be zero. ">Scene::clear()</a>. If you know the number of the pushed objects in the advance, please call <a class="el" href="classtvg_1_1Scene.html#a7e23b9ddc266b5910001174b3c84a485" title="Sets the size of the container, where all the paints pushed into the Scene are stored. ">Scene::reserve()</a>.</p>
+<p>Only pushed paints in the scene will be drawing targets. They are retained by the scene until you call <a class="el" href="classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed" title="Sets the total number of the paints pushed into the scene to be zero. Depending on the value of the f...">Scene::clear()</a>. If you know the number of the pushed objects in the advance, please call <a class="el" href="classtvg_1_1Scene.html#a7e23b9ddc266b5910001174b3c84a485" title="Sets the size of the container, where all the paints pushed into the Scene are stored. ">Scene::reserve()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements. ">Paint</a> object to be drawn.</td></tr>
<tr><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff">bounds</a>(float *x, float *y, float *w, float *h) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697">close</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ad0cb7b2ec8d18d7c6d366cc84741682c">fill</a>(std::unique_ptr< Fill > f) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a02b95c15d0c2006134a95cdadf64e3f4">fill</a>(FillRule r) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a989edf4b4f68532ff25004fc0c7fe826">fill</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ac14cd997439012e1abf6c1b8d9f3d4aa">fillRule</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd">lineTo</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461">moveTo</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a>(uint8_t o) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7">pathCommands</a>(const PathCommand **cmds) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923">pathCoords</a>(const Point **pts) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251">reset</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73">stroke</a>(float width) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1">stroke</a>(std::unique_ptr< Fill > f) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4">stroke</a>(const float *dashPattern, uint32_t cnt) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375">stroke</a>(StrokeCap cap) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177">stroke</a>(StrokeJoin join) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674">strokeCap</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#afbc1e469219ee86df47d216f58af282a">strokeDash</a>(const float **dashPattern) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e">strokeFill</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a">strokeJoin</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9">strokeWidth</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a>(std::unique_ptr< Paint > target, CompositeMethod method) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee">composite</a>(const Paint **target) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635">duplicate</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ad0cb7b2ec8d18d7c6d366cc84741682c">fill</a>(std::unique_ptr< Fill > f) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a02b95c15d0c2006134a95cdadf64e3f4">fill</a>(FillRule r) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a989edf4b4f68532ff25004fc0c7fe826">fill</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ac14cd997439012e1abf6c1b8d9f3d4aa">fillRule</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd">lineTo</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461">moveTo</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a>(uint8_t o) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7">pathCommands</a>(const PathCommand **cmds) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923">pathCoords</a>(const Point **pts) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251">reset</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">rotate</a>(float degree) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">scale</a>(float factor) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73">stroke</a>(float width) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1">stroke</a>(std::unique_ptr< Fill > f) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4">stroke</a>(const float *dashPattern, uint32_t cnt) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375">stroke</a>(StrokeCap cap) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177">stroke</a>(StrokeJoin join) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674">strokeCap</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><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><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#afbc1e469219ee86df47d216f58af282a">strokeDash</a>(const float **dashPattern) const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e">strokeFill</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a">strokeJoin</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9">strokeWidth</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Shape.html">Shape</a></td><td class="entry"></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &m) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
+ <tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e">translate</a>(float x, float y) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Paint.html">Paint</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<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> </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> &m) noexcept</td></tr>
<tr class="memdesc:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
<tr class="separator:ac9f6ba428afe884bcc2861de0a2a96f4 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b">transform</a> () noexcept</td></tr>
+<tr class="memdesc:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:ad1e49b6eb81e87bd860f19e1b92c574b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">opacity</a> (uint8_t o) noexcept</td></tr>
<tr class="memdesc:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Sets the opacity of the object. <a href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">More...</a><br /></td></tr>
<tr class="separator:a2f25b71fed3ae390eb8051c7ea65aebf inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) const noexcept</td></tr>
-<tr class="memdesc:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Sets the composition target object and the composition method. <a href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">More...</a><br /></td></tr>
-<tr class="separator:aab93150647927b8f2006b5ae45b7b093 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">composite</a> (std::unique_ptr< <a class="el" href="classtvg_1_1Paint.html">Paint</a> > target, <a class="el" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) noexcept</td></tr>
+<tr class="memdesc:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:a2e2d077b820d1cfd6502a86e0221638b inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<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> </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>
<tr class="memdesc:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
<tr class="separator:a6d4e91eeca737b135064caadab4b4dff inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">opacity</a> () const noexcept</td></tr>
<tr class="memdesc:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </td><td class="mdescRight">Gets the opacity value of the object. <a href="classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e">More...</a><br /></td></tr>
<tr class="separator:a2ee7517b8bfad47e0f999ba3450e0e3e inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
+<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> </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>
+<tr class="memdesc:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft"> </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>
+<tr class="separator:aefe4ade5b1b6bc13d518bd5f968af3ee inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<table class="retval">
<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>
<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>
- <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 a <code>nullptr</code> is passed as the <code>dashPattern</code>, the given length of the array is less than two or any of the <code>dashPattern</code> values is zero or less.</td></tr>
+ <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>
</table>
</dd>
</dl>
-<dl class="section note"><dt>Note</dt><dd>If any of the dash pattern values is zero, this function has no effect. </dd></dl>
+<dl class="section note"><dt>Note</dt><dd>If any of the dash pattern values is zero, this function has no effect. </dd>
+<dd>
+To reset the stroke dash pattern, pass <code>nullptr</code> to <code>dashPattern</code> and zero to <code>cnt</code>. </dd></dl>
+<dl class="section warning"><dt>Warning</dt><dd><code>cnt</code> must be greater than 1 if the dash pattern is valid. </dd></dl>
</div>
</div>
</div><div class="memdoc">
<p>Enumeration specifying the methods of Memory Pool behavior policy. </p>
+<dl class="section since"><dt>Since</dt><dd>0.4 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a9b9770837f0171b15f0cd86f94e8e22ba79935518a3889663d8688b6b01fff051"></a>Default </td><td class="fielddoc"><p>Default behavior that ThorVG is designed to. </p>
</td></tr>
<p>Set sw engine memory pool behavior policy. </p>
<p>Basically ThorVG draws a lot of shapes, it allocates/deallocates a few chunk of memory while processing rendering. It internally uses one shared memory pool which can be reused among the canvases in order to avoid memory overhead.</p>
-<p>Thus ThorVG suggests memory pool policy to satisfy user demands, if it needs to guarantee the thread-safety of the internal data access.</p>
+<p>Thus ThorVG suggests using a memory pool policy to satisfy user demands, if it needs to guarantee the thread-safety of the internal data access.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">policy</td><td>Use the shared cache memory. The default value is <code>true</code> </td></tr>
+ <tr><td class="paramdir">[in]</td><td class="paramname">policy</td><td>The method specifying the Memory Pool behavior. The default value is <code>MempoolPolicy::Default</code>.</td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<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>
- <tr><td class="paramname"><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></td><td>If the canvas has any paints. </td></tr>
+ <tr><td class="paramname"><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></td><td>If the canvas has no paints. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported options. ">Result::NonSupport</a></td><td>In case the software engine is not supported.</td></tr>
</table>
</dd>
</dl>
-<dl class="section note"><dt>Note</dt><dd>When <code>policy</code> is set as <code>MempoolPolicy::Individual</code>, current instance of canvas uses its own individual memory data that is not shared with others. This is necessary when the canvas is accessed on a worker-thread.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>When <code>policy</code> is set as <code>MempoolPolicy::Individual</code>, the current instance of canvas uses its own individual memory data, which is not shared with others. This is necessary when the canvas is accessed on a worker-thread.</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>It's not allowed after pushing any paints.</dd></dl>
+<dl class="section since"><dt>Since</dt><dd>0.4 </dd></dl>
</div>
</div>
Files</h2></td></tr>
<tr class="memitem:thorvg_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>thorvg.h</b> <a href="thorvg_8h_source.html">[code]</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:thorvg__capi_8h"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><b>thorvg_capi.h</b> <a href="thorvg__capi_8h_source.html">[code]</a></td></tr>
-<tr class="memdesc:thorvg__capi_8h"><td class="mdescLeft"> </td><td class="mdescRight">The module provides C bindings for the ThorVG library. Please refer to src/examples/Capi.cpp to find the thorvg_capi usage examples. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
*/
-:root {
+html {
/* primary theme color. This will affect the entire websites color scheme: links, arrows, labels, ... */
- --primary-color: #1982d2;
+ --primary-color: #1779c4;
--primary-dark-color: #00559f;
--primary-light-color: #7aabd6;
--primary-lighter-color: #cae1f1;
/* content text properties. These only affect the page content, not the navigation or any other ui elements */
--content-line-height: 27px;
/* The content is centered and constraint in it's width. To make the content fill the whole page, set the variable to auto.*/
- --content-maxwidth: 900px;
+ --content-maxwidth: 1000px;
/* colors for various content boxes: @warning, @note, @deprecated @bug */
--warning-color: #fca49b;
/* fragment colors */
--fragment-background: #282c34;
- --fragment-foreground: #fff;
+ --fragment-foreground: #ffffff;
--fragment-keyword: #cc99cd;
--fragment-keywordtype: #ab99cd;
--fragment-keywordflow: #e08000;
--fragment-token: #7ec699;
- --fragment-comment: #999;
+ --fragment-comment: #999999;
--fragment-link: #98c0e3;
--fragment-preprocessor: #65cabe;
- --fragment-linenumber-color: #ccc;
+ --fragment-linenumber-color: #cccccc;
--fragment-linenumber-background: #35393c;
+ --fragment-linenumber-border: #1f1f1f;
--fragment-lineheight: 20px;
/* sidebar navigation (treeview) colors */
- --side-nav-background: var(--page-background-color);
+ --side-nav-background: #fbfbfb;
--side-nav-foreground: var(--page-foreground-color);
- --side-nav-arrow-color: var(--page-background-color);
+ --side-nav-arrow-opacity: 0;
+ --side-nav-arrow-hover-opacity: 0.9;
/* height of an item in any tree / collapsable table */
--tree-item-height: 30px;
+
+ --darkmode-toggle-button-icon: '☀️'
}
@media screen and (max-width: 767px) {
- :root {
+ html {
--page-font-size: 16px;
--navigation-font-size: 16px;
--code-font-size: 15px; /* affects code, fragment */
}
@media (prefers-color-scheme: dark) {
- :root {
- --primary-color: #00559f;
- --primary-dark-color: #1982d2;
+ html:not(.light-mode) {
+ --primary-color: #1982d2;
+ --primary-dark-color: #5ca8e2;
--primary-light-color: #4779ac;
--primary-lighter-color: #191e21;
--primary-lightest-color: #191a1c;
--bug-color: rgb(248, 113, 0);
--bug-color-dark: #812a00;
--bug-color-darker: #ffd3be;
+
+ --darkmode-toggle-button-icon: '🌛';
}
}
+/* dark mode variables are defined twice, to support both the dark-mode without and with doxygen-awesome-darkmode-toggle.js */
+html.dark-mode {
+ --primary-color: #1982d2;
+ --primary-dark-color: #5ca8e2;
+ --primary-light-color: #4779ac;
+ --primary-lighter-color: #191e21;
+ --primary-lightest-color: #191a1c;
+
+ --box-shadow: 0 2px 10px 0 rgba(0,0,0,.35);
+
+ --odd-color: rgba(0,0,0,.1);
+
+ --menu-selected-background: rgba(0,0,0,.4);
+
+ --page-background-color: #1C1D1F;
+ --page-foreground-color: #d2dbde;
+ --page-secondary-foreground-color: #859399;
+ --separator-color: #000000;
+ --side-nav-background: #252628;
+
+ --code-background: #2a2c2f;
+
+ --tablehead-background: #2a2c2f;
+
+ --blockquote-background: #1f2022;
+ --blockquote-foreground: #77848a;
+
+ --warning-color: #b61825;
+ --warning-color-dark: #510a02;
+ --warning-color-darker: #f5b1aa;
+ --note-color: rgb(255, 183, 0);
+ --note-color-dark: #9f7300;
+ --note-color-darker: #fff6df;
+ --deprecated-color: rgb(88, 90, 96);
+ --deprecated-color-dark: #262e37;
+ --deprecated-color-darker: #a0a5b0;
+ --bug-color: rgb(248, 113, 0);
+ --bug-color-dark: #812a00;
+ --bug-color-darker: #ffd3be;
+
+ --darkmode-toggle-button-icon: '🌛';
+}
+
body {
color: var(--page-foreground-color);
background-color: var(--page-background-color);
font-size: var(--page-font-size);
}
-a, a.el:visited, a.el:hover, a.el:focus, a.el:active {
- color: var(--primary-dark-color);
+a:link, a:visited, a:hover, a:focus, a:active {
+ color: var(--primary-color) !important;
+ font-weight: 500;
}
/*
}
.sm-dox ul a span.sub-arrow {
- border-color: transparent transparent transparent var(--header-foreground);
+ border-color: transparent transparent transparent var(--page-foreground-color);
}
.sm-dox ul a:hover span.sub-arrow {
}
.sm-dox ul a {
- color: var(--page-foreground-color);
+ color: var(--page-foreground-color) !important;
background: var(--page-background-color);
font-size: var(--navigation-font-size);
}
}
.sm-dox ul a:hover, .sm-dox ul a:active, .sm-dox ul a:focus {
- font-size: var(--navigation-font-size);
- color: var(--menu-focus-foreground);
+ font-size: var(--navigation-font-size) !important;
+ color: var(--menu-focus-foreground) !important;
text-shadow: none;
background-color: var(--menu-focus-background);
border-radius: var(--border-radius-small) !important;
text-shadow: none;
background: transparent;
background-image: none !important;
- color: var(--header-foreground);
+ color: var(--header-foreground) !important;
font-weight: normal;
font-size: var(--navigation-font-size);
}
text-shadow: none;
font-weight: normal;
background: var(--menu-focus-background);
- color: var(--menu-focus-foreground);
+ color: var(--menu-focus-foreground) !important;
border-radius: var(--border-radius-small) !important;
font-size: var(--navigation-font-size);
}
#MSearchBox span.right {
padding-top: calc(calc(var(--searchbar-height) / 2) - 12px);
+ position: absolute;
+ right: var(--spacing-small);
}
.tabs #MSearchBox span.right {
}
iframe#MSearchResults {
- background: var(--page-background-color);
margin: 4px;
}
+@media (prefers-color-scheme: dark) {
+ html:not(.light-mode) iframe#MSearchResults {
+ filter: invert() hue-rotate(180deg);
+ }
+}
+
+html.dark-mode iframe#MSearchResults {
+ filter: invert() hue-rotate(180deg);
+}
+
#MSearchSelectWindow {
border: 1px solid var(--separator-color);
border-radius: var(--border-radius-medium);
line-height: var(--content-line-height);
margin: 0 var(--spacing-small);
border-radius: var(--border-radius-small);
- color: var(--page-foreground-color);
+ color: var(--page-foreground-color) !important;
+ font-weight: normal;
}
#MSearchSelectWindow a.SelectItem:hover {
background: var(--menu-focus-background);
- color: var(--menu-focus-foreground);
+ color: var(--menu-focus-foreground) !important;
}
@media screen and (max-width: 767px) {
}
#MSearchField {
- width: calc(100vw - 95px);
+ width: calc(100vw - 110px);
}
@keyframes slideInSearchResultsMobile {
text-shadow: none;
background-image: none;
background-color: transparent;
- box-shadow: inset 4px 0 0 0 var(--primary-dark-color);
+ box-shadow: inset 4px 0 0 0 var(--primary-color);
}
#nav-tree a {
- color: var(--side-nav-foreground);
+ color: var(--side-nav-foreground) !important;
+ font-weight: normal;
}
#nav-tree a:focus {
outline-style: auto;
}
+#nav-tree .arrow {
+ opacity: var(--side-nav-arrow-opacity);
+}
+
.arrow {
- color: var(--primary-light-color);
+ color: inherit;
+ cursor: pointer;
+ font-size: 45%;
+ vertical-align: middle;
+ margin-right: 2px;
font-family: serif;
height: auto;
text-align: right;
}
-#nav-tree .arrow {
- opacity: 0;
-}
-
#nav-tree div.item:hover .arrow, #nav-tree a:focus .arrow {
- opacity: 1;
+ opacity: var(--side-nav-arrow-hover-opacity);
}
#nav-tree .selected a {
- color: var(--primary-dark-color);
+ color: var(--primary-color) !important;
font-weight: bolder;
+ font-weight: 600;
}
.ui-resizable-e {
}
@media (prefers-color-scheme: dark) {
- div.contents div.dyncontent img {
+ html:not(.light-mode) div.contents div.dyncontent img,
+ html:not(.light-mode) div.contents center img,
+ html:not(.light-mode) div.contents table img,
+ html:not(.light-mode) div.contents div.dyncontent iframe,
+ html:not(.light-mode) div.contents center iframe,
+ html:not(.light-mode) div.contents table iframe {
filter: hue-rotate(180deg) invert();
}
}
+html.dark-mode div.contents div.dyncontent img,
+html.dark-mode div.contents center img,
+html.dark-mode div.contents table img,
+html.dark-mode div.contents div.dyncontent iframe,
+html.dark-mode div.contents center iframe,
+html.dark-mode div.contents table iframe {
+ filter: hue-rotate(180deg) invert();
+}
+
h2.groupheader {
border-bottom: 1px solid var(--separator-color);
color: var(--page-foreground-color);
margin: var(--spacing-small) 0 var(--spacing-medium) 0;
}
.paramname {
+ font-weight: 600;
color: var(--primary-dark-color);
}
font-size: var(--code-font-size) !important;
}
-div.fragment {
- line-height: 0;
-}
-
div.line:after {
margin-right: var(--spacing-medium);
}
}
div.fragment a.code {
- color: var(--fragment-link);
+ color: var(--fragment-link) !important;
}
div.fragment span.preprocessor {
div.fragment span.lineno a {
background: none;
- color: var(--fragment-link);
+ color: var(--fragment-link) !important;
}
div.fragment .line:first-child .lineno {
- box-shadow: -9999px 0px 0 9999px var(--fragment-linenumber-background), -9998px 0px 0 9999px rgba(0,0,0,.3);
+ box-shadow: -999999px 0px 0 999999px var(--fragment-linenumber-background), -999998px 0px 0 999999px var(--fragment-linenumber-border);
}
/*
*/
dl.reflist {
+ box-shadow: var(--box-shadow);
border-radius: var(--border-radius-medium);
border: 1px solid var(--separator-color);
overflow: hidden;
dl.reflist dt {
+ font-weight: 500;
border-radius: 0;
background: var(--code-background);
border-bottom: 1px solid var(--separator-color);
background: var(--tablehead-background);
color: var(--tablehead-foreground);
font-weight: 600;
+ font-size: var(--page-font-size);
}
table.markdownTable td, table.markdownTable th, table.fieldtable dt {
}
.icon {
- background: var(--primary-dark-color);
+ background: var(--primary-color);
width: 18px;
height: 18px;
line-height: 18px;
}
@media (prefers-color-scheme: dark) {
- .iconfopen, .iconfclosed {
+ html:not(.light-mode) .iconfopen, html:not(.light-mode) .iconfclosed {
filter: hue-rotate(180deg) invert();
}
}
+html.dark-mode .iconfopen, html.dark-mode .iconfclosed {
+ filter: hue-rotate(180deg) invert();
+}
+
/*
Class list
*/
.navpath li.navelem a {
text-shadow: none;
display: inline-block;
- color: var(--primary-dark-color)
+ color: var(--primary-color) !important;
+}
+
+.navpath li.navelem b {
+ color: var(--primary-dark-color);
+ font-weight: 500;
}
li.navelem {
margin-right: var(--spacing-small);
}
-@media (prefers-color-scheme: dark) {
- #nav-path li.navelem:after {
- text-shadow: 3px 0 0 var(--separator-color), 8px 0 6px rgba(0,0,0,0.4);
- }
-}
-
.navpath li.navelem a:hover {
color: var(--primary-color);
}
+
+/*
+ Optional Dark mode toggle button
+*/
+
+doxygen-awesome-dark-mode-toggle {
+ margin: 0 0 0 var(--spacing-small);
+ padding: 0;
+ width: var(--searchbar-height);
+ height: var(--searchbar-height);
+ background: none;
+ border: none;
+ font-size: 23px;
+ border-radius: var(--border-radius-medium);
+ vertical-align: middle;
+ text-align: center;
+ line-height: var(--searchbar-height);
+}
+
+doxygen-awesome-dark-mode-toggle:hover {
+ background: var(--separator-color);
+}
+
+doxygen-awesome-dark-mode-toggle:after {
+ content: var(--darkmode-toggle-button-icon)
+}
<h3><a id="index_a"></a>- a -</h3><ul>
<li>a
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0">Tvg_Color_Stop</a>
</li>
<li>ABGR8888
: <a class="el" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65adb1b146d65c52857a5a4af54e5006101">SwCanvas</a>
<h3><a id="index_b"></a>- b -</h3><ul>
<li>b
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b">Tvg_Color_Stop</a>
</li>
<li>bounds()
: <a class="el" href="classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff">Paint</a>
<h3><a id="index_c"></a>- c -</h3><ul>
<li>clear()
: <a class="el" href="classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd">Canvas</a>
-, <a class="el" href="classtvg_1_1Scene.html#ab1b298a0aae3e173a984c0bceb2456fe">Scene</a>
+, <a class="el" href="classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed">Scene</a>
</li>
<li>close()
: <a class="el" href="classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697">Shape</a>
: <a class="el" href="classtvg_1_1Fill.html#a92717fc84a7d5df56e42e3bc863fce1a">Fill</a>
</li>
<li>composite()
-: <a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">Paint</a>
+: <a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">Paint</a>
</li>
<li>cubicTo()
: <a class="el" href="classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29">Shape</a>
<h3><a id="index_d"></a>- d -</h3><ul>
<li>data()
-: <a class="el" href="classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb">Picture</a>
+: <a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb">Picture</a>
</li>
<li>Default
: <a class="el" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba79935518a3889663d8688b6b01fff051">SwCanvas</a>
<h3><a id="index_g"></a>- g -</h3><ul>
<li>g
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60">Tvg_Color_Stop</a>
</li>
<li>gen()
: <a class="el" href="classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90">GlCanvas</a>
, <a class="el" href="classtvg_1_1LinearGradient.html#a346e161f12d8e8ad26b6eaaf5d0f5c5c">LinearGradient</a>
, <a class="el" href="classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811">Picture</a>
, <a class="el" href="classtvg_1_1RadialGradient.html#aba51891c8702157ba088bf7e2f1425eb">RadialGradient</a>
+, <a class="el" href="classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683">Saver</a>
, <a class="el" href="classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149">Scene</a>
, <a class="el" href="classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9">Shape</a>
, <a class="el" href="classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96">SwCanvas</a>
<h3><a id="index_o"></a>- o -</h3><ul>
<li>offset
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">Tvg_Color_Stop</a>
</li>
<li>opacity()
: <a class="el" href="classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf">Paint</a>
<h3><a id="index_p"></a>- p -</h3><ul>
+<li>paint()
+: <a class="el" href="classtvg_1_1Picture.html#a4e3879d926e8a37c83dd7d0d3895889b">Picture</a>
+</li>
<li>pathCommands()
: <a class="el" href="classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7">Shape</a>
</li>
<h3><a id="index_r"></a>- r -</h3><ul>
<li>r
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a">Tvg_Color_Stop</a>
</li>
<li>radial()
: <a class="el" href="classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030">RadialGradient</a>
<h3><a id="index_s"></a>- s -</h3><ul>
+<li>save()
+: <a class="el" href="classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf">Saver</a>
+</li>
<li>scale()
: <a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">Paint</a>
</li>
: <a class="el" href="classtvg_1_1Fill.html#aed49d00ca09e69fdf97aaae235f8e950">Fill</a>
</li>
<li>stroke()
-: <a class="el" href="classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375">Shape</a>
+: <a class="el" href="classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73">Shape</a>
</li>
<li>strokeCap()
: <a class="el" href="classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674">Shape</a>
</li>
<li>sync()
: <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">Canvas</a>
+, <a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778">Saver</a>
</li>
</ul>
<h3><a id="index_c"></a>- c -</h3><ul>
<li>clear()
: <a class="el" href="classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd">Canvas</a>
-, <a class="el" href="classtvg_1_1Scene.html#ab1b298a0aae3e173a984c0bceb2456fe">Scene</a>
+, <a class="el" href="classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed">Scene</a>
</li>
<li>close()
: <a class="el" href="classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697">Shape</a>
: <a class="el" href="classtvg_1_1Fill.html#a92717fc84a7d5df56e42e3bc863fce1a">Fill</a>
</li>
<li>composite()
-: <a class="el" href="classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093">Paint</a>
+: <a class="el" href="classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b">Paint</a>
</li>
<li>cubicTo()
: <a class="el" href="classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29">Shape</a>
<h3><a id="index_d"></a>- d -</h3><ul>
<li>data()
-: <a class="el" href="classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb">Picture</a>
+: <a class="el" href="classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb">Picture</a>
</li>
<li>draw()
: <a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">Canvas</a>
, <a class="el" href="classtvg_1_1LinearGradient.html#a346e161f12d8e8ad26b6eaaf5d0f5c5c">LinearGradient</a>
, <a class="el" href="classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811">Picture</a>
, <a class="el" href="classtvg_1_1RadialGradient.html#aba51891c8702157ba088bf7e2f1425eb">RadialGradient</a>
+, <a class="el" href="classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683">Saver</a>
, <a class="el" href="classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149">Scene</a>
, <a class="el" href="classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9">Shape</a>
, <a class="el" href="classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96">SwCanvas</a>
<h3><a id="index_p"></a>- p -</h3><ul>
+<li>paint()
+: <a class="el" href="classtvg_1_1Picture.html#a4e3879d926e8a37c83dd7d0d3895889b">Picture</a>
+</li>
<li>pathCommands()
: <a class="el" href="classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7">Shape</a>
</li>
<h3><a id="index_s"></a>- s -</h3><ul>
+<li>save()
+: <a class="el" href="classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf">Saver</a>
+</li>
<li>scale()
: <a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">Paint</a>
</li>
: <a class="el" href="classtvg_1_1Fill.html#aed49d00ca09e69fdf97aaae235f8e950">Fill</a>
</li>
<li>stroke()
-: <a class="el" href="classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1">Shape</a>
+: <a class="el" href="classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375">Shape</a>
</li>
<li>strokeCap()
: <a class="el" href="classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674">Shape</a>
</li>
<li>sync()
: <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">Canvas</a>
+, <a class="el" href="classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778">Saver</a>
</li>
</ul>
 <ul>
<li>a
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0">Tvg_Color_Stop</a>
</li>
<li>b
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b">Tvg_Color_Stop</a>
</li>
<li>g
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60">Tvg_Color_Stop</a>
</li>
<li>offset
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">Tvg_Color_Stop</a>
</li>
<li>r
: <a class="el" href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a">Fill::ColorStop</a>
-, <a class="el" href="structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a">Tvg_Color_Stop</a>
</li>
</ul>
</div><!-- contents -->
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Initializer.html">Initializer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class that enables initialization and termination of the TVG engines. <a href="classtvg_1_1Initializer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Saver.html">Saver</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class for exporting a paint object into a specified file, from which to recover the paint data later. <a href="classtvg_1_1Saver.html#details">More...</a><br /></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Canvas</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#groups">Modules</a> |
-<a href="#define-members">Macros</a> |
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">Canvas<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module for managing and drawing graphical elements.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for Canvas:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__Canvas.png" border="0" alt="" usemap="#group____ThorVGCapi____Canvas"/>
-<map name="group____ThorVGCapi____Canvas" id="group____ThorVGCapi____Canvas">
-<area shape="rect" id="node1" href="group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-<area shape="rect" id="node3" href="group__ThorVGCapi__SwCanvas.html" title="A module for rendering the graphical elements using the software engine. " alt="" coords="367,5,453,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
-Modules</h2></td></tr>
-<tr class="memitem:group__ThorVGCapi__SwCanvas"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__SwCanvas.html">SwCanvas</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__SwCanvas"><td class="mdescLeft"> </td><td class="mdescRight">A module for rendering the graphical elements using the software engine. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
-Macros</h2></td></tr>
-<tr class="memitem:gaf725660036dd84e472025fb391bdc206"><td class="memItemLeft" align="right" valign="top"><a id="gaf725660036dd84e472025fb391bdc206"></a>
-#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#gaf725660036dd84e472025fb391bdc206">TVG_COLORSPACE_ABGR8888</a>   0</td></tr>
-<tr class="memdesc:gaf725660036dd84e472025fb391bdc206"><td class="mdescLeft"> </td><td class="mdescRight">The 8-bit color channels are combined into 32-bit color in the order: alpha, blue, green, red. <br /></td></tr>
-<tr class="separator:gaf725660036dd84e472025fb391bdc206"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga613ef63fe96cb341c95e7fee39bf660a"><td class="memItemLeft" align="right" valign="top"><a id="ga613ef63fe96cb341c95e7fee39bf660a"></a>
-#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga613ef63fe96cb341c95e7fee39bf660a">TVG_COLORSPACE_ARGB8888</a>   1</td></tr>
-<tr class="memdesc:ga613ef63fe96cb341c95e7fee39bf660a"><td class="mdescLeft"> </td><td class="mdescRight">The 8-bit color channels are combined into 32-bit color in the order: alpha, red, green, blue. <br /></td></tr>
-<tr class="separator:ga613ef63fe96cb341c95e7fee39bf660a"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:ga0a3af123f8054dc6c182c70dc4907813"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas)</td></tr>
-<tr class="memdesc:ga0a3af123f8054dc6c182c70dc4907813"><td class="mdescLeft"> </td><td class="mdescRight">Clears the canvas internal data, releases all paints stored by the canvas and destroys the canvas object itself. <a href="#ga0a3af123f8054dc6c182c70dc4907813">More...</a><br /></td></tr>
-<tr class="separator:ga0a3af123f8054dc6c182c70dc4907813"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga0e4daf723d6080d526ce0aa4111a1439"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga0e4daf723d6080d526ce0aa4111a1439">tvg_canvas_push</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas, <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint)</td></tr>
-<tr class="memdesc:ga0e4daf723d6080d526ce0aa4111a1439"><td class="mdescLeft"> </td><td class="mdescRight">Inserts a drawing element into the canvas using a Tvg_Paint object. <a href="#ga0e4daf723d6080d526ce0aa4111a1439">More...</a><br /></td></tr>
-<tr class="separator:ga0e4daf723d6080d526ce0aa4111a1439"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gafd31da91fe8571f0b12bca25364d71f2"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2">tvg_canvas_reserve</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas, uint32_t n)</td></tr>
-<tr class="memdesc:gafd31da91fe8571f0b12bca25364d71f2"><td class="mdescLeft"> </td><td class="mdescRight">Reserves a memory block where the objects pushed into a canvas are stored. <a href="#gafd31da91fe8571f0b12bca25364d71f2">More...</a><br /></td></tr>
-<tr class="separator:gafd31da91fe8571f0b12bca25364d71f2"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga052c131ed5a2a3a053dcb321542c2c80"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80">tvg_canvas_clear</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas, bool free)</td></tr>
-<tr class="memdesc:ga052c131ed5a2a3a053dcb321542c2c80"><td class="mdescLeft"> </td><td class="mdescRight">Clears a Tvg_Canvas objects from pushed paints. <a href="#ga052c131ed5a2a3a053dcb321542c2c80">More...</a><br /></td></tr>
-<tr class="separator:ga052c131ed5a2a3a053dcb321542c2c80"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga7c43ae4fb1a06afbe3616b4552740edf"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga7c43ae4fb1a06afbe3616b4552740edf">tvg_canvas_update</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas)</td></tr>
-<tr class="memdesc:ga7c43ae4fb1a06afbe3616b4552740edf"><td class="mdescLeft"> </td><td class="mdescRight">Updates all paints in a canvas. <a href="#ga7c43ae4fb1a06afbe3616b4552740edf">More...</a><br /></td></tr>
-<tr class="separator:ga7c43ae4fb1a06afbe3616b4552740edf"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga50761cba3cc3143a90f72124a597216f"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga50761cba3cc3143a90f72124a597216f">tvg_canvas_update_paint</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas, <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint)</td></tr>
-<tr class="memdesc:ga50761cba3cc3143a90f72124a597216f"><td class="mdescLeft"> </td><td class="mdescRight">Updates the given Tvg_Paint object from the canvas before the rendering. <a href="#ga50761cba3cc3143a90f72124a597216f">More...</a><br /></td></tr>
-<tr class="separator:ga50761cba3cc3143a90f72124a597216f"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga0be96c28afddf9cf252d68a431438632"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga0be96c28afddf9cf252d68a431438632">tvg_canvas_draw</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas)</td></tr>
-<tr class="memdesc:ga0be96c28afddf9cf252d68a431438632"><td class="mdescLeft"> </td><td class="mdescRight">The function start rendering process. <a href="#ga0be96c28afddf9cf252d68a431438632">More...</a><br /></td></tr>
-<tr class="separator:ga0be96c28afddf9cf252d68a431438632"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga61c17823da7ed6748cc0d80013b2e1b7"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7">tvg_canvas_sync</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas)</td></tr>
-<tr class="memdesc:ga61c17823da7ed6748cc0d80013b2e1b7"><td class="mdescLeft"> </td><td class="mdescRight">Guarantees the drawing process is finished. <a href="#ga61c17823da7ed6748cc0d80013b2e1b7">More...</a><br /></td></tr>
-<tr class="separator:ga61c17823da7ed6748cc0d80013b2e1b7"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module for managing and drawing graphical elements. </p>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="ga052c131ed5a2a3a053dcb321542c2c80"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga052c131ed5a2a3a053dcb321542c2c80">◆ </a></span>tvg_canvas_clear()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_clear </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>free</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Clears a Tvg_Canvas objects from pushed paints. </p>
-<p>Tvg_Paint objects stored in the canvas are released if <code>free</code> is set to <code>true</code>, otherwise the memory is not deallocated and all paints should be released manually in order to avoid memory leaks.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object to be cleared. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">free</td><td>If <code>true</code> the memory occupied by paints is deallocated, otherwise it is not.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Canvas pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section warning"><dt>Warning</dt><dd>Please use the <code>free</code> argument only when you know how it works, otherwise it's not recommended.</dd></dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813" title="Clears the canvas internal data, releases all paints stored by the canvas and destroys the canvas obj...">tvg_canvas_destroy()</a> </dd></dl>
-
-</div>
-</div>
-<a id="ga0a3af123f8054dc6c182c70dc4907813"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga0a3af123f8054dc6c182c70dc4907813">◆ </a></span>tvg_canvas_destroy()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_destroy </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Clears the canvas internal data, releases all paints stored by the canvas and destroys the canvas object itself. </p>
-<div class="fragment"><div class="line"><span class="keyword">static</span> <a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas = NULL;</div><div class="line"><span class="keyword">static</span> uint32_t *buffer = NULL;</div><div class="line"></div><div class="line"><span class="keyword">static</span> <span class="keywordtype">void</span> _init() {</div><div class="line"> canvas = <a class="code" href="group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433">tvg_swcanvas_create</a>();</div><div class="line"> buffer = (uint32_t*) malloc(<span class="keyword">sizeof</span>(uint32_t) * 100 * 100);</div><div class="line"> <a class="code" href="group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">tvg_swcanvas_set_target</a>(canvas, buffer, 100, 100, 100, <a class="code" href="group__ThorVGCapi__Canvas.html#ga613ef63fe96cb341c95e7fee39bf660a">TVG_COLORSPACE_ARGB8888</a>);</div><div class="line">}</div><div class="line"></div><div class="line"><span class="comment">//a task called from main function in a loop</span></div><div class="line"><span class="keyword">static</span> <span class="keywordtype">void</span> _job(<span class="keyword">const</span> <span class="keywordtype">int</span> cmd) {</div><div class="line"> <span class="keywordflow">switch</span> (cmd) {</div><div class="line"> <span class="keywordflow">case</span> CMD_EXIT: <span class="keywordflow">return</span> 0;</div><div class="line"> <span class="keywordflow">case</span> CMD_ADD_RECT:</div><div class="line"> <span class="comment">//define valid rectangle shape</span></div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga0e4daf723d6080d526ce0aa4111a1439">tvg_canvas_push</a>(canvas, rect);</div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"> <span class="keywordflow">case</span> CMD_DEL_RECT:</div><div class="line"> <a class="code" href="group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170">tvg_paint_del</a>(rect);</div><div class="line"> <span class="comment">//now to safely delete Tvg_Canvas, tvg_canvas_clear() API have to be used</span></div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"> <span class="keywordflow">default</span>:</div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv) {</div><div class="line"> <span class="keywordtype">int</span> cmd = 0;</div><div class="line"> <span class="keywordtype">int</span> stop = 1;</div><div class="line"></div><div class="line"> <a class="code" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>, 4);</div><div class="line"></div><div class="line"> <span class="keywordflow">while</span> (stop) {</div><div class="line"> <span class="comment">//wait for a command e.g. from a console</span></div><div class="line"> stop = _job(cmd);</div><div class="line"> }</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80">tvg_canvas_clear</a>(canvas, <span class="keyword">false</span>);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a>(canvas);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>);</div><div class="line"> <span class="keywordflow">return</span> 0;</div><div class="line">}</div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a>(canvas);</div><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a>()</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object to be destroyed.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer to the Tvg_Canvas object is passed.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section note"><dt>Note</dt><dd>If the paints from the canvas should not be released, the <a class="el" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80" title="Clears a Tvg_Canvas objects from pushed paints. ">tvg_canvas_clear()</a> with a <code>free</code> argument value set to <code>false</code> should be called. Please be aware that in such a case TVG is not responsible for the paints release anymore and it has to be done manually in order to avoid memory leaks.</dd></dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170" title="Releases the given Tvg_Paint object. ">tvg_paint_del()</a>, <a class="el" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80" title="Clears a Tvg_Canvas objects from pushed paints. ">tvg_canvas_clear()</a> </dd></dl>
-
-</div>
-</div>
-<a id="ga0be96c28afddf9cf252d68a431438632"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga0be96c28afddf9cf252d68a431438632">◆ </a></span>tvg_canvas_draw()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_draw </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>The function start rendering process. </p>
-<p>All paints from the given canvas will be rasterized to the buffer.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object to be drawn.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Canvas pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INSUFFICIENT_CONDITION</td><td>An internal error.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section note"><dt>Note</dt><dd>Drawing can be asynchronous based on the assigned thread number. To guarantee the drawing is done, call <a class="el" href="group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7" title="Guarantees the drawing process is finished. ">tvg_canvas_sync()</a> afterwards. </dd></dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7" title="Guarantees the drawing process is finished. ">tvg_canvas_sync()</a> </dd></dl>
-
-</div>
-</div>
-<a id="ga0e4daf723d6080d526ce0aa4111a1439"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga0e4daf723d6080d526ce0aa4111a1439">◆ </a></span>tvg_canvas_push()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_push </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Inserts a drawing element into the canvas using a Tvg_Paint object. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object managing the <code>paint</code>. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be drawn.</td></tr>
- </table>
- </dd>
-</dl>
-<p>Only the paints pushed into the canvas will be drawing targets. They are retained by the canvas until you call <a class="el" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80" title="Clears a Tvg_Canvas objects from pushed paints. ">tvg_canvas_clear()</a>. If you know the number of the pushed objects in the advance, please call <a class="el" href="group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2" title="Reserves a memory block where the objects pushed into a canvas are stored. ">tvg_canvas_reserve()</a>.</p>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result return values: </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>In case a <code>nullptr</code> is passed as the argument. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INSUFFICIENT_CONDITION</td><td>An internal error.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section note"><dt>Note</dt><dd>The rendering order of the paints is the same as the order as they were pushed. Consider sorting the paints before pushing them if you intend to use layering. </dd></dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2" title="Reserves a memory block where the objects pushed into a canvas are stored. ">tvg_canvas_reserve()</a>, <a class="el" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80" title="Clears a Tvg_Canvas objects from pushed paints. ">tvg_canvas_clear()</a> </dd></dl>
-
-</div>
-</div>
-<a id="gafd31da91fe8571f0b12bca25364d71f2"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gafd31da91fe8571f0b12bca25364d71f2">◆ </a></span>tvg_canvas_reserve()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_reserve </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>n</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Reserves a memory block where the objects pushed into a canvas are stored. </p>
-<p>If the number of Tvg_Paints to be stored in a canvas is known in advance, calling this function reduces the multiple memory allocations thus improves the performance.</p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas = NULL;</div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>, 4);</div><div class="line">canvas = <a class="code" href="group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433">tvg_swcanvas_create</a>();</div><div class="line"></div><div class="line">uint32_t *buffer = NULL;</div><div class="line">buffer = (uint32_t*) malloc(<span class="keyword">sizeof</span>(uint32_t) * 100 * 100);</div><div class="line"><span class="keywordflow">if</span> (!buffer) <span class="keywordflow">return</span>;</div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">tvg_swcanvas_set_target</a>(canvas, buffer, 100, 100, 100, <a class="code" href="group__ThorVGCapi__Canvas.html#ga613ef63fe96cb341c95e7fee39bf660a">TVG_COLORSPACE_ARGB8888</a>);</div><div class="line"><a class="code" href="group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2">tvg_canvas_reserve</a>(canvas, 100); <span class="comment">//reserve array for 100 paints in canvas.</span></div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a>(canvas);</div><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a>()</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object managing the reserved memory. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>The number of objects for which the memory is to be reserved.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Canvas pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga61c17823da7ed6748cc0d80013b2e1b7"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga61c17823da7ed6748cc0d80013b2e1b7">◆ </a></span>tvg_canvas_sync()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_sync </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Guarantees the drawing process is finished. </p>
-<p>It should be called after <a class="el" href="group__ThorVGCapi__Canvas.html#ga0be96c28afddf9cf252d68a431438632" title="The function start rendering process. ">tvg_canvas_draw()</a>.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object which was drawn.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Canvas pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7" title="Guarantees the drawing process is finished. ">tvg_canvas_sync()</a> </dd></dl>
-
-</div>
-</div>
-<a id="ga7c43ae4fb1a06afbe3616b4552740edf"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga7c43ae4fb1a06afbe3616b4552740edf">◆ </a></span>tvg_canvas_update()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_update </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Updates all paints in a canvas. </p>
-<p>Should be called before drawing in order to prepare paints for the rendering.</p>
-<div class="fragment"><div class="line"><span class="comment">//A frame drawing example. Thread safety and events implementation is skipped to show only TVG code.</span></div><div class="line"></div><div class="line"><span class="keyword">static</span> <a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas = NULL;</div><div class="line"><span class="keyword">static</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *rect = NULL;</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> _frame_render(<span class="keywordtype">void</span>) {</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga7c43ae4fb1a06afbe3616b4552740edf">tvg_canvas_update</a>(canvas);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga0be96c28afddf9cf252d68a431438632">tvg_canvas_draw</a>(canvas);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7">tvg_canvas_sync</a>(canvas);</div><div class="line">}</div><div class="line"></div><div class="line"><span class="comment">//event handler from your code or third party library</span></div><div class="line"><span class="keywordtype">void</span> _event_handler(event *event_data) {</div><div class="line"> <span class="keywordflow">if</span> (!event_data) <span class="keywordflow">return</span> NULL;</div><div class="line"> <span class="keywordflow">switch</span>(event_data.type) {</div><div class="line"> <span class="keywordflow">case</span> EVENT_RECT_ADD:</div><div class="line"> <span class="keywordflow">if</span> (!rect) {</div><div class="line"> <a class="code" href="group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291">tvg_shape_append_rect</a>(rect, 10, 10, 50, 50, 0, 0);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Shape.html#gae3a63091a9c00c796ecadf3e6983c5fd">tvg_shape_set_stroke_width</a>(rect, 1.0f);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Shape.html#ga9c1d8aaf73da6f4386cce28a245d3f27">tvg_shape_set_stroke_color</a>(rect, 255, 0, 0, 255);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga0e4daf723d6080d526ce0aa4111a1439">tvg_canvas_push</a>(canvas, rect);</div><div class="line"> }</div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"> <span class="keywordflow">case</span> EVENT_RECT_MOVE:</div><div class="line"> <span class="keywordflow">if</span> (rect) <a class="code" href="group__ThorVGCapi__Paint.html#gaf7c5c66bd41da9262996ee9a9def42ff">tvg_paint_translate</a>(rect, 10.0, 10.0);</div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"> <span class="keywordflow">default</span>:</div><div class="line"> <span class="keywordflow">break</span>;</div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv) {</div><div class="line"> <span class="comment">//example handler from your code or third party lib</span></div><div class="line"> event_handler_add(handler, _event_handler);</div><div class="line"></div><div class="line"> <span class="comment">//create frame rendering process which calls _frame_render() function.</span></div><div class="line"> app_loop_begin(_frame_render);</div><div class="line"> app_loop_finish();</div><div class="line"> cleanup();</div><div class="line">}</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object to be updated.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Canvas pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INSUFFICIENT_CONDITION</td><td>An internal error. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga50761cba3cc3143a90f72124a597216f"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga50761cba3cc3143a90f72124a597216f">◆ </a></span>tvg_canvas_update_paint()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_canvas_update_paint </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Updates the given Tvg_Paint object from the canvas before the rendering. </p>
-<p>If a client application using the TVG library does not update the entire canvas with <a class="el" href="group__ThorVGCapi__Canvas.html#ga7c43ae4fb1a06afbe3616b4552740edf" title="Updates all paints in a canvas. ">tvg_canvas_update()</a> in the frame rendering process, Tvg_Paint objects previously added to the canvas should be updated manually with this function.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object to which the <code>paint</code> belongs. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be updated.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>In case a <code>nullptr</code> is passed as the argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="Canvas" name="Canvas">
-<area shape="rect" id="node1" href="$group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-<area shape="rect" id="node3" href="$group__ThorVGCapi__SwCanvas.html" title="A module for rendering the graphical elements using the software engine. " alt="" coords="367,5,453,32"/>
-</map>
+++ /dev/null
-82fe8f99fbabbc6f30de7deb1b028a7b
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Gradient</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#nested-classes">Classes</a> |
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">Gradient<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module managing the gradient fill of objects.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for Gradient:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__Gradient.png" border="0" alt="" usemap="#group____ThorVGCapi____Gradient"/>
-<map name="group____ThorVGCapi____Gradient" id="group____ThorVGCapi____Gradient">
-<area shape="rect" id="node1" href="group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
-Classes</h2></td></tr>
-<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a></td></tr>
-<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A data structure storing the information about the color and its relative position inside the gradient bounds. <a href="structTvg__Color__Stop.html#details">More...</a><br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:gab77d80df3c269fa531e7b81c8e8410d2"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#gab77d80df3c269fa531e7b81c8e8410d2">tvg_linear_gradient_new</a> ()</td></tr>
-<tr class="memdesc:gab77d80df3c269fa531e7b81c8e8410d2"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new linear gradient object. <a href="#gab77d80df3c269fa531e7b81c8e8410d2">More...</a><br /></td></tr>
-<tr class="separator:gab77d80df3c269fa531e7b81c8e8410d2"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga7dc487e5d1557961cd2cc31a42daeb28"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#ga7dc487e5d1557961cd2cc31a42daeb28">tvg_radial_gradient_new</a> ()</td></tr>
-<tr class="memdesc:ga7dc487e5d1557961cd2cc31a42daeb28"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new radial gradient object. <a href="#ga7dc487e5d1557961cd2cc31a42daeb28">More...</a><br /></td></tr>
-<tr class="separator:ga7dc487e5d1557961cd2cc31a42daeb28"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga00590e1313394b75b8619ff27ddd233b"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b">tvg_linear_gradient_set</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, float x1, float y1, float x2, float y2)</td></tr>
-<tr class="memdesc:ga00590e1313394b75b8619ff27ddd233b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the linear gradient bounds. <a href="#ga00590e1313394b75b8619ff27ddd233b">More...</a><br /></td></tr>
-<tr class="separator:ga00590e1313394b75b8619ff27ddd233b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaa503fc8455eb63acda4b3ff0737f4d4e"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#gaa503fc8455eb63acda4b3ff0737f4d4e">tvg_linear_gradient_get</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, float *x1, float *y1, float *x2, float *y2)</td></tr>
-<tr class="memdesc:gaa503fc8455eb63acda4b3ff0737f4d4e"><td class="mdescLeft"> </td><td class="mdescRight">Gets the linear gradient bounds. <a href="#gaa503fc8455eb63acda4b3ff0737f4d4e">More...</a><br /></td></tr>
-<tr class="separator:gaa503fc8455eb63acda4b3ff0737f4d4e"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga321045b5fda8e8e002c4837bd03ccdac"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#ga321045b5fda8e8e002c4837bd03ccdac">tvg_radial_gradient_set</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, float cx, float cy, float radius)</td></tr>
-<tr class="memdesc:ga321045b5fda8e8e002c4837bd03ccdac"><td class="mdescLeft"> </td><td class="mdescRight">Sets the radial gradient bounds. <a href="#ga321045b5fda8e8e002c4837bd03ccdac">More...</a><br /></td></tr>
-<tr class="separator:ga321045b5fda8e8e002c4837bd03ccdac"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaabab5eabf6d11b95b96e9c543a341199"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#gaabab5eabf6d11b95b96e9c543a341199">tvg_radial_gradient_get</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, float *cx, float *cy, float *radius)</td></tr>
-<tr class="memdesc:gaabab5eabf6d11b95b96e9c543a341199"><td class="mdescLeft"> </td><td class="mdescRight">The function gets radial gradient center point ant radius. <a href="#gaabab5eabf6d11b95b96e9c543a341199">More...</a><br /></td></tr>
-<tr class="separator:gaabab5eabf6d11b95b96e9c543a341199"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga8d5755566bb7281984a44c9c687f2b48"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48">tvg_gradient_set_color_stops</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, const <a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> *color_stop, uint32_t cnt)</td></tr>
-<tr class="memdesc:ga8d5755566bb7281984a44c9c687f2b48"><td class="mdescLeft"> </td><td class="mdescRight">Sets the parameters of the colors of the gradient and their position. <a href="#ga8d5755566bb7281984a44c9c687f2b48">More...</a><br /></td></tr>
-<tr class="separator:ga8d5755566bb7281984a44c9c687f2b48"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga65df721ba27a51ef09c64f91fe78f3ac"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#ga65df721ba27a51ef09c64f91fe78f3ac">tvg_gradient_get_color_stops</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, const <a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> **color_stop, uint32_t *cnt)</td></tr>
-<tr class="memdesc:ga65df721ba27a51ef09c64f91fe78f3ac"><td class="mdescLeft"> </td><td class="mdescRight">Gets the parameters of the colors of the gradient, their position and number. <a href="#ga65df721ba27a51ef09c64f91fe78f3ac">More...</a><br /></td></tr>
-<tr class="separator:ga65df721ba27a51ef09c64f91fe78f3ac"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gad800cb39d78429089adba8f0952ba433"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#gad800cb39d78429089adba8f0952ba433">tvg_gradient_set_spread</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, const <a class="el" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a> spread)</td></tr>
-<tr class="memdesc:gad800cb39d78429089adba8f0952ba433"><td class="mdescLeft"> </td><td class="mdescRight">Sets the Tvg_Stroke_Fill value, which specifies how to fill the area outside the gradient bounds. <a href="#gad800cb39d78429089adba8f0952ba433">More...</a><br /></td></tr>
-<tr class="separator:gad800cb39d78429089adba8f0952ba433"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaa6be4ea40b68b3939d916b242a13374b"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#gaa6be4ea40b68b3939d916b242a13374b">tvg_gradient_get_spread</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad, <a class="el" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a> *spread)</td></tr>
-<tr class="memdesc:gaa6be4ea40b68b3939d916b242a13374b"><td class="mdescLeft"> </td><td class="mdescRight">Gets the FillSpread value of the gradient object. <a href="#gaa6be4ea40b68b3939d916b242a13374b">More...</a><br /></td></tr>
-<tr class="separator:gaa6be4ea40b68b3939d916b242a13374b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gad267b161f306064cc3c0082ec7906a95"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html#gad267b161f306064cc3c0082ec7906a95">tvg_gradient_del</a> (<a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad)</td></tr>
-<tr class="memdesc:gad267b161f306064cc3c0082ec7906a95"><td class="mdescLeft"> </td><td class="mdescRight">Deletes the given gradient object. <a href="#gad267b161f306064cc3c0082ec7906a95">More...</a><br /></td></tr>
-<tr class="separator:gad267b161f306064cc3c0082ec7906a95"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module managing the gradient fill of objects. </p>
-<p>The module enables to set and to get the gradient colors and their arrangement inside the gradient bounds, to specify the gradient bounds and the gradient behavior in case the area defined by the gradient bounds is smaller than the area to be filled. </p>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="gad267b161f306064cc3c0082ec7906a95"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gad267b161f306064cc3c0082ec7906a95">◆ </a></span>tvg_gradient_del()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_gradient_del </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Deletes the given gradient object. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The gradient object to be deleted.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Gradient pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga65df721ba27a51ef09c64f91fe78f3ac"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga65df721ba27a51ef09c64f91fe78f3ac">◆ </a></span>tvg_gradient_get_color_stops()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_gradient_get_color_stops </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> ** </td>
- <td class="paramname"><em>color_stop</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t * </td>
- <td class="paramname"><em>cnt</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the parameters of the colors of the gradient, their position and number. </p>
-<p>The function does not allocate any memory.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object of which to get the color information. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">color_stop</td><td>An array of <a class="el" href="structTvg__Color__Stop.html" title="A data structure storing the information about the color and its relative position inside the gradien...">Tvg_Color_Stop</a> data structure. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">cnt</td><td>The size of the <code>color_stop</code> array equal to the colors number used in the gradient.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>A <code>nullptr</code> passed as the argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gaa6be4ea40b68b3939d916b242a13374b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaa6be4ea40b68b3939d916b242a13374b">◆ </a></span>tvg_gradient_get_spread()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_gradient_get_spread </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a> * </td>
- <td class="paramname"><em>spread</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the FillSpread value of the gradient object. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">spread</td><td>The FillSpread value.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>A <code>nullptr</code> passed as the argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga8d5755566bb7281984a44c9c687f2b48"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga8d5755566bb7281984a44c9c687f2b48">◆ </a></span>tvg_gradient_set_color_stops()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_gradient_set_color_stops </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> * </td>
- <td class="paramname"><em>color_stop</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>cnt</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the parameters of the colors of the gradient and their position. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object of which the color information is to be set. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">color_stop</td><td>An array of <a class="el" href="structTvg__Color__Stop.html" title="A data structure storing the information about the color and its relative position inside the gradien...">Tvg_Color_Stop</a> data structure. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cnt</td><td>The size of the <code>color_stop</code> array equal to the colors number used in the gradient.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Gradient pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gad800cb39d78429089adba8f0952ba433"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gad800cb39d78429089adba8f0952ba433">◆ </a></span>tvg_gradient_set_spread()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_gradient_set_spread </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a> </td>
- <td class="paramname"><em>spread</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the Tvg_Stroke_Fill value, which specifies how to fill the area outside the gradient bounds. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">spread</td><td>The FillSpread value.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Gradient pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gaa503fc8455eb63acda4b3ff0737f4d4e"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaa503fc8455eb63acda4b3ff0737f4d4e">◆ </a></span>tvg_linear_gradient_get()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_linear_gradient_get </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>x1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>y1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>x2</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>y2</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the linear gradient bounds. </p>
-<p>The bounds of the linear gradient are defined as a surface constrained by two parallel lines crossing the given points (<code>x1</code>, <code>y1</code>) and (<code>x2</code>, <code>y2</code>), respectively. Both lines are perpendicular to the line linking (<code>x1</code>, <code>y1</code>) and (<code>x2</code>, <code>y2</code>).</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object of which to get the bounds. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">x1</td><td>The horizontal coordinate of the first point used to determine the gradient bounds. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">y1</td><td>The vertical coordinate of the first point used to determine the gradient bounds. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">x2</td><td>The horizontal coordinate of the second point used to determine the gradient bounds. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">y2</td><td>The vertical coordinate of the second point used to determine the gradient bounds.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Gradient pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gab77d80df3c269fa531e7b81c8e8410d2"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gab77d80df3c269fa531e7b81c8e8410d2">◆ </a></span>tvg_linear_gradient_new()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* tvg_linear_gradient_new </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a new linear gradient object. </p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> shape = <a class="code" href="group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d">tvg_shape_new</a>();</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291">tvg_shape_append_rect</a>(shape, 700, 700, 100, 100, 20, 20);</div><div class="line"><a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad = <a class="code" href="group__ThorVGCapi__Gradient.html#gab77d80df3c269fa531e7b81c8e8410d2">tvg_linear_gradient_new</a>();</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b">tvg_linear_gradient_set</a>(grad, 700, 700, 800, 800);</div><div class="line"><a class="code" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> color_stops[2] =</div><div class="line">{</div><div class="line"> {.<a class="code" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a>=0, .r=0, .g=0, .b=0, .a=255},</div><div class="line"> {.offset=1, .r=0, .g=255, .b=0, .a=255},</div><div class="line">};</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48">tvg_gradient_set_color_stops</a>(grad, color_stops, 2);</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#ga02aa5aa9a017270ce0375b1b9db75d57">tvg_shape_set_linear_gradient</a>(shape, grad);</div></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>A new linear gradient object. </dd></dl>
-
-</div>
-</div>
-<a id="ga00590e1313394b75b8619ff27ddd233b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga00590e1313394b75b8619ff27ddd233b">◆ </a></span>tvg_linear_gradient_set()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_linear_gradient_set </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>x1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>y1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>x2</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>y2</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the linear gradient bounds. </p>
-<p>The bounds of the linear gradient are defined as a surface constrained by two parallel lines crossing the given points (<code>x1</code>, <code>y1</code>) and (<code>x2</code>, <code>y2</code>), respectively. Both lines are perpendicular to the line linking (<code>x1</code>, <code>y1</code>) and (<code>x2</code>, <code>y2</code>).</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object of which bounds are to be set. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">x1</td><td>The horizontal coordinate of the first point used to determine the gradient bounds. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">y1</td><td>The vertical coordinate of the first point used to determine the gradient bounds. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">x2</td><td>The horizontal coordinate of the second point used to determine the gradient bounds. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">y2</td><td>The vertical coordinate of the second point used to determine the gradient bounds.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Gradient pointer or the first and the second points are equal. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gaabab5eabf6d11b95b96e9c543a341199"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaabab5eabf6d11b95b96e9c543a341199">◆ </a></span>tvg_radial_gradient_get()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_radial_gradient_get </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>cx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>cy</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>radius</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>The function gets radial gradient center point ant radius. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object of which bounds are to be set. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">cx</td><td>The horizontal coordinate of the center of the bounding circle. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">cy</td><td>The vertical coordinate of the center of the bounding circle. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">radius</td><td>The radius of the bounding circle.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Gradient pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga7dc487e5d1557961cd2cc31a42daeb28"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga7dc487e5d1557961cd2cc31a42daeb28">◆ </a></span>tvg_radial_gradient_new()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* tvg_radial_gradient_new </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a new radial gradient object. </p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> shape = <a class="code" href="group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d">tvg_shape_new</a>();</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291">tvg_shape_append_rect</a>(shape, 700, 700, 100, 100, 20, 20);</div><div class="line"><a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad = <a class="code" href="group__ThorVGCapi__Gradient.html#ga7dc487e5d1557961cd2cc31a42daeb28">tvg_radial_gradient_new</a>();</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b">tvg_linear_gradient_set</a>(grad, 550, 550, 50);</div><div class="line"><a class="code" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> color_stops[2] =</div><div class="line">{</div><div class="line"> {.<a class="code" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a>=0, .r=0, .g=0, .b=0, .a=255},</div><div class="line"> {.offset=1, .r=0, .g=255, .b=0, .a=255},</div><div class="line">};</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48">tvg_gradient_set_color_stops</a>(grad, color_stops, 2);</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#gabd7b9020f1058aa9e9fae9b683265ef8">tvg_shape_set_radial_gradient</a>(shape, grad);</div></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>A new radial gradient object. </dd></dl>
-
-</div>
-</div>
-<a id="ga321045b5fda8e8e002c4837bd03ccdac"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga321045b5fda8e8e002c4837bd03ccdac">◆ </a></span>tvg_radial_gradient_set()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_radial_gradient_set </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cy</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>radius</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the radial gradient bounds. </p>
-<p>The radial gradient bounds are defined as a circle centered in a given point (<code>cx</code>, <code>cy</code>) of a given radius.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The Tvg_Gradient object of which bounds are to be set. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cx</td><td>The horizontal coordinate of the center of the bounding circle. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cy</td><td>The vertical coordinate of the center of the bounding circle. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">radius</td><td>The radius of the bounding circle.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Gradient pointer or the <code>radius</code> value less than zero. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="Gradient" name="Gradient">
-<area shape="rect" id="node1" href="$group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
+++ /dev/null
-7f5e28d8177fb4fc565afe16937d8ee8
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Initializer</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#define-members">Macros</a> |
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">Initializer<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module enabling initialization and termination of the TVG engines.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for Initializer:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__Initializer.png" border="0" alt="" usemap="#group____ThorVGCapi____Initializer"/>
-<map name="group____ThorVGCapi____Initializer" id="group____ThorVGCapi____Initializer">
-<area shape="rect" id="node1" href="group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
-Macros</h2></td></tr>
-<tr class="memitem:ga9502ec8d4433abfcf1f92cfb1aa36d78"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>   (1 << 1)</td></tr>
-<tr class="separator:ga9502ec8d4433abfcf1f92cfb1aa36d78"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga47a4b3bac424698c6c3a21bc4e5aaca3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Initializer.html#ga47a4b3bac424698c6c3a21bc4e5aaca3">TVG_ENGINE_GL</a>   (1 << 2)</td></tr>
-<tr class="separator:ga47a4b3bac424698c6c3a21bc4e5aaca3"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:ga1b517176a56dde4e9ea9c8eb331660a9"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a> (unsigned engine_method, unsigned threads)</td></tr>
-<tr class="memdesc:ga1b517176a56dde4e9ea9c8eb331660a9"><td class="mdescLeft"> </td><td class="mdescRight">Initializes TVG engines. <a href="#ga1b517176a56dde4e9ea9c8eb331660a9">More...</a><br /></td></tr>
-<tr class="separator:ga1b517176a56dde4e9ea9c8eb331660a9"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga661d062ba6f2c98689b5b70e1cbf7a92"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a> (unsigned engine_method)</td></tr>
-<tr class="memdesc:ga661d062ba6f2c98689b5b70e1cbf7a92"><td class="mdescLeft"> </td><td class="mdescRight">Terminates TVG engines. <a href="#ga661d062ba6f2c98689b5b70e1cbf7a92">More...</a><br /></td></tr>
-<tr class="separator:ga661d062ba6f2c98689b5b70e1cbf7a92"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module enabling initialization and termination of the TVG engines. </p>
-<h2 class="groupheader">Macro Definition Documentation</h2>
-<a id="ga47a4b3bac424698c6c3a21bc4e5aaca3"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga47a4b3bac424698c6c3a21bc4e5aaca3">◆ </a></span>TVG_ENGINE_GL</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define TVG_ENGINE_GL   (1 << 2)</td>
- </tr>
- </table>
-</div><div class="memdoc">
-<p>OpenGL raster engine type. </p>
-
-</div>
-</div>
-<a id="ga9502ec8d4433abfcf1f92cfb1aa36d78"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga9502ec8d4433abfcf1f92cfb1aa36d78">◆ </a></span>TVG_ENGINE_SW</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define TVG_ENGINE_SW   (1 << 1)</td>
- </tr>
- </table>
-</div><div class="memdoc">
-<p>CPU raster engine type. </p>
-
-</div>
-</div>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="ga1b517176a56dde4e9ea9c8eb331660a9"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga1b517176a56dde4e9ea9c8eb331660a9">◆ </a></span>tvg_engine_init()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_engine_init </td>
- <td>(</td>
- <td class="paramtype">unsigned </td>
- <td class="paramname"><em>engine_method</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">unsigned </td>
- <td class="paramname"><em>threads</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Initializes TVG engines. </p>
-<p>It must be called before any other function, at the beginning of the TVG client.</p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>, 0); <span class="comment">//Initialize software renderer and use the main thread only</span></div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">engine_method</td><td>The engine types<ul>
-<li>TVG_ENGINE_SW: CPU rasterizer</li>
-<li>TVG_ENGINE_GL: OpenGL rasterizer (not supported yet) </li>
-</ul>
-</td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">threads</td><td>The number of additional threads used to perform rendering. Zero indicates only the main thread is to be used.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INSUFFICIENT_CONDITION</td><td>An internal error possibly with memory allocation. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>Unknown engine type. </td></tr>
- <tr><td class="paramname">TVG_RESULT_NOT_SUPPORTED</td><td>Unsupported engine type. </td></tr>
- <tr><td class="paramname">TVG_RESULT_UNKNOWN</td><td>Other error.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section note"><dt>Note</dt><dd>For multiple backeneds bitwise operation on the engine types is allowed. </dd></dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92" title="Terminates TVG engines. ">tvg_engine_term()</a> </dd>
-<dd>
-<a class="el" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>, <a class="el" href="group__ThorVGCapi__Initializer.html#ga47a4b3bac424698c6c3a21bc4e5aaca3">TVG_ENGINE_GL</a> </dd></dl>
-
-</div>
-</div>
-<a id="ga661d062ba6f2c98689b5b70e1cbf7a92"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga661d062ba6f2c98689b5b70e1cbf7a92">◆ </a></span>tvg_engine_term()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_engine_term </td>
- <td>(</td>
- <td class="paramtype">unsigned </td>
- <td class="paramname"><em>engine_method</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Terminates TVG engines. </p>
-<p>It should be called in case of termination of the TVG client with the same engine types as were passed when <a class="el" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9" title="Initializes TVG engines. ">tvg_engine_init()</a> was called.</p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>, 0);</div><div class="line"><span class="comment">//define canvas and shapes, update shapes, general rendering calls</span></div><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>);</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">engine_method</td><td>renderer type<ul>
-<li>TVG_ENGINE_SW: CPU rasterizer</li>
-<li>TVG_ENGINE_GL: OpenGL rasterizer (not supported yet)</li>
-</ul>
-</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INSUFFICIENT_CONDITION</td><td>Multiple function calls. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>Unknown engine type. </td></tr>
- <tr><td class="paramname">TVG_RESULT_NOT_SUPPORTED</td><td>Unsupported engine type. </td></tr>
- <tr><td class="paramname">TVG_RESULT_UNKNOWN</td><td>An internal error.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9" title="Initializes TVG engines. ">tvg_engine_init()</a> </dd>
-<dd>
-<a class="el" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>, <a class="el" href="group__ThorVGCapi__Initializer.html#ga47a4b3bac424698c6c3a21bc4e5aaca3">TVG_ENGINE_GL</a> </dd></dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="Initializer" name="Initializer">
-<area shape="rect" id="node1" href="$group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
+++ /dev/null
-cdf80cc05b2f1701b5938d33238d932e
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Paint</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#enum-members">Enumerations</a> |
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">Paint<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module for managing graphical elements. It enables duplication, transformation and composition.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for Paint:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__Paint.png" border="0" alt="" usemap="#group____ThorVGCapi____Paint"/>
-<map name="group____ThorVGCapi____Paint" id="group____ThorVGCapi____Paint">
-<area shape="rect" id="node1" href="group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
-Enumerations</h2></td></tr>
-<tr class="memitem:ga1ec9193ca6959f9d91a80cc61cd0df3a"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a">Tvg_Composite_Method</a> { <a class="el" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375">TVG_COMPOSITE_METHOD_NONE</a> = 0,
-<a class="el" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852">TVG_COMPOSITE_METHOD_CLIP_PATH</a>,
-<a class="el" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a">TVG_COMPOSITE_METHOD_ALPHA_MASK</a>,
-<a class="el" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759">TVG_COMPOSITE_METHOD_INVERSE_ALPHA_MASK</a>
- }<tr class="memdesc:ga1ec9193ca6959f9d91a80cc61cd0df3a"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration indicating the method used in the composition of two objects - the target and the source. <a href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a">More...</a><br /></td></tr>
-</td></tr>
-<tr class="separator:ga1ec9193ca6959f9d91a80cc61cd0df3a"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:ga707bc7b4cf99ab40063b7eeef89ca170"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170">tvg_paint_del</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint)</td></tr>
-<tr class="memdesc:ga707bc7b4cf99ab40063b7eeef89ca170"><td class="mdescLeft"> </td><td class="mdescRight">Releases the given Tvg_Paint object. <a href="#ga707bc7b4cf99ab40063b7eeef89ca170">More...</a><br /></td></tr>
-<tr class="separator:ga707bc7b4cf99ab40063b7eeef89ca170"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gad91401c9574f634f0f744d8e5903203b"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#gad91401c9574f634f0f744d8e5903203b">tvg_paint_scale</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float factor)</td></tr>
-<tr class="memdesc:gad91401c9574f634f0f744d8e5903203b"><td class="mdescLeft"> </td><td class="mdescRight">Scales the given Tvg_Paint object by the given factor. <a href="#gad91401c9574f634f0f744d8e5903203b">More...</a><br /></td></tr>
-<tr class="separator:gad91401c9574f634f0f744d8e5903203b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga60ab7fce408fc3065d77895855fcf532"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#ga60ab7fce408fc3065d77895855fcf532">tvg_paint_rotate</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float degree)</td></tr>
-<tr class="memdesc:ga60ab7fce408fc3065d77895855fcf532"><td class="mdescLeft"> </td><td class="mdescRight">Rotates the given Tvg_Paint by the given angle. <a href="#ga60ab7fce408fc3065d77895855fcf532">More...</a><br /></td></tr>
-<tr class="separator:ga60ab7fce408fc3065d77895855fcf532"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaf7c5c66bd41da9262996ee9a9def42ff"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#gaf7c5c66bd41da9262996ee9a9def42ff">tvg_paint_translate</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float x, float y)</td></tr>
-<tr class="memdesc:gaf7c5c66bd41da9262996ee9a9def42ff"><td class="mdescLeft"> </td><td class="mdescRight">Moves the given Tvg_Paint in a two-dimensional space. <a href="#gaf7c5c66bd41da9262996ee9a9def42ff">More...</a><br /></td></tr>
-<tr class="separator:gaf7c5c66bd41da9262996ee9a9def42ff"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga20305aeb11a622e2651ac514296ef008"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#ga20305aeb11a622e2651ac514296ef008">tvg_paint_transform</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, const <a class="el" href="structTvg__Matrix.html">Tvg_Matrix</a> *m)</td></tr>
-<tr class="memdesc:ga20305aeb11a622e2651ac514296ef008"><td class="mdescLeft"> </td><td class="mdescRight">Transforms the given Tvg_Paint using the augmented transformation matrix. <a href="#ga20305aeb11a622e2651ac514296ef008">More...</a><br /></td></tr>
-<tr class="separator:ga20305aeb11a622e2651ac514296ef008"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga9b621889be1a6aac905a6564d71a800f"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#ga9b621889be1a6aac905a6564d71a800f">tvg_paint_set_opacity</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, uint8_t opacity)</td></tr>
-<tr class="memdesc:ga9b621889be1a6aac905a6564d71a800f"><td class="mdescLeft"> </td><td class="mdescRight">Sets the opacity of the given Tvg_Paint. <a href="#ga9b621889be1a6aac905a6564d71a800f">More...</a><br /></td></tr>
-<tr class="separator:ga9b621889be1a6aac905a6564d71a800f"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga17ee85c79749f4ee89766e3ad9a5a975"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#ga17ee85c79749f4ee89766e3ad9a5a975">tvg_paint_get_opacity</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, uint8_t *opacity)</td></tr>
-<tr class="memdesc:ga17ee85c79749f4ee89766e3ad9a5a975"><td class="mdescLeft"> </td><td class="mdescRight">Gets the opacity of the given Tvg_Paint. <a href="#ga17ee85c79749f4ee89766e3ad9a5a975">More...</a><br /></td></tr>
-<tr class="separator:ga17ee85c79749f4ee89766e3ad9a5a975"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gae7852760d3f05e2d7ce0c899535d223b"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#gae7852760d3f05e2d7ce0c899535d223b">tvg_paint_duplicate</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint)</td></tr>
-<tr class="memdesc:gae7852760d3f05e2d7ce0c899535d223b"><td class="mdescLeft"> </td><td class="mdescRight">Duplicates the given Tvg_Paint object. <a href="#gae7852760d3f05e2d7ce0c899535d223b">More...</a><br /></td></tr>
-<tr class="separator:gae7852760d3f05e2d7ce0c899535d223b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaae4eee0f8e66407fc933f1552f913d6b"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#gaae4eee0f8e66407fc933f1552f913d6b">tvg_paint_get_bounds</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float *x, float *y, float *w, float *h)</td></tr>
-<tr class="memdesc:gaae4eee0f8e66407fc933f1552f913d6b"><td class="mdescLeft"> </td><td class="mdescRight">Gets the bounding box of the Tvg_Paint object before any transformation. <a href="#gaae4eee0f8e66407fc933f1552f913d6b">More...</a><br /></td></tr>
-<tr class="separator:gaae4eee0f8e66407fc933f1552f913d6b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga5af1043991b0de19c888855feeab2e5d"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html#ga5af1043991b0de19c888855feeab2e5d">tvg_paint_set_composite_method</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *target, <a class="el" href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a">Tvg_Composite_Method</a> method)</td></tr>
-<tr class="memdesc:ga5af1043991b0de19c888855feeab2e5d"><td class="mdescLeft"> </td><td class="mdescRight">Sets the composition target object and the composition method. <a href="#ga5af1043991b0de19c888855feeab2e5d">More...</a><br /></td></tr>
-<tr class="separator:ga5af1043991b0de19c888855feeab2e5d"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module for managing graphical elements. It enables duplication, transformation and composition. </p>
-<h2 class="groupheader">Enumeration Type Documentation</h2>
-<a id="ga1ec9193ca6959f9d91a80cc61cd0df3a"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga1ec9193ca6959f9d91a80cc61cd0df3a">◆ </a></span>Tvg_Composite_Method</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a">Tvg_Composite_Method</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Enumeration indicating the method used in the composition of two objects - the target and the source. </p>
-<table class="fieldtable">
-<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375"></a>TVG_COMPOSITE_METHOD_NONE </td><td class="fielddoc"><p>No composition is applied. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852"></a>TVG_COMPOSITE_METHOD_CLIP_PATH </td><td class="fielddoc"><p>The intersection of the source and the target is determined and only the resulting pixels from the source are rendered. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a"></a>TVG_COMPOSITE_METHOD_ALPHA_MASK </td><td class="fielddoc"><p>The pixels of the source and the target are alpha blended. As a result, only the part of the source, which intersects with the target is visible. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759"></a>TVG_COMPOSITE_METHOD_INVERSE_ALPHA_MASK </td><td class="fielddoc"><p>The pixels of the source and the complement to the target's pixels are alpha blended. As a result, only the part of the source which is not covered by the target is visible. </p>
-</td></tr>
-</table>
-
-</div>
-</div>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="ga707bc7b4cf99ab40063b7eeef89ca170"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga707bc7b4cf99ab40063b7eeef89ca170">◆ </a></span>tvg_paint_del()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_del </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Releases the given Tvg_Paint object. </p>
-<div class="fragment"><div class="line"><span class="comment">//example of cleanup function</span></div><div class="line"><a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *rect = NULL; <span class="comment">//rectangle shape added in other function</span></div><div class="line"></div><div class="line"><span class="comment">//rectangle delete API</span></div><div class="line"><span class="keywordtype">int</span> rectangle_delete(<span class="keywordtype">void</span>) {</div><div class="line"> <span class="keywordflow">if</span> (rect) <a class="code" href="group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170">tvg_paint_del</a>(rect);</div><div class="line"> rect = NULL;</div><div class="line">}</div><div class="line"></div><div class="line"><span class="keywordtype">int</span> cleanup(<span class="keywordtype">void</span>) {</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80">tvg_canvas_clear</a>(canvas, <span class="keyword">false</span>);</div><div class="line"> <a class="code" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a>(canvas);</div><div class="line"> canvas = NULL;</div><div class="line">}</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be released.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section warning"><dt>Warning</dt><dd>If this function is used, <a class="el" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80" title="Clears a Tvg_Canvas objects from pushed paints. ">tvg_canvas_clear()</a> with the <code>free</code> argument value set to <code>false</code> should be used in order to avoid unexpected behaviours.</dd></dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80" title="Clears a Tvg_Canvas objects from pushed paints. ">tvg_canvas_clear()</a>, <a class="el" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813" title="Clears the canvas internal data, releases all paints stored by the canvas and destroys the canvas obj...">tvg_canvas_destroy()</a> </dd></dl>
-
-</div>
-</div>
-<a id="gae7852760d3f05e2d7ce0c899535d223b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gae7852760d3f05e2d7ce0c899535d223b">◆ </a></span>tvg_paint_duplicate()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* tvg_paint_duplicate </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Duplicates the given Tvg_Paint object. </p>
-<p>Creates a new object and sets its all properties as in the original object.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be copied.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>A copied Tvg_Paint object if succeed, <code>nullptr</code> otherwise. </dd></dl>
-
-</div>
-</div>
-<a id="gaae4eee0f8e66407fc933f1552f913d6b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaae4eee0f8e66407fc933f1552f913d6b">◆ </a></span>tvg_paint_get_bounds()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_get_bounds </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>y</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>w</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>h</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the bounding box of the Tvg_Paint object before any transformation. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object of which to get the bounds. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">x</td><td>The x coordinate of the upper left corner of the object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">y</td><td>The y coordinate of the upper left corner of the object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">w</td><td>The width of the object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">h</td><td>The height of the object.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INSUFFICIENT_CONDITION</td><td>Other errors. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga17ee85c79749f4ee89766e3ad9a5a975"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga17ee85c79749f4ee89766e3ad9a5a975">◆ </a></span>tvg_paint_get_opacity()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_get_opacity </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>opacity</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the opacity of the given Tvg_Paint. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object of which to get the opacity value. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">opacity</td><td>The opacity value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>In case a <code>nullptr</code> is passed as the argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga60ab7fce408fc3065d77895855fcf532"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga60ab7fce408fc3065d77895855fcf532">◆ </a></span>tvg_paint_rotate()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_rotate </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>degree</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Rotates the given Tvg_Paint by the given angle. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be rotated. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">degree</td><td>The value of the rotation angle in degrees.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gad91401c9574f634f0f744d8e5903203b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gad91401c9574f634f0f744d8e5903203b">◆ </a></span>tvg_paint_scale()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_scale </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>factor</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Scales the given Tvg_Paint object by the given factor. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be scaled. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">factor</td><td>The value of the scaling factor. The default value is 1.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga5af1043991b0de19c888855feeab2e5d"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga5af1043991b0de19c888855feeab2e5d">◆ </a></span>tvg_paint_set_composite_method()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_set_composite_method </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>target</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a">Tvg_Composite_Method</a> </td>
- <td class="paramname"><em>method</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the composition target object and the composition method. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The source object of the composition. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>The target object of the composition. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">method</td><td>The method used to composite the source object with the target.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid <code>paint</code> or <code>target</code> object or the <code>method</code> equal to TVG_COMPOSITE_METHOD_NONE. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga9b621889be1a6aac905a6564d71a800f"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga9b621889be1a6aac905a6564d71a800f">◆ </a></span>tvg_paint_set_opacity()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_set_opacity </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>opacity</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the opacity of the given Tvg_Paint. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object of which the opacity value is to be set. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">opacity</td><td>The opacity value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section note"><dt>Note</dt><dd>Setting the opacity with this API may require multiple renderings using a composition. It is recommended to avoid changing the opacity if possible. </dd></dl>
-
-</div>
-</div>
-<a id="ga20305aeb11a622e2651ac514296ef008"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga20305aeb11a622e2651ac514296ef008">◆ </a></span>tvg_paint_transform()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_transform </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="structTvg__Matrix.html">Tvg_Matrix</a> * </td>
- <td class="paramname"><em>m</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Transforms the given Tvg_Paint using the augmented transformation matrix. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be transformed. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">m</td><td>The 3x3 augmented matrix.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gaf7c5c66bd41da9262996ee9a9def42ff"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaf7c5c66bd41da9262996ee9a9def42ff">◆ </a></span>tvg_paint_translate()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_paint_translate </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>y</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Moves the given Tvg_Paint in a two-dimensional space. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>The Tvg_Paint object to be shifted. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The value of the horizontal shift. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The value of the vertical shift.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="Paint" name="Paint">
-<area shape="rect" id="node1" href="$group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
+++ /dev/null
-c6414650c8dee3530a4eaa11bc740900
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Picture</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">Picture<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module enabling to create and to load an image in one of the supported formats: svg, png and raw.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for Picture:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__Picture.png" border="0" alt="" usemap="#group____ThorVGCapi____Picture"/>
-<map name="group____ThorVGCapi____Picture" id="group____ThorVGCapi____Picture">
-<area shape="rect" id="node1" href="group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:gaeb31f27827d96269a3c4d251a45215b6"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Picture.html#gaeb31f27827d96269a3c4d251a45215b6">tvg_picture_new</a> ()</td></tr>
-<tr class="memdesc:gaeb31f27827d96269a3c4d251a45215b6"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new picture object. <a href="#gaeb31f27827d96269a3c4d251a45215b6">More...</a><br /></td></tr>
-<tr class="separator:gaeb31f27827d96269a3c4d251a45215b6"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaa101b96db706db4edd10a65da628a1ef"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Picture.html#gaa101b96db706db4edd10a65da628a1ef">tvg_picture_load</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, const char *path)</td></tr>
-<tr class="memdesc:gaa101b96db706db4edd10a65da628a1ef"><td class="mdescLeft"> </td><td class="mdescRight">Loads a picture data directly from a file. <a href="#gaa101b96db706db4edd10a65da628a1ef">More...</a><br /></td></tr>
-<tr class="separator:gaa101b96db706db4edd10a65da628a1ef"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga6c05096bb5d5074bff0fdbbb13a587f8"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Picture.html#ga6c05096bb5d5074bff0fdbbb13a587f8">tvg_picture_load_raw</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, uint32_t *data, uint32_t w, uint32_t h, bool copy)</td></tr>
-<tr class="memdesc:ga6c05096bb5d5074bff0fdbbb13a587f8"><td class="mdescLeft"> </td><td class="mdescRight">Loads a picture data from a memory block of a given size. (BETA version) <a href="#ga6c05096bb5d5074bff0fdbbb13a587f8">More...</a><br /></td></tr>
-<tr class="separator:ga6c05096bb5d5074bff0fdbbb13a587f8"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga4a3950f95a05cbc29e869d7d5071aeb9"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Picture.html#ga4a3950f95a05cbc29e869d7d5071aeb9">tvg_picture_get_viewbox</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float *x, float *y, float *w, float *h)</td></tr>
-<tr class="memdesc:ga4a3950f95a05cbc29e869d7d5071aeb9"><td class="mdescLeft"> </td><td class="mdescRight">Gets the position and the size of the loaded picture. (BETA version) <a href="#ga4a3950f95a05cbc29e869d7d5071aeb9">More...</a><br /></td></tr>
-<tr class="separator:ga4a3950f95a05cbc29e869d7d5071aeb9"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module enabling to create and to load an image in one of the supported formats: svg, png and raw. </p>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="ga4a3950f95a05cbc29e869d7d5071aeb9"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga4a3950f95a05cbc29e869d7d5071aeb9">◆ </a></span>tvg_picture_get_viewbox()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_picture_get_viewbox </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>y</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>w</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>h</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the position and the size of the loaded picture. (BETA version) </p>
-<dl class="section warning"><dt>Warning</dt><dd>Please do not use it, this API is not official one. It can be modified in the next version. </dd></dl>
-
-</div>
-</div>
-<a id="gaa101b96db706db4edd10a65da628a1ef"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaa101b96db706db4edd10a65da628a1ef">◆ </a></span>tvg_picture_load()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_picture_load </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>path</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Loads a picture data directly from a file. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the picture object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>The absolute path to the image file.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer or an empty <code>path</code>. </td></tr>
- <tr><td class="paramname">TVG_RESULT_NOT_SUPPORTED</td><td>A file with an unknown extension. </td></tr>
- <tr><td class="paramname">TVG_RESULT_UNKNOWN</td><td>An error at a later stage. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga6c05096bb5d5074bff0fdbbb13a587f8"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga6c05096bb5d5074bff0fdbbb13a587f8">◆ </a></span>tvg_picture_load_raw()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_picture_load_raw </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t * </td>
- <td class="paramname"><em>data</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>w</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>h</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>copy</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Loads a picture data from a memory block of a given size. (BETA version) </p>
-<dl class="section warning"><dt>Warning</dt><dd>Please do not use it, this API is not official one. It can be modified in the next version. </dd></dl>
-
-</div>
-</div>
-<a id="gaeb31f27827d96269a3c4d251a45215b6"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaeb31f27827d96269a3c4d251a45215b6">◆ </a></span>tvg_picture_new()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* tvg_picture_new </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a new picture object. </p>
-<dl class="section return"><dt>Returns</dt><dd>A new picture object. </dd></dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="Picture" name="Picture">
-<area shape="rect" id="node1" href="$group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
+++ /dev/null
-e80b2e652300a86ddb9d580108634622
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Scene</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">Scene<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module managing the multiple paints as one group paint.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for Scene:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__Scene.png" border="0" alt="" usemap="#group____ThorVGCapi____Scene"/>
-<map name="group____ThorVGCapi____Scene" id="group____ThorVGCapi____Scene">
-<area shape="rect" id="node1" href="group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:ga7572898d23143d37faa85cc89ad1625e"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Scene.html#ga7572898d23143d37faa85cc89ad1625e">tvg_scene_new</a> ()</td></tr>
-<tr class="memdesc:ga7572898d23143d37faa85cc89ad1625e"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new scene object. <a href="#ga7572898d23143d37faa85cc89ad1625e">More...</a><br /></td></tr>
-<tr class="separator:ga7572898d23143d37faa85cc89ad1625e"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga8b712509a62cf5a3200ecbca53e773d3"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Scene.html#ga8b712509a62cf5a3200ecbca53e773d3">tvg_scene_reserve</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *scene, uint32_t size)</td></tr>
-<tr class="memdesc:ga8b712509a62cf5a3200ecbca53e773d3"><td class="mdescLeft"> </td><td class="mdescRight">Sets the size of the container, where all the paints pushed into the scene are stored. <a href="#ga8b712509a62cf5a3200ecbca53e773d3">More...</a><br /></td></tr>
-<tr class="separator:ga8b712509a62cf5a3200ecbca53e773d3"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Scene.html#ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf">tvg_scene_push</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *scene, <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint)</td></tr>
-<tr class="memdesc:ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf"><td class="mdescLeft"> </td><td class="mdescRight">Passes drawing elements to the scene using Tvg_Paint objects. <a href="#ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf">More...</a><br /></td></tr>
-<tr class="separator:ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga00044cc1d187a83c196debd44eab0248"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Scene.html#ga00044cc1d187a83c196debd44eab0248">tvg_scene_clear</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *scene)</td></tr>
-<tr class="memdesc:ga00044cc1d187a83c196debd44eab0248"><td class="mdescLeft"> </td><td class="mdescRight">Sets the total number of the paints pushed into the scene to be zero. (BETA version) <a href="#ga00044cc1d187a83c196debd44eab0248">More...</a><br /></td></tr>
-<tr class="separator:ga00044cc1d187a83c196debd44eab0248"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module managing the multiple paints as one group paint. </p>
-<p>As a group, scene can be transformed, translucent, composited with other target paints, its children will be affected by the scene world. </p>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="ga00044cc1d187a83c196debd44eab0248"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga00044cc1d187a83c196debd44eab0248">◆ </a></span>tvg_scene_clear()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_scene_clear </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>scene</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the total number of the paints pushed into the scene to be zero. (BETA version) </p>
-<dl class="section warning"><dt>Warning</dt><dd>Please do not use it, this API is not official one. It could be modified in the next version. </dd></dl>
-
-</div>
-</div>
-<a id="ga7572898d23143d37faa85cc89ad1625e"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga7572898d23143d37faa85cc89ad1625e">◆ </a></span>tvg_scene_new()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* tvg_scene_new </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a new scene object. </p>
-<p>A scene object is used to group many paints into one object, which can be manipulated using TVG APIs.</p>
-<dl class="section return"><dt>Returns</dt><dd>A new scene object. </dd></dl>
-
-</div>
-</div>
-<a id="ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf">◆ </a></span>tvg_scene_push()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_scene_push </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>scene</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Passes drawing elements to the scene using Tvg_Paint objects. </p>
-<p>Only the paints pushed into the scene will be drawing targets. If you know the number of pushed objects in the advance, please call <a class="el" href="group__ThorVGCapi__Scene.html#ga8b712509a62cf5a3200ecbca53e773d3" title="Sets the size of the container, where all the paints pushed into the scene are stored. ">tvg_scene_reserve()</a>.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">scene</td><td>A Tvg_Paint pointer to the scene object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A graphical object to be drawn.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer to the <code>scene</code>. </td></tr>
- <tr><td class="paramname">TVG_RESULT_MEMORY_CORRUPTION</td><td>An invalid pointer to the <code>paint</code>. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INSUFFICIENT_CONDITION</td><td>An internal error.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section note"><dt>Note</dt><dd>The rendering order of the paints is the same as the order as they were pushed. Consider sorting the paints before pushing them if you intend to use layering. </dd></dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Scene.html#ga8b712509a62cf5a3200ecbca53e773d3" title="Sets the size of the container, where all the paints pushed into the scene are stored. ">tvg_scene_reserve()</a> </dd></dl>
-
-</div>
-</div>
-<a id="ga8b712509a62cf5a3200ecbca53e773d3"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga8b712509a62cf5a3200ecbca53e773d3">◆ </a></span>tvg_scene_reserve()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_scene_reserve </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>scene</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>size</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the size of the container, where all the paints pushed into the scene are stored. </p>
-<p>If the number of objects pushed into the scene is known in advance, calling the function prevents multiple memory reallocation, thus improving the performance.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">scene</td><td>A Tvg_Paint pointer to the scene object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The number of objects for which the memory is to be reserved.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="Scene" name="Scene">
-<area shape="rect" id="node1" href="$group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
+++ /dev/null
-535f2f6cfe2920cdff5328a3989997bc
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Shape</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#enum-members">Enumerations</a> |
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">Shape<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module for managing two-dimensional figures and their properties.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for Shape:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__Shape.png" border="0" alt="" usemap="#group____ThorVGCapi____Shape"/>
-<map name="group____ThorVGCapi____Shape" id="group____ThorVGCapi____Shape">
-<area shape="rect" id="node1" href="group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
-Enumerations</h2></td></tr>
-<tr class="memitem:ga08e05d64247332603a624cea6597be77"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a> { <a class="el" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1">TVG_PATH_COMMAND_CLOSE</a> = 0,
-<a class="el" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821">TVG_PATH_COMMAND_MOVE_TO</a>,
-<a class="el" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536">TVG_PATH_COMMAND_LINE_TO</a>,
-<a class="el" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26">TVG_PATH_COMMAND_CUBIC_TO</a>
- }<tr class="memdesc:ga08e05d64247332603a624cea6597be77"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration specifying the values of the path commands accepted by TVG. <a href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">More...</a><br /></td></tr>
-</td></tr>
-<tr class="separator:ga08e05d64247332603a624cea6597be77"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga3bcc39b01d899a7e82a6c939740208d3"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a> { <a class="el" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4">TVG_STROKE_CAP_SQUARE</a> = 0,
-<a class="el" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08">TVG_STROKE_CAP_ROUND</a>,
-<a class="el" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796">TVG_STROKE_CAP_BUTT</a>
- }<tr class="memdesc:ga3bcc39b01d899a7e82a6c939740208d3"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration determining the ending type of a stroke in the open sub-paths. <a href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">More...</a><br /></td></tr>
-</td></tr>
-<tr class="separator:ga3bcc39b01d899a7e82a6c939740208d3"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaf2cbac2c9164a782b96a8cd94f32e1ed"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a> { <a class="el" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168">TVG_STROKE_JOIN_BEVEL</a> = 0,
-<a class="el" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee">TVG_STROKE_JOIN_ROUND</a>,
-<a class="el" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d">TVG_STROKE_JOIN_MITER</a>
- }<tr class="memdesc:gaf2cbac2c9164a782b96a8cd94f32e1ed"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration specifying how to fill the area outside the gradient bounds. <a href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">More...</a><br /></td></tr>
-</td></tr>
-<tr class="separator:gaf2cbac2c9164a782b96a8cd94f32e1ed"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga9ac44e712782a9b2a5a36a49b2ae52c7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a> { <a class="el" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce">TVG_STROKE_FILL_PAD</a> = 0,
-<a class="el" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038">TVG_STROKE_FILL_REFLECT</a>,
-<a class="el" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2">TVG_STROKE_FILL_REPEAT</a>
- }<tr class="memdesc:ga9ac44e712782a9b2a5a36a49b2ae52c7"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration specifying how to fill the area outside the gradient bounds. <a href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">More...</a><br /></td></tr>
-</td></tr>
-<tr class="separator:ga9ac44e712782a9b2a5a36a49b2ae52c7"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaffafa3cd9dc4bc90a7ef3c763add2695"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a> { <a class="el" href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190">TVG_FILL_RULE_WINDING</a> = 0,
-<a class="el" href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88">TVG_FILL_RULE_EVEN_ODD</a>
- }<tr class="memdesc:gaffafa3cd9dc4bc90a7ef3c763add2695"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration specifying the algorithm used to establish which parts of the shape are treated as the inside of the shape. <a href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">More...</a><br /></td></tr>
-</td></tr>
-<tr class="separator:gaffafa3cd9dc4bc90a7ef3c763add2695"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:ga9c0423ae5b7747a9b6b086a93504bd8d"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d">tvg_shape_new</a> ()</td></tr>
-<tr class="memdesc:ga9c0423ae5b7747a9b6b086a93504bd8d"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new shape object. <a href="#ga9c0423ae5b7747a9b6b086a93504bd8d">More...</a><br /></td></tr>
-<tr class="separator:ga9c0423ae5b7747a9b6b086a93504bd8d"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gae5b23d6696a1b4012270a93210750e77"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gae5b23d6696a1b4012270a93210750e77">tvg_shape_reset</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint)</td></tr>
-<tr class="memdesc:gae5b23d6696a1b4012270a93210750e77"><td class="mdescLeft"> </td><td class="mdescRight">Resets the shape path properties. <a href="#gae5b23d6696a1b4012270a93210750e77">More...</a><br /></td></tr>
-<tr class="separator:gae5b23d6696a1b4012270a93210750e77"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga892eb9130555a02a6e6bec3c91a7de3c"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga892eb9130555a02a6e6bec3c91a7de3c">tvg_shape_move_to</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float x, float y)</td></tr>
-<tr class="memdesc:ga892eb9130555a02a6e6bec3c91a7de3c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the initial point of the sub-path. <a href="#ga892eb9130555a02a6e6bec3c91a7de3c">More...</a><br /></td></tr>
-<tr class="separator:ga892eb9130555a02a6e6bec3c91a7de3c"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga715e047ef4d45ced617f9ed000df1842"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga715e047ef4d45ced617f9ed000df1842">tvg_shape_line_to</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float x, float y)</td></tr>
-<tr class="memdesc:ga715e047ef4d45ced617f9ed000df1842"><td class="mdescLeft"> </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="#ga715e047ef4d45ced617f9ed000df1842">More...</a><br /></td></tr>
-<tr class="separator:ga715e047ef4d45ced617f9ed000df1842"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga275080e39eba2bc732625be046292176"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga275080e39eba2bc732625be046292176">tvg_shape_cubic_to</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float cx1, float cy1, float cx2, float cy2, float x, float y)</td></tr>
-<tr class="memdesc:ga275080e39eba2bc732625be046292176"><td class="mdescLeft"> </td><td class="mdescRight">Adds new points to the sub-path, which results in drawing a cubic Bezier curve. <a href="#ga275080e39eba2bc732625be046292176">More...</a><br /></td></tr>
-<tr class="separator:ga275080e39eba2bc732625be046292176"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga99049e9ec53866666fdec34f05d084b1"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga99049e9ec53866666fdec34f05d084b1">tvg_shape_close</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint)</td></tr>
-<tr class="memdesc:ga99049e9ec53866666fdec34f05d084b1"><td class="mdescLeft"> </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="#ga99049e9ec53866666fdec34f05d084b1">More...</a><br /></td></tr>
-<tr class="separator:ga99049e9ec53866666fdec34f05d084b1"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gac1af7237c282fc0269e65a3ba6609291"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291">tvg_shape_append_rect</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float x, float y, float w, float h, float rx, float ry)</td></tr>
-<tr class="memdesc:gac1af7237c282fc0269e65a3ba6609291"><td class="mdescLeft"> </td><td class="mdescRight">Appends a rectangle to the path. <a href="#gac1af7237c282fc0269e65a3ba6609291">More...</a><br /></td></tr>
-<tr class="separator:gac1af7237c282fc0269e65a3ba6609291"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga32c7b28d082544df3cc9dc6730fc6a39"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39">tvg_shape_append_circle</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float cx, float cy, float rx, float ry)</td></tr>
-<tr class="memdesc:ga32c7b28d082544df3cc9dc6730fc6a39"><td class="mdescLeft"> </td><td class="mdescRight">Appends an ellipse to the path. <a href="#ga32c7b28d082544df3cc9dc6730fc6a39">More...</a><br /></td></tr>
-<tr class="separator:ga32c7b28d082544df3cc9dc6730fc6a39"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga237a7a1bc5274dd7ffc7355be48888fd"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga237a7a1bc5274dd7ffc7355be48888fd">tvg_shape_append_arc</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float cx, float cy, float radius, float startAngle, float sweep, uint8_t pie)</td></tr>
-<tr class="memdesc:ga237a7a1bc5274dd7ffc7355be48888fd"><td class="mdescLeft"> </td><td class="mdescRight">Appends a circular arc to the path. <a href="#ga237a7a1bc5274dd7ffc7355be48888fd">More...</a><br /></td></tr>
-<tr class="separator:ga237a7a1bc5274dd7ffc7355be48888fd"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga31d8aaa35a50228b0b343471ff0d77b3"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga31d8aaa35a50228b0b343471ff0d77b3">tvg_shape_append_path</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, const <a class="el" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a> *cmds, uint32_t cmdCnt, const <a class="el" href="structTvg__Point.html">Tvg_Point</a> *pts, uint32_t ptsCnt)</td></tr>
-<tr class="memdesc:ga31d8aaa35a50228b0b343471ff0d77b3"><td class="mdescLeft"> </td><td class="mdescRight">Appends a given sub-path to the path. <a href="#ga31d8aaa35a50228b0b343471ff0d77b3">More...</a><br /></td></tr>
-<tr class="separator:ga31d8aaa35a50228b0b343471ff0d77b3"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gad5323f2c523a6a14b89ed105f3450108"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gad5323f2c523a6a14b89ed105f3450108">tvg_shape_get_path_coords</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, const <a class="el" href="structTvg__Point.html">Tvg_Point</a> **pts, uint32_t *cnt)</td></tr>
-<tr class="memdesc:gad5323f2c523a6a14b89ed105f3450108"><td class="mdescLeft"> </td><td class="mdescRight">Gets the points values of the path. <a href="#gad5323f2c523a6a14b89ed105f3450108">More...</a><br /></td></tr>
-<tr class="separator:gad5323f2c523a6a14b89ed105f3450108"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gacd0ecb2f60ad6ab2e616e5870e1857aa"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gacd0ecb2f60ad6ab2e616e5870e1857aa">tvg_shape_get_path_commands</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, const <a class="el" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a> **cmds, uint32_t *cnt)</td></tr>
-<tr class="memdesc:gacd0ecb2f60ad6ab2e616e5870e1857aa"><td class="mdescLeft"> </td><td class="mdescRight">Gets the commands data of the path. <a href="#gacd0ecb2f60ad6ab2e616e5870e1857aa">More...</a><br /></td></tr>
-<tr class="separator:gacd0ecb2f60ad6ab2e616e5870e1857aa"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gae3a63091a9c00c796ecadf3e6983c5fd"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gae3a63091a9c00c796ecadf3e6983c5fd">tvg_shape_set_stroke_width</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float width)</td></tr>
-<tr class="memdesc:gae3a63091a9c00c796ecadf3e6983c5fd"><td class="mdescLeft"> </td><td class="mdescRight">Sets the stroke width for all of the figures from the <code>paint</code>. <a href="#gae3a63091a9c00c796ecadf3e6983c5fd">More...</a><br /></td></tr>
-<tr class="separator:gae3a63091a9c00c796ecadf3e6983c5fd"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga6964fd905664d48bf7252d6c67cb4dcd"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga6964fd905664d48bf7252d6c67cb4dcd">tvg_shape_get_stroke_width</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, float *width)</td></tr>
-<tr class="memdesc:ga6964fd905664d48bf7252d6c67cb4dcd"><td class="mdescLeft"> </td><td class="mdescRight">Gets the shape's stroke width. <a href="#ga6964fd905664d48bf7252d6c67cb4dcd">More...</a><br /></td></tr>
-<tr class="separator:ga6964fd905664d48bf7252d6c67cb4dcd"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga9c1d8aaf73da6f4386cce28a245d3f27"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga9c1d8aaf73da6f4386cce28a245d3f27">tvg_shape_set_stroke_color</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, uint8_t r, uint8_t g, uint8_t b, uint8_t a)</td></tr>
-<tr class="memdesc:ga9c1d8aaf73da6f4386cce28a245d3f27"><td class="mdescLeft"> </td><td class="mdescRight">Sets the shape's stroke color. <a href="#ga9c1d8aaf73da6f4386cce28a245d3f27">More...</a><br /></td></tr>
-<tr class="separator:ga9c1d8aaf73da6f4386cce28a245d3f27"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gad63d7d12327f3d9912999de2a2504b8d"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gad63d7d12327f3d9912999de2a2504b8d">tvg_shape_get_stroke_color</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a)</td></tr>
-<tr class="memdesc:gad63d7d12327f3d9912999de2a2504b8d"><td class="mdescLeft"> </td><td class="mdescRight">Gets the shape's stroke color. <a href="#gad63d7d12327f3d9912999de2a2504b8d">More...</a><br /></td></tr>
-<tr class="separator:gad63d7d12327f3d9912999de2a2504b8d"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gae15955526c9e519ea204b77aa91de111"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gae15955526c9e519ea204b77aa91de111">tvg_shape_set_stroke_linear_gradient</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad)</td></tr>
-<tr class="memdesc:gae15955526c9e519ea204b77aa91de111"><td class="mdescLeft"> </td><td class="mdescRight">Sets the linear gradient fill of the stroke for all of the figures from the path. <a href="#gae15955526c9e519ea204b77aa91de111">More...</a><br /></td></tr>
-<tr class="separator:gae15955526c9e519ea204b77aa91de111"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga0b1d28f178f276d379ca2c14fd7d869c"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga0b1d28f178f276d379ca2c14fd7d869c">tvg_shape_set_stroke_radial_gradient</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad)</td></tr>
-<tr class="memdesc:ga0b1d28f178f276d379ca2c14fd7d869c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the radial gradient fill of the stroke for all of the figures from the path. <a href="#ga0b1d28f178f276d379ca2c14fd7d869c">More...</a><br /></td></tr>
-<tr class="separator:ga0b1d28f178f276d379ca2c14fd7d869c"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga48c323d84e770c561c14bfc586240b96"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga48c323d84e770c561c14bfc586240b96">tvg_shape_get_stroke_gradient</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> **grad)</td></tr>
-<tr class="memdesc:ga48c323d84e770c561c14bfc586240b96"><td class="mdescLeft"> </td><td class="mdescRight">Gets the gradient fill of the shape's stroke. <a href="#ga48c323d84e770c561c14bfc586240b96">More...</a><br /></td></tr>
-<tr class="separator:ga48c323d84e770c561c14bfc586240b96"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaab74503fd357cfaf7727c25278b71531"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gaab74503fd357cfaf7727c25278b71531">tvg_shape_set_stroke_dash</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, const float *dashPattern, uint32_t cnt)</td></tr>
-<tr class="memdesc:gaab74503fd357cfaf7727c25278b71531"><td class="mdescLeft"> </td><td class="mdescRight">Sets the shape's stroke dash pattern. <a href="#gaab74503fd357cfaf7727c25278b71531">More...</a><br /></td></tr>
-<tr class="separator:gaab74503fd357cfaf7727c25278b71531"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga40dd2d0753ce8a3018e02a7382abe04f"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga40dd2d0753ce8a3018e02a7382abe04f">tvg_shape_get_stroke_dash</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, const float **dashPattern, uint32_t *cnt)</td></tr>
-<tr class="memdesc:ga40dd2d0753ce8a3018e02a7382abe04f"><td class="mdescLeft"> </td><td class="mdescRight">Gets the dash pattern of the stroke. <a href="#ga40dd2d0753ce8a3018e02a7382abe04f">More...</a><br /></td></tr>
-<tr class="separator:ga40dd2d0753ce8a3018e02a7382abe04f"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gabb5f5cfe6ff8098efcde6f80c56ca200"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gabb5f5cfe6ff8098efcde6f80c56ca200">tvg_shape_set_stroke_cap</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a> cap)</td></tr>
-<tr class="memdesc:gabb5f5cfe6ff8098efcde6f80c56ca200"><td class="mdescLeft"> </td><td class="mdescRight">Sets the cap style used for stroking the path. <a href="#gabb5f5cfe6ff8098efcde6f80c56ca200">More...</a><br /></td></tr>
-<tr class="separator:gabb5f5cfe6ff8098efcde6f80c56ca200"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaad894f66bc9bbd8f91c351aff534536b"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gaad894f66bc9bbd8f91c351aff534536b">tvg_shape_get_stroke_cap</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a> *cap)</td></tr>
-<tr class="memdesc:gaad894f66bc9bbd8f91c351aff534536b"><td class="mdescLeft"> </td><td class="mdescRight">Gets the stroke cap style used for stroking the path. <a href="#gaad894f66bc9bbd8f91c351aff534536b">More...</a><br /></td></tr>
-<tr class="separator:gaad894f66bc9bbd8f91c351aff534536b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga34cb2634d8e9b603f22d4112b346c32a"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga34cb2634d8e9b603f22d4112b346c32a">tvg_shape_set_stroke_join</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a> join)</td></tr>
-<tr class="memdesc:ga34cb2634d8e9b603f22d4112b346c32a"><td class="mdescLeft"> </td><td class="mdescRight">Sets the join style for stroked path segments. <a href="#ga34cb2634d8e9b603f22d4112b346c32a">More...</a><br /></td></tr>
-<tr class="separator:ga34cb2634d8e9b603f22d4112b346c32a"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gae31a53e787b763eaf8a0268edeab76a1"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gae31a53e787b763eaf8a0268edeab76a1">tvg_shape_get_stroke_join</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a> *join)</td></tr>
-<tr class="memdesc:gae31a53e787b763eaf8a0268edeab76a1"><td class="mdescLeft"> </td><td class="mdescRight">The function gets the stroke join method. <a href="#gae31a53e787b763eaf8a0268edeab76a1">More...</a><br /></td></tr>
-<tr class="separator:gae31a53e787b763eaf8a0268edeab76a1"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga9671d893c912383df0840c2915e3d88b"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga9671d893c912383df0840c2915e3d88b">tvg_shape_set_fill_color</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, uint8_t r, uint8_t g, uint8_t b, uint8_t a)</td></tr>
-<tr class="memdesc:ga9671d893c912383df0840c2915e3d88b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the shape's solid color. <a href="#ga9671d893c912383df0840c2915e3d88b">More...</a><br /></td></tr>
-<tr class="separator:ga9671d893c912383df0840c2915e3d88b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaaf9b92ffb5736b1ab808b4f15356dd08"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gaaf9b92ffb5736b1ab808b4f15356dd08">tvg_shape_get_fill_color</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a)</td></tr>
-<tr class="memdesc:gaaf9b92ffb5736b1ab808b4f15356dd08"><td class="mdescLeft"> </td><td class="mdescRight">Gets the shape's solid color. <a href="#gaaf9b92ffb5736b1ab808b4f15356dd08">More...</a><br /></td></tr>
-<tr class="separator:gaaf9b92ffb5736b1ab808b4f15356dd08"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga6d19a68df8f57681a4815c7d2e3e03ba"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba">tvg_shape_set_fill_rule</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a> rule)</td></tr>
-<tr class="memdesc:ga6d19a68df8f57681a4815c7d2e3e03ba"><td class="mdescLeft"> </td><td class="mdescRight">Sets the shape's fill rule. <a href="#ga6d19a68df8f57681a4815c7d2e3e03ba">More...</a><br /></td></tr>
-<tr class="separator:ga6d19a68df8f57681a4815c7d2e3e03ba"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gaeebedc65bb77544aeb05980465284947"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gaeebedc65bb77544aeb05980465284947">tvg_shape_get_fill_rule</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a> *rule)</td></tr>
-<tr class="memdesc:gaeebedc65bb77544aeb05980465284947"><td class="mdescLeft"> </td><td class="mdescRight">Gets the shape's fill rule. <a href="#gaeebedc65bb77544aeb05980465284947">More...</a><br /></td></tr>
-<tr class="separator:gaeebedc65bb77544aeb05980465284947"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga02aa5aa9a017270ce0375b1b9db75d57"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga02aa5aa9a017270ce0375b1b9db75d57">tvg_shape_set_linear_gradient</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad)</td></tr>
-<tr class="memdesc:ga02aa5aa9a017270ce0375b1b9db75d57"><td class="mdescLeft"> </td><td class="mdescRight">Sets the linear gradient fill for all of the figures from the path. <a href="#ga02aa5aa9a017270ce0375b1b9db75d57">More...</a><br /></td></tr>
-<tr class="separator:ga02aa5aa9a017270ce0375b1b9db75d57"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gabd7b9020f1058aa9e9fae9b683265ef8"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#gabd7b9020f1058aa9e9fae9b683265ef8">tvg_shape_set_radial_gradient</a> (<a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> *grad)</td></tr>
-<tr class="memdesc:gabd7b9020f1058aa9e9fae9b683265ef8"><td class="mdescLeft"> </td><td class="mdescRight">Sets the radial gradient fill for all of the figures from the path. <a href="#gabd7b9020f1058aa9e9fae9b683265ef8">More...</a><br /></td></tr>
-<tr class="separator:gabd7b9020f1058aa9e9fae9b683265ef8"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga962f01af5960ad4dd2e1da2f6a0336b9"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html#ga962f01af5960ad4dd2e1da2f6a0336b9">tvg_shape_get_gradient</a> (const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> *paint, <a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> **grad)</td></tr>
-<tr class="memdesc:ga962f01af5960ad4dd2e1da2f6a0336b9"><td class="mdescLeft"> </td><td class="mdescRight">Gets the gradient fill of the shape. <a href="#ga962f01af5960ad4dd2e1da2f6a0336b9">More...</a><br /></td></tr>
-<tr class="separator:ga962f01af5960ad4dd2e1da2f6a0336b9"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module for managing two-dimensional figures and their properties. </p>
-<p>A shape has three major properties: shape outline, stroking, filling. The outline in the shape is retained as the path. Path can be composed by accumulating primitive commands such as <a class="el" href="group__ThorVGCapi__Shape.html#ga892eb9130555a02a6e6bec3c91a7de3c" title="Sets the initial point of the sub-path. ">tvg_shape_move_to()</a>, <a class="el" href="group__ThorVGCapi__Shape.html#ga715e047ef4d45ced617f9ed000df1842" title="Adds a new point to the sub-path, which results in drawing a line from the current point to the given...">tvg_shape_line_to()</a>, <a class="el" href="group__ThorVGCapi__Shape.html#ga275080e39eba2bc732625be046292176" title="Adds new points to the sub-path, which results in drawing a cubic Bezier curve. ">tvg_shape_cubic_to()</a> or complete shape interfaces such as <a class="el" href="group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291" title="Appends a rectangle to the path. ">tvg_shape_append_rect()</a>, <a class="el" href="group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39" title="Appends an ellipse to the path. ">tvg_shape_append_circle()</a>, etc. Path can consists of sub-paths. One sub-path is determined by a close command.</p>
-<p>The stroke of a shape is an optional property in case the shape 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>
-<h2 class="groupheader">Enumeration Type Documentation</h2>
-<a id="gaffafa3cd9dc4bc90a7ef3c763add2695"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaffafa3cd9dc4bc90a7ef3c763add2695">◆ </a></span>Tvg_Fill_Rule</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Enumeration specifying the algorithm used to establish which parts of the shape are treated as the inside of the shape. </p>
-<table class="fieldtable">
-<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190"></a>TVG_FILL_RULE_WINDING </td><td class="fielddoc"><p>A line from the point to a location outside the shape is drawn. The intersections of the line with the path segment of the shape are counted. Starting from zero, if the path segment of the shape crosses the line clockwise, one is added, otherwise one is subtracted. If the resulting sum is non zero, the point is inside the shape. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88"></a>TVG_FILL_RULE_EVEN_ODD </td><td class="fielddoc"><p>A line from the point to a location outside the shape is drawn and its intersections with the path segments of the shape are counted. If the number of intersections is an odd number, the point is inside the shape. </p>
-</td></tr>
-</table>
-
-</div>
-</div>
-<a id="ga08e05d64247332603a624cea6597be77"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga08e05d64247332603a624cea6597be77">◆ </a></span>Tvg_Path_Command</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Enumeration specifying the values of the path commands accepted by TVG. </p>
-<p>Not to be confused with the path commands from the svg path element (like M, L, Q, H and many others). TVG interprets all of them and translates to the ones from the PathCommand values. </p>
-<table class="fieldtable">
-<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1"></a>TVG_PATH_COMMAND_CLOSE </td><td class="fielddoc"><p>Ends the current sub-path and connects it with its initial point - corresponds to Z command in the svg path commands. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821"></a>TVG_PATH_COMMAND_MOVE_TO </td><td class="fielddoc"><p>Sets a new initial point of the sub-path and a new current point - corresponds to M command in the svg path commands. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536"></a>TVG_PATH_COMMAND_LINE_TO </td><td class="fielddoc"><p>Draws a line from the current point to the given point and sets a new value of the current point - corresponds to L command in the svg path commands. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26"></a>TVG_PATH_COMMAND_CUBIC_TO </td><td class="fielddoc"><p>Draws a cubic Bezier curve from the current point to the given point using two given control points and sets a new value of the current point - corresponds to C command in the svg path commands. </p>
-</td></tr>
-</table>
-
-</div>
-</div>
-<a id="ga3bcc39b01d899a7e82a6c939740208d3"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga3bcc39b01d899a7e82a6c939740208d3">◆ </a></span>Tvg_Stroke_Cap</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Enumeration determining the ending type of a stroke in the open sub-paths. </p>
-<table class="fieldtable">
-<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4"></a>TVG_STROKE_CAP_SQUARE </td><td class="fielddoc"><p>The stroke is extended in both endpoints of a sub-path by a rectangle, with the width equal to the stroke width and the length equal to the half of the stroke width. For zero length sub-paths the square is rendered with the size of the stroke width. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08"></a>TVG_STROKE_CAP_ROUND </td><td class="fielddoc"><p>The stroke is extended in both endpoints of a sub-path by a half circle, with a radius equal to the half of a stroke width. For zero length sub-paths a full circle is rendered. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796"></a>TVG_STROKE_CAP_BUTT </td><td class="fielddoc"><p>The stroke ends exactly at each of the two endpoints of a sub-path. For zero length sub-paths no stroke is rendered. </p>
-</td></tr>
-</table>
-
-</div>
-</div>
-<a id="ga9ac44e712782a9b2a5a36a49b2ae52c7"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga9ac44e712782a9b2a5a36a49b2ae52c7">◆ </a></span>Tvg_Stroke_Fill</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Enumeration specifying how to fill the area outside the gradient bounds. </p>
-<table class="fieldtable">
-<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce"></a>TVG_STROKE_FILL_PAD </td><td class="fielddoc"><p>The remaining area is filled with the closest stop color. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038"></a>TVG_STROKE_FILL_REFLECT </td><td class="fielddoc"><p>The gradient pattern is reflected outside the gradient area until the expected region is filled. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2"></a>TVG_STROKE_FILL_REPEAT </td><td class="fielddoc"><p>The gradient pattern is repeated continuously beyond the gradient area until the expected region is filled. </p>
-</td></tr>
-</table>
-
-</div>
-</div>
-<a id="gaf2cbac2c9164a782b96a8cd94f32e1ed"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaf2cbac2c9164a782b96a8cd94f32e1ed">◆ </a></span>Tvg_Stroke_Join</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Enumeration specifying how to fill the area outside the gradient bounds. </p>
-<table class="fieldtable">
-<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168"></a>TVG_STROKE_JOIN_BEVEL </td><td class="fielddoc"><p>The outer corner of the joined path segments is bevelled at the join point. The triangular region of the corner is enclosed by a straight line between the outer corners of each stroke. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee"></a>TVG_STROKE_JOIN_ROUND </td><td class="fielddoc"><p>The outer corner of the joined path segments is rounded. The circular region is centered at the join point. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d"></a>TVG_STROKE_JOIN_MITER </td><td class="fielddoc"><p>The outer corner of the joined path segments is spiked. The spike is created by extension beyond the join point of the outer edges of the stroke until they intersect. In case the extension goes beyond the limit, the join style is converted to the Bevel style. </p>
-</td></tr>
-</table>
-
-</div>
-</div>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="ga237a7a1bc5274dd7ffc7355be48888fd"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga237a7a1bc5274dd7ffc7355be48888fd">◆ </a></span>tvg_shape_append_arc()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_append_arc </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cy</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>radius</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>startAngle</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>sweep</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>pie</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Appends a circular arc to the path. </p>
-<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>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cx</td><td>The horizontal coordinate of the center of the arc. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cy</td><td>The vertical coordinate of the center of the arc. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">radius</td><td>The radius of the arc. </td></tr>
- <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>
- <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>
- <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>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-
-</div>
-</div>
-<a id="ga32c7b28d082544df3cc9dc6730fc6a39"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga32c7b28d082544df3cc9dc6730fc6a39">◆ </a></span>tvg_shape_append_circle()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_append_circle </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cy</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>rx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>ry</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Appends an ellipse to the path. </p>
-<p>The position of the ellipse is specified by the coordinates of its center - <code>cx</code> and <code>cy</code> arguments.</p>
-<p>The ellipse is treated as a new sub-path - it is not connected with the previous sub-path.</p>
-<p>The value of the current point is set to (<code>cx</code>, <code>cy</code> - <code>ry</code>).</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cx</td><td>The horizontal coordinate of the center of the ellipse. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cy</td><td>The vertical coordinate of the center of the ellipse. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">rx</td><td>The x-axis radius of the ellipse. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">ry</td><td>The y-axis radius of the ellipse.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga31d8aaa35a50228b0b343471ff0d77b3"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga31d8aaa35a50228b0b343471ff0d77b3">◆ </a></span>tvg_shape_append_path()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_append_path </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a> * </td>
- <td class="paramname"><em>cmds</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>cmdCnt</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="structTvg__Point.html">Tvg_Point</a> * </td>
- <td class="paramname"><em>pts</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>ptsCnt</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Appends a given sub-path to the path. </p>
-<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>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cmds</td><td>The array of the commands in the sub-path. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cmdCnt</td><td>The length of the <code>cmds</code> array. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">pts</td><td>The array of the two-dimensional points. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">ptsCnt</td><td>The length of the <code>pts</code> array.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>A <code>nullptr</code> passed as the argument or <code>cmdCnt</code> or <code>ptsCnt</code> equal to zero. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gac1af7237c282fc0269e65a3ba6609291"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gac1af7237c282fc0269e65a3ba6609291">◆ </a></span>tvg_shape_append_rect()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_append_rect </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>y</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>w</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>h</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>rx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>ry</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Appends a rectangle to the path. </p>
-<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>
-<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>
-<p>The rectangle is treated as a new sub-path - it is not connected with the previous sub-path.</p>
-<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>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <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>
- <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>
- <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>The width of the rectangle. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>The height of the rectangle. </td></tr>
- <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>
- <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>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<p>& </p><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>
-
-</div>
-</div>
-<a id="ga99049e9ec53866666fdec34f05d084b1"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga99049e9ec53866666fdec34f05d084b1">◆ </a></span>tvg_shape_close()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_close </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Closes the current sub-path by drawing a line from the current point to the initial point of the sub-path. </p>
-<p>The value of the current point is set to the initial point of the closed sub-path.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-
-</div>
-</div>
-<a id="ga275080e39eba2bc732625be046292176"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga275080e39eba2bc732625be046292176">◆ </a></span>tvg_shape_cubic_to()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_cubic_to </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cx1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cy1</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cx2</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>cy2</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>y</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Adds new points to the sub-path, which results in drawing a cubic Bezier curve. </p>
-<p>The Bezier curve starts at the current point and ends at the given end-point (<code>x</code>, <code>y</code>). Two control points (<code>cx1</code>, <code>cy1</code>) and (<code>cx2</code>, <code>cy2</code>) are used to determine the shape of the curve. The value of the current point is set to the given end-point.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cx1</td><td>The horizontal coordinate of the 1st control point. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cy1</td><td>The vertical coordinate of the 1st control point. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cx2</td><td>The horizontal coordinate of the 2nd control point. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cy2</td><td>The vertical coordinate of the 2nd control point. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The horizontal coordinate of the endpoint of the curve. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The vertical coordinate of the endpoint of the curve.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-
-</div>
-</div>
-<a id="gaaf9b92ffb5736b1ab808b4f15356dd08"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaaf9b92ffb5736b1ab808b4f15356dd08">◆ </a></span>tvg_shape_get_fill_color()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_fill_color </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>r</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>g</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>b</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>a</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the shape's solid color. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">r</td><td>The red color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">g</td><td>The green color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">b</td><td>The blue color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
- <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. The default value is 0.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gaeebedc65bb77544aeb05980465284947"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaeebedc65bb77544aeb05980465284947">◆ </a></span>tvg_shape_get_fill_rule()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_fill_rule </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a> * </td>
- <td class="paramname"><em>rule</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the shape's fill rule. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">rule</td><td>shape's fill rule</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga962f01af5960ad4dd2e1da2f6a0336b9"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga962f01af5960ad4dd2e1da2f6a0336b9">◆ </a></span>tvg_shape_get_gradient()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_gradient </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> ** </td>
- <td class="paramname"><em>grad</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the gradient fill of the shape. </p>
-<p>The function does not allocate any data.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">grad</td><td>The gradient fill.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gacd0ecb2f60ad6ab2e616e5870e1857aa"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gacd0ecb2f60ad6ab2e616e5870e1857aa">◆ </a></span>tvg_shape_get_path_commands()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_path_commands </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a> ** </td>
- <td class="paramname"><em>cmds</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t * </td>
- <td class="paramname"><em>cnt</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the commands data of the path. </p>
-<p>The function does not allocate any data. There is no need to free the <code>cmds</code> array.</p>
-<div class="fragment"><div class="line">Tvg_Shape *shape = <a class="code" href="group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d">tvg_shape_new</a>();</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a> *cmds = NULL;</div><div class="line">uint32_t len = 0;</div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39">tvg_shape_append_circle</a>(shape, 10, 10, 50, 50);</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#gacd0ecb2f60ad6ab2e616e5870e1857aa">tvg_shape_get_path_commands</a>(shape, (<span class="keyword">const</span> <a class="code" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a>**)&cmds, &len);</div><div class="line"><span class="comment">//TVG approximates a circle by four Bezier lines. In the example above the cmds array stores their coordinates</span></div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <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>
- <tr><td class="paramdir">[out]</td><td class="paramname">cnt</td><td>The length of the <code>cmds</code> array.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>A <code>nullptr</code> passed as the argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gad5323f2c523a6a14b89ed105f3450108"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gad5323f2c523a6a14b89ed105f3450108">◆ </a></span>tvg_shape_get_path_coords()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_path_coords </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="structTvg__Point.html">Tvg_Point</a> ** </td>
- <td class="paramname"><em>pts</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t * </td>
- <td class="paramname"><em>cnt</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the points values of the path. </p>
-<p>The function does not allocate any data, it operates on internal memory. There is no need to free the <code>pts</code> array.</p>
-<div class="fragment"><div class="line">Tvg_Shape *shape = <a class="code" href="group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d">tvg_shape_new</a>();</div><div class="line"><a class="code" href="structTvg__Point.html">Tvg_Point</a> *coords = NULL;</div><div class="line">uint32_t len = 0;</div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39">tvg_shape_append_circle</a>(shape, 10, 10, 50, 50);</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#gad5323f2c523a6a14b89ed105f3450108">tvg_shape_get_path_coords</a>(shape, (<span class="keyword">const</span> <a class="code" href="structTvg__Point.html">Tvg_Point</a>**)&coords, &len);</div><div class="line"><span class="comment">//TVG approximates a circle by four Bezier lines. In the example above the cmds array stores their coordinates</span></div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <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>
- <tr><td class="paramdir">[out]</td><td class="paramname">cnt</td><td>The length of the <code>pts</code> array.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>A <code>nullptr</code> passed as the argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gaad894f66bc9bbd8f91c351aff534536b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaad894f66bc9bbd8f91c351aff534536b">◆ </a></span>tvg_shape_get_stroke_cap()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_stroke_cap </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a> * </td>
- <td class="paramname"><em>cap</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the stroke cap style used for stroking the path. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">cap</td><td>The cap style value.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gad63d7d12327f3d9912999de2a2504b8d"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gad63d7d12327f3d9912999de2a2504b8d">◆ </a></span>tvg_shape_get_stroke_color()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_stroke_color </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>r</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>g</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>b</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t * </td>
- <td class="paramname"><em>a</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the shape's stroke color. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">r</td><td>The red color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">g</td><td>The green color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">b</td><td>The blue color channel value in the range [0 ~ 255]. The default value is 0. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">a</td><td>opacity value</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga40dd2d0753ce8a3018e02a7382abe04f"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga40dd2d0753ce8a3018e02a7382abe04f">◆ </a></span>tvg_shape_get_stroke_dash()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_stroke_dash </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const float ** </td>
- <td class="paramname"><em>dashPattern</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t * </td>
- <td class="paramname"><em>cnt</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the dash pattern of the stroke. </p>
-<p>The function does not allocate any memory.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">dashPattern</td><td>The array of consecutive pair values of the dash length and the gap length. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">cnt</td><td>The size of the <code>dashPattern</code> array.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga48c323d84e770c561c14bfc586240b96"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga48c323d84e770c561c14bfc586240b96">◆ </a></span>tvg_shape_get_stroke_gradient()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_stroke_gradient </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> ** </td>
- <td class="paramname"><em>grad</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the gradient fill of the shape's stroke. </p>
-<p>The function does not allocate any memory.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">grad</td><td>The gradient fill.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gae31a53e787b763eaf8a0268edeab76a1"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gae31a53e787b763eaf8a0268edeab76a1">◆ </a></span>tvg_shape_get_stroke_join()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_stroke_join </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a> * </td>
- <td class="paramname"><em>join</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>The function gets the stroke join method. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">join</td><td>The join style value.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga6964fd905664d48bf7252d6c67cb4dcd"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga6964fd905664d48bf7252d6c67cb4dcd">◆ </a></span>tvg_shape_get_stroke_width()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_get_stroke_width </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float * </td>
- <td class="paramname"><em>width</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Gets the shape's stroke width. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">width</td><td>The stroke width.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga715e047ef4d45ced617f9ed000df1842"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga715e047ef4d45ced617f9ed000df1842">◆ </a></span>tvg_shape_line_to()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_line_to </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>y</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<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>
-<p>The value of the current point is set to the given end-point.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The horizontal coordinate of the end-point of the line. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The vertical coordinate of the end-point of the line.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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="group__ThorVGCapi__Shape.html#ga892eb9130555a02a6e6bec3c91a7de3c" title="Sets the initial point of the sub-path. ">tvg_shape_move_to()</a> call. </dd></dl>
-
-</div>
-</div>
-<a id="ga892eb9130555a02a6e6bec3c91a7de3c"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga892eb9130555a02a6e6bec3c91a7de3c">◆ </a></span>tvg_shape_move_to()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_move_to </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>y</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the initial point of the sub-path. </p>
-<p>The value of the current point is set to the given point.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <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>
- <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>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga9c0423ae5b7747a9b6b086a93504bd8d"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga9c0423ae5b7747a9b6b086a93504bd8d">◆ </a></span>tvg_shape_new()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* tvg_shape_new </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a new shape object. </p>
-<dl class="section return"><dt>Returns</dt><dd>A new shape object. </dd></dl>
-
-</div>
-</div>
-<a id="gae5b23d6696a1b4012270a93210750e77"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gae5b23d6696a1b4012270a93210750e77">◆ </a></span>tvg_shape_reset()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_reset </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Resets the shape path properties. </p>
-<p>The color, the fill and the stroke properties are retained.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-
-</div>
-</div>
-<a id="ga9671d893c912383df0840c2915e3d88b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga9671d893c912383df0840c2915e3d88b">◆ </a></span>tvg_shape_set_fill_color()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_fill_color </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>r</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>g</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>b</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>a</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the shape's solid color. </p>
-<p>The parts of the shape defined as inner are colored.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <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>
- <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>
- <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>
- <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>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba" title="Sets the shape's fill rule. ">tvg_shape_set_fill_rule()</a> </dd></dl>
-
-</div>
-</div>
-<a id="ga6d19a68df8f57681a4815c7d2e3e03ba"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga6d19a68df8f57681a4815c7d2e3e03ba">◆ </a></span>tvg_shape_set_fill_rule()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_fill_rule </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a> </td>
- <td class="paramname"><em>rule</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the shape's fill rule. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">rule</td><td>The fill rule value. The default value is <code>TVG_FILL_RULE_WINDING</code>.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga02aa5aa9a017270ce0375b1b9db75d57"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga02aa5aa9a017270ce0375b1b9db75d57">◆ </a></span>tvg_shape_set_linear_gradient()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_linear_gradient </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the linear gradient fill for all of the figures from the path. </p>
-<p>The parts of the shape defined as inner are filled.</p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad = <a class="code" href="group__ThorVGCapi__Gradient.html#gab77d80df3c269fa531e7b81c8e8410d2">tvg_linear_gradient_new</a>();</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b">tvg_linear_gradient_set</a>(grad, 700, 700, 800, 800);</div><div class="line"><a class="code" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> color_stops[4] =</div><div class="line">{</div><div class="line"> {.<a class="code" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a>=0.0, .r=0, .g=0, .b=0, .a=255},</div><div class="line"> {.offset=0.25, .r=255, .g=0, .b=0, .a=255},</div><div class="line"> {.offset=0.5, .r=0, .g=255, .b=0, .a=255},</div><div class="line"> {.offset=1.0, .r=0, .g=0, .b=255, .a=255}</div><div class="line">};</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48">tvg_gradient_set_color_stops</a>(grad, color_stops, 4);</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#ga02aa5aa9a017270ce0375b1b9db75d57">tvg_shape_set_linear_gradient</a>(shape, grad);</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The linear gradient fill.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_MEMORY_CORRUPTION</td><td>An invalid Tvg_Gradient pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba" title="Sets the shape's fill rule. ">tvg_shape_set_fill_rule()</a> </dd></dl>
-
-</div>
-</div>
-<a id="gabd7b9020f1058aa9e9fae9b683265ef8"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gabd7b9020f1058aa9e9fae9b683265ef8">◆ </a></span>tvg_shape_set_radial_gradient()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_radial_gradient </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the radial gradient fill for all of the figures from the path. </p>
-<p>The parts of the shape defined as inner are filled.</p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad = <a class="code" href="group__ThorVGCapi__Gradient.html#ga7dc487e5d1557961cd2cc31a42daeb28">tvg_radial_gradient_new</a>();</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga321045b5fda8e8e002c4837bd03ccdac">tvg_radial_gradient_set</a>(grad, 550, 550, 50));</div><div class="line"><a class="code" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a> color_stops[4] =</div><div class="line">{</div><div class="line"> {.<a class="code" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a>=0.0, .r=0, .g=0, .b=0, .a=255},</div><div class="line"> {.offset=0.25, .r=255, .g=0, .b=0, .a=255},</div><div class="line"> {.offset=0.5, .r=0, .g=255, .b=0, .a=255},</div><div class="line"> {.offset=1.0, .r=0, .g=0, .b=255, .a=255}</div><div class="line">};</div><div class="line"><a class="code" href="group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48">tvg_gradient_set_color_stops</a>(grad, color_stops, 4);</div><div class="line"><a class="code" href="group__ThorVGCapi__Shape.html#gabd7b9020f1058aa9e9fae9b683265ef8">tvg_shape_set_radial_gradient</a>(shape, grad);</div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The radial gradient fill.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_MEMORY_CORRUPTION</td><td>An invalid Tvg_Gradient pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba" title="Sets the shape's fill rule. ">tvg_shape_set_fill_rule()</a> </dd></dl>
-
-</div>
-</div>
-<a id="gabb5f5cfe6ff8098efcde6f80c56ca200"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gabb5f5cfe6ff8098efcde6f80c56ca200">◆ </a></span>tvg_shape_set_stroke_cap()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_stroke_cap </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a> </td>
- <td class="paramname"><em>cap</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the cap style used for stroking the path. </p>
-<p>The cap style specifies the shape to be used at the end of the open stroked sub-paths.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cap</td><td>The cap style value. The default value is <code>TVG_STROKE_CAP_SQUARE</code>.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with a memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga9c1d8aaf73da6f4386cce28a245d3f27"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga9c1d8aaf73da6f4386cce28a245d3f27">◆ </a></span>tvg_shape_set_stroke_color()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_stroke_color </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>r</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>g</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>b</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint8_t </td>
- <td class="paramname"><em>a</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the shape's stroke color. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <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>
- <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>
- <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>
- <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>opacity value</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with a memory allocation.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-
-</div>
-</div>
-<a id="gaab74503fd357cfaf7727c25278b71531"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gaab74503fd357cfaf7727c25278b71531">◆ </a></span>tvg_shape_set_stroke_dash()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_stroke_dash </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const float * </td>
- <td class="paramname"><em>dashPattern</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>cnt</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the shape's stroke dash pattern. </p>
-<div class="fragment"><div class="line"><span class="comment">//dash pattern examples</span></div><div class="line"><span class="keywordtype">float</span> dashPattern[2] = {20, 10}; <span class="comment">// -- - -- - -- -</span></div><div class="line"><span class="keywordtype">float</span> dashPattern[2] = {40, 20}; <span class="comment">// ---- ---- ----</span></div><div class="line"><span class="keywordtype">float</span> dashPattern[4] = {10, 20, 30, 40} <span class="comment">// - --- - ---</span></div></div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <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>
- <tr><td class="paramdir">[in]</td><td class="paramname">cnt</td><td>The size of the <code>dashPattern</code> array.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid pointer passed as an argument, the given length of the array is less than two or any of the <code>dashPattern</code> values is zero or less. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with a memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="ga34cb2634d8e9b603f22d4112b346c32a"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga34cb2634d8e9b603f22d4112b346c32a">◆ </a></span>tvg_shape_set_stroke_join()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_stroke_join </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a> </td>
- <td class="paramname"><em>join</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the join style for stroked path segments. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">join</td><td>The join style value. The default value is <code>TVG_STROKE_JOIN_BEVEL</code> .</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with a memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-<a id="gae15955526c9e519ea204b77aa91de111"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gae15955526c9e519ea204b77aa91de111">◆ </a></span>tvg_shape_set_stroke_linear_gradient()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_stroke_linear_gradient </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the linear gradient fill of the stroke for all of the figures from the path. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The linear gradient fill.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with a memory allocation. </td></tr>
- <tr><td class="paramname">TVG_RESULT_MEMORY_CORRUPTION</td><td>An invalid Tvg_Gradient pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-
-</div>
-</div>
-<a id="ga0b1d28f178f276d379ca2c14fd7d869c"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga0b1d28f178f276d379ca2c14fd7d869c">◆ </a></span>tvg_shape_set_stroke_radial_gradient()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_stroke_radial_gradient </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a> * </td>
- <td class="paramname"><em>grad</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the radial gradient fill of the stroke for all of the figures from the path. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">grad</td><td>The radial gradient fill.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with a memory allocation. </td></tr>
- <tr><td class="paramname">TVG_RESULT_MEMORY_CORRUPTION</td><td>An invalid Tvg_Gradient pointer.</td></tr>
- </table>
- </dd>
-</dl>
-<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>
-
-</div>
-</div>
-<a id="gae3a63091a9c00c796ecadf3e6983c5fd"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gae3a63091a9c00c796ecadf3e6983c5fd">◆ </a></span>tvg_shape_set_stroke_width()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_shape_set_stroke_width </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a> * </td>
- <td class="paramname"><em>paint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"><em>width</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the stroke width for all of the figures from the <code>paint</code>. </p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">paint</td><td>A Tvg_Paint pointer to the shape object. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>The width of the stroke. The default value is 0.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENT</td><td>An invalid Tvg_Paint pointer. </td></tr>
- <tr><td class="paramname">TVG_RESULT_FAILED_ALLOCATION</td><td>An internal error with a memory allocation. </td></tr>
- </table>
- </dd>
-</dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="Shape" name="Shape">
-<area shape="rect" id="node1" href="$group__ThorVG__CAPI.html" title="ThorVG C language binding APIs. " alt="" coords="5,5,204,32"/>
-</map>
+++ /dev/null
-352d60bec8d4f4a3c56e241d9a71c534
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: SwCanvas</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#func-members">Functions</a> </div>
- <div class="headertitle">
-<div class="title">SwCanvas<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a> » <a class="el" href="group__ThorVGCapi__Canvas.html">Canvas</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A module for rendering the graphical elements using the software engine.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for SwCanvas:</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVGCapi__SwCanvas.png" border="0" alt="" usemap="#group____ThorVGCapi____SwCanvas"/>
-<map name="group____ThorVGCapi____SwCanvas" id="group____ThorVGCapi____SwCanvas">
-<area shape="rect" id="node1" href="group__ThorVGCapi__Canvas.html" title="A module for managing and drawing graphical elements. " alt="" coords="5,5,72,32"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
-Functions</h2></td></tr>
-<tr class="memitem:ga0ad0467c444c00b79e58f171dce52433"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433">tvg_swcanvas_create</a> ()</td></tr>
-<tr class="memdesc:ga0ad0467c444c00b79e58f171dce52433"><td class="mdescLeft"> </td><td class="mdescRight">Creates a Canvas object. <a href="#ga0ad0467c444c00b79e58f171dce52433">More...</a><br /></td></tr>
-<tr class="separator:ga0ad0467c444c00b79e58f171dce52433"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga5d9dc2e0cb1ec92219d734bb6b61c8a5"><td class="memItemLeft" align="right" valign="top">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">tvg_swcanvas_set_target</a> (<a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas, uint32_t *buffer, uint32_t stride, uint32_t w, uint32_t h, uint32_t cs)</td></tr>
-<tr class="memdesc:ga5d9dc2e0cb1ec92219d734bb6b61c8a5"><td class="mdescLeft"> </td><td class="mdescRight">Sets the buffer used in the rasterization process and defines the used colorspace. <a href="#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">More...</a><br /></td></tr>
-<tr class="separator:ga5d9dc2e0cb1ec92219d734bb6b61c8a5"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>A module for rendering the graphical elements using the software engine. </p>
-<h2 class="groupheader">Function Documentation</h2>
-<a id="ga0ad0467c444c00b79e58f171dce52433"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga0ad0467c444c00b79e58f171dce52433">◆ </a></span>tvg_swcanvas_create()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* tvg_swcanvas_create </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a Canvas object. </p>
-<div class="fragment"><div class="line"><a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> *canvas = NULL;</div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>, 4);</div><div class="line">canvas = <a class="code" href="group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433">tvg_swcanvas_create</a>();</div><div class="line"></div><div class="line"><span class="comment">//set up the canvas buffer</span></div><div class="line">uint32_t *buffer = NULL;</div><div class="line">buffer = (uint32_t*) malloc(<span class="keyword">sizeof</span>(uint32_t) * 100 * 100);</div><div class="line"><span class="keywordflow">if</span> (!buffer) <span class="keywordflow">return</span>;</div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">tvg_swcanvas_set_target</a>(canvas, buffer, 100, 100, 100, <a class="code" href="group__ThorVGCapi__Canvas.html#ga613ef63fe96cb341c95e7fee39bf660a">TVG_COLORSPACE_ARGB8888</a>);</div><div class="line"></div><div class="line"><span class="comment">//set up paints and add them into the canvas before drawing it</span></div><div class="line"></div><div class="line"><a class="code" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a>(canvas);</div><div class="line"><a class="code" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a>(<a class="code" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78">TVG_ENGINE_SW</a>);</div></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>A new Tvg_Canvas object. </dd></dl>
-
-</div>
-</div>
-<a id="ga5d9dc2e0cb1ec92219d734bb6b61c8a5"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">◆ </a></span>tvg_swcanvas_set_target()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">TVG_EXPORT <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> tvg_swcanvas_set_target </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a> * </td>
- <td class="paramname"><em>canvas</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t * </td>
- <td class="paramname"><em>buffer</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>stride</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>w</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>h</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">uint32_t </td>
- <td class="paramname"><em>cs</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Sets the buffer used in the rasterization process and defines the used colorspace. </p>
-<p>For optimisation reasons TVG does not allocate memory for the output buffer on its own. The buffer of a desirable size should be allocated and owned by the caller.</p>
-<dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">canvas</td><td>The Tvg_Canvas object managing the <code>buffer</code>. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">buffer</td><td>A pointer to the allocated memory block of the size <code>stride</code> x <code>h</code>. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">stride</td><td>The stride of the raster image - in most cases same value as <code>w</code>. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>The width of the raster image. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>The height of the raster image. </td></tr>
- <tr><td class="paramdir">[in]</td><td class="paramname">cs</td><td>The colorspace value defining the way the 32-bits colors should be read/written.<ul>
-<li>TVG_COLORSPACE_ABGR8888</li>
-<li>TVG_COLORSPACE_ARGB8888</li>
-</ul>
-</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section return"><dt>Returns</dt><dd>Tvg_Result enumeration. </dd></dl>
-<dl class="retval"><dt>Return values</dt><dd>
- <table class="retval">
- <tr><td class="paramname">TVG_RESULT_SUCCESS</td><td>Succeed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_MEMORY_CORRUPTION</td><td>Casting in the internal function implementation failed. </td></tr>
- <tr><td class="paramname">TVG_RESULT_INVALID_ARGUMENTS</td><td>An invalid buffer pointer passed or one of the <code>stride</code>, <code>w</code> or <code>h</code> being zero. </td></tr>
- <tr><td class="paramname">TVG_RESULT_NOT_SUPPORTED</td><td>The software engine is not supported.</td></tr>
- </table>
- </dd>
-</dl>
-<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__ThorVGCapi__Canvas.html#ga613ef63fe96cb341c95e7fee39bf660a" title="The 8-bit color channels are combined into 32-bit color in the order: alpha, red, green...">TVG_COLORSPACE_ARGB8888</a>, <a class="el" href="group__ThorVGCapi__Canvas.html#gaf725660036dd84e472025fb391bdc206" title="The 8-bit color channels are combined into 32-bit color in the order: alpha, blue, green, red. ">TVG_COLORSPACE_ABGR8888</a> </dd></dl>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="SwCanvas" name="SwCanvas">
-<area shape="rect" id="node1" href="$group__ThorVGCapi__Canvas.html" title="A module for managing and drawing graphical elements. " alt="" coords="5,5,72,32"/>
-</map>
+++ /dev/null
-0ef92ef317350ad9fedd5684efc50df8
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: ThorVG_CAPI (BETA version)</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-</div><!-- top -->
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div class="header">
- <div class="summary">
-<a href="#groups">Modules</a> |
-<a href="#nested-classes">Classes</a> |
-<a href="#typedef-members">Typedefs</a> |
-<a href="#enum-members">Enumerations</a> </div>
- <div class="headertitle">
-<div class="title">ThorVG_CAPI (BETA version)</div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>ThorVG C language binding APIs.
-<a href="#details">More...</a></p>
-<div class="dynheader">
-Collaboration diagram for ThorVG_CAPI (BETA version):</div>
-<div class="dyncontent">
-<center><table><tr><td><img src="group__ThorVG__CAPI.png" border="0" alt="" usemap="#group____ThorVG____CAPI"/>
-<map name="group____ThorVG____CAPI" id="group____ThorVG____CAPI">
-<area shape="rect" id="node2" href="group__ThorVGCapi__Paint.html" title="A module for managing graphical elements. It enables duplication, transformation and composition..." alt="" coords="263,5,315,32"/>
-<area shape="rect" id="node3" href="group__ThorVGCapi__Shape.html" title="A module for managing two-dimensional figures and their properties. " alt="" coords="260,56,319,83"/>
-<area shape="rect" id="node4" href="group__ThorVGCapi__Scene.html" title="A module managing the multiple paints as one group paint. " alt="" coords="260,107,319,133"/>
-<area shape="rect" id="node5" href="group__ThorVGCapi__Initializer.html" title="A module enabling initialization and termination of the TVG engines. " alt="" coords="252,157,327,184"/>
-<area shape="rect" id="node6" href="group__ThorVGCapi__Canvas.html" title="A module for managing and drawing graphical elements. " alt="" coords="256,208,323,235"/>
-<area shape="rect" id="node7" href="group__ThorVGCapi__Picture.html" title="A module enabling to create and to load an image in one of the supported formats: svg..." alt="" coords="258,259,321,285"/>
-<area shape="rect" id="node8" href="group__ThorVGCapi__Gradient.html" title="A module managing the gradient fill of objects. " alt="" coords="254,309,325,336"/>
-</map>
-</td></tr></table></center>
-</div>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
-Modules</h2></td></tr>
-<tr class="memitem:group__ThorVGCapi__Initializer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Initializer.html">Initializer</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__Initializer"><td class="mdescLeft"> </td><td class="mdescRight">A module enabling initialization and termination of the TVG engines. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:group__ThorVGCapi__Canvas"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Canvas.html">Canvas</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__Canvas"><td class="mdescLeft"> </td><td class="mdescRight">A module for managing and drawing graphical elements. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:group__ThorVGCapi__Paint"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Paint.html">Paint</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__Paint"><td class="mdescLeft"> </td><td class="mdescRight">A module for managing graphical elements. It enables duplication, transformation and composition. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:group__ThorVGCapi__Shape"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Shape.html">Shape</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__Shape"><td class="mdescLeft"> </td><td class="mdescRight">A module for managing two-dimensional figures and their properties. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:group__ThorVGCapi__Gradient"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Gradient.html">Gradient</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__Gradient"><td class="mdescLeft"> </td><td class="mdescRight">A module managing the gradient fill of objects. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:group__ThorVGCapi__Picture"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Picture.html">Picture</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__Picture"><td class="mdescLeft"> </td><td class="mdescRight">A module enabling to create and to load an image in one of the supported formats: svg, png and raw. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:group__ThorVGCapi__Scene"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVGCapi__Scene.html">Scene</a></td></tr>
-<tr class="memdesc:group__ThorVGCapi__Scene"><td class="mdescLeft"> </td><td class="mdescRight">A module managing the multiple paints as one group paint. <br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
-Classes</h2></td></tr>
-<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Point.html">Tvg_Point</a></td></tr>
-<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A data structure representing a point in two-dimensional space. <a href="structTvg__Point.html#details">More...</a><br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Matrix.html">Tvg_Matrix</a></td></tr>
-<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A data structure representing a three-dimensional matrix. <a href="structTvg__Matrix.html#details">More...</a><br /></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
-Typedefs</h2></td></tr>
-<tr class="memitem:ga5f10c1f3dabdc9287166611c7fe5fd8a"><td class="memItemLeft" align="right" valign="top">typedef struct _Tvg_Canvas </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a></td></tr>
-<tr class="memdesc:ga5f10c1f3dabdc9287166611c7fe5fd8a"><td class="mdescLeft"> </td><td class="mdescRight">A structure responsible for managing and drawing graphical elements. <a href="#ga5f10c1f3dabdc9287166611c7fe5fd8a">More...</a><br /></td></tr>
-<tr class="separator:ga5f10c1f3dabdc9287166611c7fe5fd8a"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:ga98af7c3fe18afa8ad65ea6a6e097a292"><td class="memItemLeft" align="right" valign="top">typedef struct _Tvg_Paint </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a></td></tr>
-<tr class="memdesc:ga98af7c3fe18afa8ad65ea6a6e097a292"><td class="mdescLeft"> </td><td class="mdescRight">A structure representing a graphical element. <a href="#ga98af7c3fe18afa8ad65ea6a6e097a292">More...</a><br /></td></tr>
-<tr class="separator:ga98af7c3fe18afa8ad65ea6a6e097a292"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:gafc8e0d01812127260d0753eceb056181"><td class="memItemLeft" align="right" valign="top"><a id="gafc8e0d01812127260d0753eceb056181"></a>
-typedef struct _Tvg_Gradient </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a></td></tr>
-<tr class="memdesc:gafc8e0d01812127260d0753eceb056181"><td class="mdescLeft"> </td><td class="mdescRight">A structure representing a gradient fill of a Tvg_Paint object. <br /></td></tr>
-<tr class="separator:gafc8e0d01812127260d0753eceb056181"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
-Enumerations</h2></td></tr>
-<tr class="memitem:gad980f552658dcbbe42a0168f35c27781"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a> { <br />
-  <a class="el" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47">TVG_RESULT_SUCCESS</a> = 0,
-<a class="el" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e">TVG_RESULT_INVALID_ARGUMENT</a>,
-<a class="el" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3">TVG_RESULT_INSUFFICIENT_CONDITION</a>,
-<a class="el" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59">TVG_RESULT_FAILED_ALLOCATION</a>,
-<br />
-  <a class="el" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b">TVG_RESULT_MEMORY_CORRUPTION</a>,
-<a class="el" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24">TVG_RESULT_NOT_SUPPORTED</a>,
-<a class="el" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109">TVG_RESULT_UNKNOWN</a>
-<br />
- }<tr class="memdesc:gad980f552658dcbbe42a0168f35c27781"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration specifying the result from the APIs. <a href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">More...</a><br /></td></tr>
-</td></tr>
-<tr class="separator:gad980f552658dcbbe42a0168f35c27781"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<p>ThorVG C language binding APIs. </p>
-<h2 class="groupheader">Typedef Documentation</h2>
-<a id="ga5f10c1f3dabdc9287166611c7fe5fd8a"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga5f10c1f3dabdc9287166611c7fe5fd8a">◆ </a></span>Tvg_Canvas</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">typedef struct _Tvg_Canvas <a class="el" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>A structure responsible for managing and drawing graphical elements. </p>
-<p>It sets up the target buffer, which can be drawn on the screen. It stores the Tvg_Paint objects (Shape, Scene, Picture). </p>
-
-</div>
-</div>
-<a id="ga98af7c3fe18afa8ad65ea6a6e097a292"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ga98af7c3fe18afa8ad65ea6a6e097a292">◆ </a></span>Tvg_Paint</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">typedef struct _Tvg_Paint <a class="el" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>A structure representing a graphical element. </p>
-<dl class="section warning"><dt>Warning</dt><dd>The TvgPaint objects can not be shared between Canvases. </dd></dl>
-
-</div>
-</div>
-<h2 class="groupheader">Enumeration Type Documentation</h2>
-<a id="gad980f552658dcbbe42a0168f35c27781"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#gad980f552658dcbbe42a0168f35c27781">◆ </a></span>Tvg_Result</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Enumeration specifying the result from the APIs. </p>
-<table class="fieldtable">
-<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47"></a>TVG_RESULT_SUCCESS </td><td class="fielddoc"><p>The value returned in case of a correct request execution. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e"></a>TVG_RESULT_INVALID_ARGUMENT </td><td class="fielddoc"><p>The value returned in the event of a problem with the arguments given to the API - e.g. empty paths or null pointers. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3"></a>TVG_RESULT_INSUFFICIENT_CONDITION </td><td class="fielddoc"><p>The value returned in case the request cannot be processed - e.g. asking for properties of an object, which does not exist. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59"></a>TVG_RESULT_FAILED_ALLOCATION </td><td class="fielddoc"><p>The value returned in case of unsuccessful memory allocation. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b"></a>TVG_RESULT_MEMORY_CORRUPTION </td><td class="fielddoc"><p>The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24"></a>TVG_RESULT_NOT_SUPPORTED </td><td class="fielddoc"><p>The value returned in case of choosing unsupported options. </p>
-</td></tr>
-<tr><td class="fieldname"><a id="ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109"></a>TVG_RESULT_UNKNOWN </td><td class="fielddoc"><p>The value returned in all other cases. </p>
-</td></tr>
-</table>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<map id="ThorVG_CAPI (BETA version)" name="ThorVG_CAPI (BETA version)">
-<area shape="rect" id="node2" href="$group__ThorVGCapi__Paint.html" title="A module for managing graphical elements. It enables duplication, transformation and composition..." alt="" coords="263,5,315,32"/>
-<area shape="rect" id="node3" href="$group__ThorVGCapi__Shape.html" title="A module for managing two-dimensional figures and their properties. " alt="" coords="260,56,319,83"/>
-<area shape="rect" id="node4" href="$group__ThorVGCapi__Scene.html" title="A module managing the multiple paints as one group paint. " alt="" coords="260,107,319,133"/>
-<area shape="rect" id="node5" href="$group__ThorVGCapi__Initializer.html" title="A module enabling initialization and termination of the TVG engines. " alt="" coords="252,157,327,184"/>
-<area shape="rect" id="node6" href="$group__ThorVGCapi__Canvas.html" title="A module for managing and drawing graphical elements. " alt="" coords="256,208,323,235"/>
-<area shape="rect" id="node7" href="$group__ThorVGCapi__Picture.html" title="A module enabling to create and to load an image in one of the supported formats: svg..." alt="" coords="258,259,321,285"/>
-<area shape="rect" id="node8" href="$group__ThorVGCapi__Gradient.html" title="A module managing the gradient fill of objects. " alt="" coords="254,309,325,336"/>
-</map>
+++ /dev/null
-874dfdf6b2853a678693fdd581174773
\ No newline at end of file
<tr id="row_5_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Scene.html" target="_self">Scene</a></td><td class="desc">A class to composite children paints </td></tr>
<tr id="row_5_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Shape.html" target="_self">Shape</a></td><td class="desc">A class representing two-dimensional figures and their properties </td></tr>
<tr id="row_6_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Point.html" target="_self">Point</a></td><td class="desc">A data structure representing a point in two-dimensional space </td></tr>
-<tr id="row_7_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structTvg__Color__Stop.html" target="_self">Tvg_Color_Stop</a></td><td class="desc">A data structure storing the information about the color and its relative position inside the gradient bounds </td></tr>
-<tr id="row_8_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structTvg__Matrix.html" target="_self">Tvg_Matrix</a></td><td class="desc">A data structure representing a three-dimensional matrix </td></tr>
-<tr id="row_9_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structTvg__Point.html" target="_self">Tvg_Point</a></td><td class="desc">A data structure representing a point in two-dimensional space </td></tr>
+<tr id="row_7_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Saver.html" target="_self">Saver</a></td><td class="desc">A class for exporting a paint object into a specified file, from which to recover the paint data later </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
-<area shape="rect" id="node1" href="$structTvg__Color__Stop.html" title="A data structure storing the information about the color and its relative position inside the gradien..." alt="" coords="5,5,121,32"/>
+<area shape="rect" id="node1" href="$classtvg_1_1Saver.html" title="A class for exporting a paint object into a specified file, from which to recover the paint data late..." alt="" coords="5,5,61,32"/>
</map>
-e8bd223f4e985a1fd79df5dc409a8ed5
\ No newline at end of file
+7e2bd0e494bbaff76fcc969e559e233f
\ No newline at end of file
+++ /dev/null
-<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
-<area shape="rect" id="node1" href="$structTvg__Matrix.html" title="A data structure representing a three-dimensional matrix. " alt="" coords="5,5,92,32"/>
-</map>
+++ /dev/null
-ad9a1ae6e7fa5ae0df9972c4e64bf2bc
\ No newline at end of file
+++ /dev/null
-<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
-<area shape="rect" id="node1" href="$structTvg__Point.html" title="A data structure representing a point in two-dimensional space. " alt="" coords="5,5,87,32"/>
-</map>
+++ /dev/null
-e918e69a953d93542e5627ed409e0c96
\ No newline at end of file
<area shape="rect" id="node1" href="structtvg_1_1Point.html" title="A data structure representing a point in two-dimensional space. " alt="" coords="5,5,57,32"/>
</map>
</td></tr>
-<tr><td><img src="inherit_graph_7.png" border="0" alt="" usemap="#Tvg__Color__Stop"/>
-<map name="Tvg__Color__Stop" id="Tvg__Color__Stop">
-<area shape="rect" id="node1" href="structTvg__Color__Stop.html" title="A data structure storing the information about the color and its relative position inside the gradien..." alt="" coords="5,5,121,32"/>
-</map>
-</td></tr>
-<tr><td><img src="inherit_graph_8.png" border="0" alt="" usemap="#Tvg__Matrix"/>
-<map name="Tvg__Matrix" id="Tvg__Matrix">
-<area shape="rect" id="node1" href="structTvg__Matrix.html" title="A data structure representing a three-dimensional matrix. " alt="" coords="5,5,92,32"/>
-</map>
-</td></tr>
-<tr><td><img src="inherit_graph_9.png" border="0" alt="" usemap="#Tvg__Point"/>
-<map name="Tvg__Point" id="Tvg__Point">
-<area shape="rect" id="node1" href="structTvg__Point.html" title="A data structure representing a point in two-dimensional space. " alt="" coords="5,5,87,32"/>
+<tr><td><img src="inherit_graph_7.png" border="0" alt="" usemap="#Saver"/>
+<map name="Saver" id="Saver">
+<area shape="rect" id="node1" href="classtvg_1_1Saver.html" title="A class for exporting a paint object into a specified file, from which to recover the paint data late..." alt="" coords="5,5,61,32"/>
</map>
</td></tr>
</table>
</div><!--header-->
<div class="contents">
<div class="textblock">Here is a list of all modules:</div><div class="directory">
-<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span>]</div><table class="directory">
+<table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="group__ThorVG.html" target="_self">ThorVG</a></td><td class="desc">ThorVG classes and enumerations providing C++ APIs </td></tr>
-<tr id="row_1_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">▼</span><a class="el" href="group__ThorVG__CAPI.html" target="_self">ThorVG_CAPI (BETA version)</a></td><td class="desc">ThorVG C language binding APIs </td></tr>
-<tr id="row_1_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a class="el" href="group__ThorVGCapi__Initializer.html" target="_self">Initializer</a></td><td class="desc">A module enabling initialization and termination of the TVG engines </td></tr>
-<tr id="row_1_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_1_1_" class="arrow" onclick="toggleFolder('1_1_')">▼</span><a class="el" href="group__ThorVGCapi__Canvas.html" target="_self">Canvas</a></td><td class="desc">A module for managing and drawing graphical elements </td></tr>
-<tr id="row_1_1_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a class="el" href="group__ThorVGCapi__SwCanvas.html" target="_self">SwCanvas</a></td><td class="desc">A module for rendering the graphical elements using the software engine </td></tr>
-<tr id="row_1_2_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a class="el" href="group__ThorVGCapi__Paint.html" target="_self">Paint</a></td><td class="desc">A module for managing graphical elements. It enables duplication, transformation and composition </td></tr>
-<tr id="row_1_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a class="el" href="group__ThorVGCapi__Shape.html" target="_self">Shape</a></td><td class="desc">A module for managing two-dimensional figures and their properties </td></tr>
-<tr id="row_1_4_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a class="el" href="group__ThorVGCapi__Gradient.html" target="_self">Gradient</a></td><td class="desc">A module managing the gradient fill of objects </td></tr>
-<tr id="row_1_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a class="el" href="group__ThorVGCapi__Picture.html" target="_self">Picture</a></td><td class="desc">A module enabling to create and to load an image in one of the supported formats: svg, png and raw </td></tr>
-<tr id="row_1_6_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a class="el" href="group__ThorVGCapi__Scene.html" target="_self">Scene</a></td><td class="desc">A module managing the multiple paints as one group paint </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
var searchData=
[
- ['a',['a',['../structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0',1,'tvg::Fill::ColorStop::a()'],['../structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0',1,'Tvg_Color_Stop::a()']]],
+ ['a',['a',['../structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0',1,'tvg::Fill::ColorStop']]],
['abgr8888',['ABGR8888',['../classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65adb1b146d65c52857a5a4af54e5006101',1,'tvg::SwCanvas']]],
['alphamask',['AlphaMask',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87abd68e2bb79d1a5e65ad8f0d202d14cbc',1,'tvg']]],
['appendarc',['appendArc',['../classtvg_1_1Shape.html#a2f003a843ff42f6cee6a726f543836e3',1,'tvg::Shape']]],
var searchData=
[
- ['b',['b',['../structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b',1,'tvg::Fill::ColorStop::b()'],['../structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b',1,'Tvg_Color_Stop::b()']]],
+ ['b',['b',['../structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b',1,'tvg::Fill::ColorStop']]],
['bevel',['Bevel',['../group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51a1b9ae4ca6d43fc984af318046e1e7bb5',1,'tvg']]],
['bounds',['bounds',['../classtvg_1_1Paint.html#a6d4e91eeca737b135064caadab4b4dff',1,'tvg::Paint']]],
['butt',['Butt',['../group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab2635ed1075287dea1eb1598a90df1fe',1,'tvg']]]
[
['canvas',['Canvas',['../classtvg_1_1Canvas.html',1,'tvg']]],
['canvasengine',['CanvasEngine',['../group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df',1,'tvg']]],
- ['clear',['clear',['../classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd',1,'tvg::Canvas::clear()'],['../classtvg_1_1Scene.html#ab1b298a0aae3e173a984c0bceb2456fe',1,'tvg::Scene::clear()']]],
+ ['clear',['clear',['../classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd',1,'tvg::Canvas::clear()'],['../classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed',1,'tvg::Scene::clear()']]],
['clippath',['ClipPath',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a60575a18ece363c72551a982450efd52',1,'tvg']]],
['close',['close',['../classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697',1,'tvg::Shape::close()'],['../group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad3d2e617335f08df83599665eef8a418',1,'tvg::Close()']]],
['colorspace',['Colorspace',['../classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65',1,'tvg::SwCanvas']]],
['colorstop',['ColorStop',['../structtvg_1_1Fill_1_1ColorStop.html',1,'tvg::Fill']]],
['colorstops',['colorStops',['../classtvg_1_1Fill.html#a92717fc84a7d5df56e42e3bc863fce1a',1,'tvg::Fill::colorStops(const ColorStop *colorStops, uint32_t cnt) noexcept'],['../classtvg_1_1Fill.html#addbc9de36b4427639f3cc1dceeccb734',1,'tvg::Fill::colorStops(const ColorStop **colorStops) const noexcept']]],
- ['composite',['composite',['../classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093',1,'tvg::Paint']]],
+ ['composite',['composite',['../classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b',1,'tvg::Paint::composite(std::unique_ptr< Paint > target, CompositeMethod method) noexcept'],['../classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee',1,'tvg::Paint::composite(const Paint **target) const noexcept']]],
['compositemethod',['CompositeMethod',['../group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87',1,'tvg']]],
- ['cubicto',['cubicTo',['../classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29',1,'tvg::Shape::cubicTo()'],['../group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ac8cd9cd16086764627079ed21bfc4e29',1,'tvg::CubicTo()']]],
- ['canvas',['Canvas',['../group__ThorVGCapi__Canvas.html',1,'']]]
+ ['cubicto',['cubicTo',['../classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29',1,'tvg::Shape::cubicTo()'],['../group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ac8cd9cd16086764627079ed21bfc4e29',1,'tvg::CubicTo()']]]
];
var searchData=
[
- ['data',['data',['../classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb',1,'tvg::Picture']]],
+ ['data',['data',['../classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb',1,'tvg::Picture']]],
['default',['Default',['../classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba79935518a3889663d8688b6b01fff051',1,'tvg::SwCanvas']]],
['draw',['draw',['../classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0',1,'tvg::Canvas']]],
['duplicate',['duplicate',['../classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635',1,'tvg::Paint::duplicate()'],['../classtvg_1_1Fill.html#a48e358abab4478ff7f84dfb85608eaf3',1,'tvg::Fill::duplicate()']]]
var searchData=
[
- ['g',['g',['../structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60',1,'tvg::Fill::ColorStop::g()'],['../structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60',1,'Tvg_Color_Stop::g()']]],
- ['gen',['gen',['../classtvg_1_1LinearGradient.html#a346e161f12d8e8ad26b6eaaf5d0f5c5c',1,'tvg::LinearGradient::gen()'],['../classtvg_1_1RadialGradient.html#aba51891c8702157ba088bf7e2f1425eb',1,'tvg::RadialGradient::gen()'],['../classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9',1,'tvg::Shape::gen()'],['../classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811',1,'tvg::Picture::gen()'],['../classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149',1,'tvg::Scene::gen()'],['../classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96',1,'tvg::SwCanvas::gen()'],['../classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90',1,'tvg::GlCanvas::gen()']]],
+ ['g',['g',['../structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60',1,'tvg::Fill::ColorStop']]],
+ ['gen',['gen',['../classtvg_1_1LinearGradient.html#a346e161f12d8e8ad26b6eaaf5d0f5c5c',1,'tvg::LinearGradient::gen()'],['../classtvg_1_1RadialGradient.html#aba51891c8702157ba088bf7e2f1425eb',1,'tvg::RadialGradient::gen()'],['../classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9',1,'tvg::Shape::gen()'],['../classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811',1,'tvg::Picture::gen()'],['../classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149',1,'tvg::Scene::gen()'],['../classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96',1,'tvg::SwCanvas::gen()'],['../classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90',1,'tvg::GlCanvas::gen()'],['../classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683',1,'tvg::Saver::gen()']]],
['gl',['Gl',['../group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa0f16de4274952a7184e059c5f2d048d6',1,'tvg']]],
- ['glcanvas',['GlCanvas',['../classtvg_1_1GlCanvas.html',1,'tvg']]],
- ['gradient',['Gradient',['../group__ThorVGCapi__Gradient.html',1,'']]]
+ ['glcanvas',['GlCanvas',['../classtvg_1_1GlCanvas.html',1,'tvg']]]
];
['initializer',['Initializer',['../classtvg_1_1Initializer.html',1,'tvg']]],
['insufficientcondition',['InsufficientCondition',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a119732ff568bf103d744e930ae2404f1',1,'tvg']]],
['invalidarguments',['InvalidArguments',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae73a2e92f1c87086c838b442552a4775',1,'tvg']]],
- ['invalphamask',['InvAlphaMask',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a59cc48dcf714e3a3c2492f4dce1fe134',1,'tvg']]],
- ['initializer',['Initializer',['../group__ThorVGCapi__Initializer.html',1,'']]]
+ ['invalphamask',['InvAlphaMask',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a59cc48dcf714e3a3c2492f4dce1fe134',1,'tvg']]]
];
['linear',['linear',['../classtvg_1_1LinearGradient.html#aa881eb89e14ade6a30bc41d7eb8eaf52',1,'tvg::LinearGradient::linear(float x1, float y1, float x2, float y2) noexcept'],['../classtvg_1_1LinearGradient.html#a5c77e9f6e855a595945f45a6b19ee983',1,'tvg::LinearGradient::linear(float *x1, float *y1, float *x2, float *y2) const noexcept']]],
['lineargradient',['LinearGradient',['../classtvg_1_1LinearGradient.html',1,'tvg']]],
['lineto',['lineTo',['../classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd',1,'tvg::Shape::lineTo()'],['../group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1a5dc59cf06f56c730c0a4bfe69c9bf689',1,'tvg::LineTo()']]],
- ['load',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#ad33102ac9c2c60e52e4a61300312ea80',1,'tvg::Picture::load(const char *data, uint32_t size) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept']]]
+ ['load',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce',1,'tvg::Picture::load(const char *data, uint32_t size, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767',1,'tvg::Picture::load(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept']]]
];
var searchData=
[
- ['offset',['offset',['../structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'tvg::Fill::ColorStop::offset()'],['../structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'Tvg_Color_Stop::offset()']]],
+ ['offset',['offset',['../structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'tvg::Fill::ColorStop']]],
['opacity',['opacity',['../classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf',1,'tvg::Paint::opacity(uint8_t o) noexcept'],['../classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e',1,'tvg::Paint::opacity() const noexcept']]]
];
var searchData=
[
['pad',['Pad',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daade43468adaf6acb2c38ebc0c1176f82f',1,'tvg']]],
- ['paint',['Paint',['../classtvg_1_1Paint.html',1,'tvg']]],
+ ['paint',['Paint',['../classtvg_1_1Paint.html',1,'Paint'],['../classtvg_1_1Picture.html#a4e3879d926e8a37c83dd7d0d3895889b',1,'tvg::Picture::paint()']]],
['pathcommand',['PathCommand',['../group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1',1,'tvg']]],
['pathcommands',['pathCommands',['../classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7',1,'tvg::Shape']]],
['pathcoords',['pathCoords',['../classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923',1,'tvg::Shape']]],
['picture',['Picture',['../classtvg_1_1Picture.html',1,'tvg']]],
['point',['Point',['../structtvg_1_1Point.html',1,'tvg']]],
- ['push',['push',['../classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e',1,'tvg::Canvas::push()'],['../classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103',1,'tvg::Scene::push()']]],
- ['paint',['Paint',['../group__ThorVGCapi__Paint.html',1,'']]],
- ['picture',['Picture',['../group__ThorVGCapi__Picture.html',1,'']]]
+ ['push',['push',['../classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e',1,'tvg::Canvas::push()'],['../classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103',1,'tvg::Scene::push()']]]
];
var searchData=
[
- ['r',['r',['../structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'tvg::Fill::ColorStop::r()'],['../structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'Tvg_Color_Stop::r()']]],
+ ['r',['r',['../structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'tvg::Fill::ColorStop']]],
['radial',['radial',['../classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030',1,'tvg::RadialGradient::radial(float cx, float cy, float radius) noexcept'],['../classtvg_1_1RadialGradient.html#a706e9ec51bf12483b1d59f99c6fe045e',1,'tvg::RadialGradient::radial(float *cx, float *cy, float *radius) const noexcept']]],
['radialgradient',['RadialGradient',['../classtvg_1_1RadialGradient.html',1,'tvg']]],
['reflect',['Reflect',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa74de3e45e4491e956e8dc18d841d9b00',1,'tvg']]],
var searchData=
[
+ ['save',['save',['../classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf',1,'tvg::Saver']]],
+ ['saver',['Saver',['../classtvg_1_1Saver.html',1,'tvg']]],
['scale',['scale',['../classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2',1,'tvg::Paint']]],
['scene',['Scene',['../classtvg_1_1Scene.html',1,'tvg']]],
['shape',['Shape',['../classtvg_1_1Shape.html',1,'tvg']]],
['success',['Success',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38',1,'tvg']]],
['sw',['Sw',['../group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa1f030517f6d25e8607a2a9a7f6227ebc',1,'tvg']]],
['swcanvas',['SwCanvas',['../classtvg_1_1SwCanvas.html',1,'tvg']]],
- ['sync',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas']]],
- ['scene',['Scene',['../group__ThorVGCapi__Scene.html',1,'']]],
- ['shape',['Shape',['../group__ThorVGCapi__Shape.html',1,'']]],
- ['swcanvas',['SwCanvas',['../group__ThorVGCapi__SwCanvas.html',1,'']]]
+ ['sync',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas::sync()'],['../classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778',1,'tvg::Saver::sync()']]]
];
['target',['target',['../classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc',1,'tvg::SwCanvas::target()'],['../classtvg_1_1GlCanvas.html#aad369f9a4a762338d0ef4a16265a0f29',1,'tvg::GlCanvas::target()']]],
['term',['term',['../classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df',1,'tvg::Initializer']]],
['thorvg',['ThorVG',['../group__ThorVG.html',1,'']]],
- ['thorvg_5fcapi_20_28beta_20version_29',['ThorVG_CAPI (BETA version)',['../group__ThorVG__CAPI.html',1,'']]],
- ['transform',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint']]],
- ['translate',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]],
- ['tvg_5fcanvas',['Tvg_Canvas',['../group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fclear',['tvg_canvas_clear',['../group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fdestroy',['tvg_canvas_destroy',['../group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fdraw',['tvg_canvas_draw',['../group__ThorVGCapi__Canvas.html#ga0be96c28afddf9cf252d68a431438632',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fpush',['tvg_canvas_push',['../group__ThorVGCapi__Canvas.html#ga0e4daf723d6080d526ce0aa4111a1439',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5freserve',['tvg_canvas_reserve',['../group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fsync',['tvg_canvas_sync',['../group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fupdate',['tvg_canvas_update',['../group__ThorVGCapi__Canvas.html#ga7c43ae4fb1a06afbe3616b4552740edf',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fupdate_5fpaint',['tvg_canvas_update_paint',['../group__ThorVGCapi__Canvas.html#ga50761cba3cc3143a90f72124a597216f',1,'thorvg_capi.h']]],
- ['tvg_5fcolor_5fstop',['Tvg_Color_Stop',['../structTvg__Color__Stop.html',1,'']]],
- ['tvg_5fcolorspace_5fabgr8888',['TVG_COLORSPACE_ABGR8888',['../group__ThorVGCapi__Canvas.html#gaf725660036dd84e472025fb391bdc206',1,'thorvg_capi.h']]],
- ['tvg_5fcolorspace_5fargb8888',['TVG_COLORSPACE_ARGB8888',['../group__ThorVGCapi__Canvas.html#ga613ef63fe96cb341c95e7fee39bf660a',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod',['Tvg_Composite_Method',['../group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod_5falpha_5fmask',['TVG_COMPOSITE_METHOD_ALPHA_MASK',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod_5fclip_5fpath',['TVG_COMPOSITE_METHOD_CLIP_PATH',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod_5finverse_5falpha_5fmask',['TVG_COMPOSITE_METHOD_INVERSE_ALPHA_MASK',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod_5fnone',['TVG_COMPOSITE_METHOD_NONE',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375',1,'thorvg_capi.h']]],
- ['tvg_5fengine_5fgl',['TVG_ENGINE_GL',['../group__ThorVGCapi__Initializer.html#ga47a4b3bac424698c6c3a21bc4e5aaca3',1,'thorvg_capi.h']]],
- ['tvg_5fengine_5finit',['tvg_engine_init',['../group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9',1,'thorvg_capi.h']]],
- ['tvg_5fengine_5fsw',['TVG_ENGINE_SW',['../group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78',1,'thorvg_capi.h']]],
- ['tvg_5fengine_5fterm',['tvg_engine_term',['../group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92',1,'thorvg_capi.h']]],
- ['tvg_5ffill_5frule',['Tvg_Fill_Rule',['../group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695',1,'thorvg_capi.h']]],
- ['tvg_5ffill_5frule_5feven_5fodd',['TVG_FILL_RULE_EVEN_ODD',['../group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88',1,'thorvg_capi.h']]],
- ['tvg_5ffill_5frule_5fwinding',['TVG_FILL_RULE_WINDING',['../group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190',1,'thorvg_capi.h']]],
- ['tvg_5fgradient',['Tvg_Gradient',['../group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fdel',['tvg_gradient_del',['../group__ThorVGCapi__Gradient.html#gad267b161f306064cc3c0082ec7906a95',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fget_5fcolor_5fstops',['tvg_gradient_get_color_stops',['../group__ThorVGCapi__Gradient.html#ga65df721ba27a51ef09c64f91fe78f3ac',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fget_5fspread',['tvg_gradient_get_spread',['../group__ThorVGCapi__Gradient.html#gaa6be4ea40b68b3939d916b242a13374b',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fset_5fcolor_5fstops',['tvg_gradient_set_color_stops',['../group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fset_5fspread',['tvg_gradient_set_spread',['../group__ThorVGCapi__Gradient.html#gad800cb39d78429089adba8f0952ba433',1,'thorvg_capi.h']]],
- ['tvg_5flinear_5fgradient_5fget',['tvg_linear_gradient_get',['../group__ThorVGCapi__Gradient.html#gaa503fc8455eb63acda4b3ff0737f4d4e',1,'thorvg_capi.h']]],
- ['tvg_5flinear_5fgradient_5fnew',['tvg_linear_gradient_new',['../group__ThorVGCapi__Gradient.html#gab77d80df3c269fa531e7b81c8e8410d2',1,'thorvg_capi.h']]],
- ['tvg_5flinear_5fgradient_5fset',['tvg_linear_gradient_set',['../group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b',1,'thorvg_capi.h']]],
- ['tvg_5fmatrix',['Tvg_Matrix',['../structTvg__Matrix.html',1,'']]],
- ['tvg_5fpaint',['Tvg_Paint',['../group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fdel',['tvg_paint_del',['../group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fduplicate',['tvg_paint_duplicate',['../group__ThorVGCapi__Paint.html#gae7852760d3f05e2d7ce0c899535d223b',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fget_5fbounds',['tvg_paint_get_bounds',['../group__ThorVGCapi__Paint.html#gaae4eee0f8e66407fc933f1552f913d6b',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fget_5fopacity',['tvg_paint_get_opacity',['../group__ThorVGCapi__Paint.html#ga17ee85c79749f4ee89766e3ad9a5a975',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5frotate',['tvg_paint_rotate',['../group__ThorVGCapi__Paint.html#ga60ab7fce408fc3065d77895855fcf532',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fscale',['tvg_paint_scale',['../group__ThorVGCapi__Paint.html#gad91401c9574f634f0f744d8e5903203b',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fset_5fcomposite_5fmethod',['tvg_paint_set_composite_method',['../group__ThorVGCapi__Paint.html#ga5af1043991b0de19c888855feeab2e5d',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fset_5fopacity',['tvg_paint_set_opacity',['../group__ThorVGCapi__Paint.html#ga9b621889be1a6aac905a6564d71a800f',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5ftransform',['tvg_paint_transform',['../group__ThorVGCapi__Paint.html#ga20305aeb11a622e2651ac514296ef008',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5ftranslate',['tvg_paint_translate',['../group__ThorVGCapi__Paint.html#gaf7c5c66bd41da9262996ee9a9def42ff',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand',['Tvg_Path_Command',['../group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fclose',['TVG_PATH_COMMAND_CLOSE',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fcubic_5fto',['TVG_PATH_COMMAND_CUBIC_TO',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fline_5fto',['TVG_PATH_COMMAND_LINE_TO',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fmove_5fto',['TVG_PATH_COMMAND_MOVE_TO',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fget_5fviewbox',['tvg_picture_get_viewbox',['../group__ThorVGCapi__Picture.html#ga4a3950f95a05cbc29e869d7d5071aeb9',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fload',['tvg_picture_load',['../group__ThorVGCapi__Picture.html#gaa101b96db706db4edd10a65da628a1ef',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fload_5fraw',['tvg_picture_load_raw',['../group__ThorVGCapi__Picture.html#ga6c05096bb5d5074bff0fdbbb13a587f8',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fnew',['tvg_picture_new',['../group__ThorVGCapi__Picture.html#gaeb31f27827d96269a3c4d251a45215b6',1,'thorvg_capi.h']]],
- ['tvg_5fpoint',['Tvg_Point',['../structTvg__Point.html',1,'']]],
- ['tvg_5fradial_5fgradient_5fget',['tvg_radial_gradient_get',['../group__ThorVGCapi__Gradient.html#gaabab5eabf6d11b95b96e9c543a341199',1,'thorvg_capi.h']]],
- ['tvg_5fradial_5fgradient_5fnew',['tvg_radial_gradient_new',['../group__ThorVGCapi__Gradient.html#ga7dc487e5d1557961cd2cc31a42daeb28',1,'thorvg_capi.h']]],
- ['tvg_5fradial_5fgradient_5fset',['tvg_radial_gradient_set',['../group__ThorVGCapi__Gradient.html#ga321045b5fda8e8e002c4837bd03ccdac',1,'thorvg_capi.h']]],
- ['tvg_5fresult',['Tvg_Result',['../group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5ffailed_5fallocation',['TVG_RESULT_FAILED_ALLOCATION',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5finsufficient_5fcondition',['TVG_RESULT_INSUFFICIENT_CONDITION',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5finvalid_5fargument',['TVG_RESULT_INVALID_ARGUMENT',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5fmemory_5fcorruption',['TVG_RESULT_MEMORY_CORRUPTION',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5fnot_5fsupported',['TVG_RESULT_NOT_SUPPORTED',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5fsuccess',['TVG_RESULT_SUCCESS',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5funknown',['TVG_RESULT_UNKNOWN',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5fclear',['tvg_scene_clear',['../group__ThorVGCapi__Scene.html#ga00044cc1d187a83c196debd44eab0248',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5fnew',['tvg_scene_new',['../group__ThorVGCapi__Scene.html#ga7572898d23143d37faa85cc89ad1625e',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5fpush',['tvg_scene_push',['../group__ThorVGCapi__Scene.html#ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5freserve',['tvg_scene_reserve',['../group__ThorVGCapi__Scene.html#ga8b712509a62cf5a3200ecbca53e773d3',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5farc',['tvg_shape_append_arc',['../group__ThorVGCapi__Shape.html#ga237a7a1bc5274dd7ffc7355be48888fd',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5fcircle',['tvg_shape_append_circle',['../group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5fpath',['tvg_shape_append_path',['../group__ThorVGCapi__Shape.html#ga31d8aaa35a50228b0b343471ff0d77b3',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5frect',['tvg_shape_append_rect',['../group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fclose',['tvg_shape_close',['../group__ThorVGCapi__Shape.html#ga99049e9ec53866666fdec34f05d084b1',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fcubic_5fto',['tvg_shape_cubic_to',['../group__ThorVGCapi__Shape.html#ga275080e39eba2bc732625be046292176',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5ffill_5fcolor',['tvg_shape_get_fill_color',['../group__ThorVGCapi__Shape.html#gaaf9b92ffb5736b1ab808b4f15356dd08',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5ffill_5frule',['tvg_shape_get_fill_rule',['../group__ThorVGCapi__Shape.html#gaeebedc65bb77544aeb05980465284947',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fgradient',['tvg_shape_get_gradient',['../group__ThorVGCapi__Shape.html#ga962f01af5960ad4dd2e1da2f6a0336b9',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fpath_5fcommands',['tvg_shape_get_path_commands',['../group__ThorVGCapi__Shape.html#gacd0ecb2f60ad6ab2e616e5870e1857aa',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fpath_5fcoords',['tvg_shape_get_path_coords',['../group__ThorVGCapi__Shape.html#gad5323f2c523a6a14b89ed105f3450108',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fcap',['tvg_shape_get_stroke_cap',['../group__ThorVGCapi__Shape.html#gaad894f66bc9bbd8f91c351aff534536b',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fcolor',['tvg_shape_get_stroke_color',['../group__ThorVGCapi__Shape.html#gad63d7d12327f3d9912999de2a2504b8d',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fdash',['tvg_shape_get_stroke_dash',['../group__ThorVGCapi__Shape.html#ga40dd2d0753ce8a3018e02a7382abe04f',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fgradient',['tvg_shape_get_stroke_gradient',['../group__ThorVGCapi__Shape.html#ga48c323d84e770c561c14bfc586240b96',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fjoin',['tvg_shape_get_stroke_join',['../group__ThorVGCapi__Shape.html#gae31a53e787b763eaf8a0268edeab76a1',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fwidth',['tvg_shape_get_stroke_width',['../group__ThorVGCapi__Shape.html#ga6964fd905664d48bf7252d6c67cb4dcd',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fline_5fto',['tvg_shape_line_to',['../group__ThorVGCapi__Shape.html#ga715e047ef4d45ced617f9ed000df1842',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fmove_5fto',['tvg_shape_move_to',['../group__ThorVGCapi__Shape.html#ga892eb9130555a02a6e6bec3c91a7de3c',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fnew',['tvg_shape_new',['../group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5freset',['tvg_shape_reset',['../group__ThorVGCapi__Shape.html#gae5b23d6696a1b4012270a93210750e77',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5ffill_5fcolor',['tvg_shape_set_fill_color',['../group__ThorVGCapi__Shape.html#ga9671d893c912383df0840c2915e3d88b',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5ffill_5frule',['tvg_shape_set_fill_rule',['../group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5flinear_5fgradient',['tvg_shape_set_linear_gradient',['../group__ThorVGCapi__Shape.html#ga02aa5aa9a017270ce0375b1b9db75d57',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fradial_5fgradient',['tvg_shape_set_radial_gradient',['../group__ThorVGCapi__Shape.html#gabd7b9020f1058aa9e9fae9b683265ef8',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fcap',['tvg_shape_set_stroke_cap',['../group__ThorVGCapi__Shape.html#gabb5f5cfe6ff8098efcde6f80c56ca200',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fcolor',['tvg_shape_set_stroke_color',['../group__ThorVGCapi__Shape.html#ga9c1d8aaf73da6f4386cce28a245d3f27',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fdash',['tvg_shape_set_stroke_dash',['../group__ThorVGCapi__Shape.html#gaab74503fd357cfaf7727c25278b71531',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fjoin',['tvg_shape_set_stroke_join',['../group__ThorVGCapi__Shape.html#ga34cb2634d8e9b603f22d4112b346c32a',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5flinear_5fgradient',['tvg_shape_set_stroke_linear_gradient',['../group__ThorVGCapi__Shape.html#gae15955526c9e519ea204b77aa91de111',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fradial_5fgradient',['tvg_shape_set_stroke_radial_gradient',['../group__ThorVGCapi__Shape.html#ga0b1d28f178f276d379ca2c14fd7d869c',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fwidth',['tvg_shape_set_stroke_width',['../group__ThorVGCapi__Shape.html#gae3a63091a9c00c796ecadf3e6983c5fd',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap',['Tvg_Stroke_Cap',['../group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap_5fbutt',['TVG_STROKE_CAP_BUTT',['../group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap_5fround',['TVG_STROKE_CAP_ROUND',['../group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap_5fsquare',['TVG_STROKE_CAP_SQUARE',['../group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill',['Tvg_Stroke_Fill',['../group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill_5fpad',['TVG_STROKE_FILL_PAD',['../group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill_5freflect',['TVG_STROKE_FILL_REFLECT',['../group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill_5frepeat',['TVG_STROKE_FILL_REPEAT',['../group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin',['Tvg_Stroke_Join',['../group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin_5fbevel',['TVG_STROKE_JOIN_BEVEL',['../group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin_5fmiter',['TVG_STROKE_JOIN_MITER',['../group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin_5fround',['TVG_STROKE_JOIN_ROUND',['../group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee',1,'thorvg_capi.h']]],
- ['tvg_5fswcanvas_5fcreate',['tvg_swcanvas_create',['../group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433',1,'thorvg_capi.h']]],
- ['tvg_5fswcanvas_5fset_5ftarget',['tvg_swcanvas_set_target',['../group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5',1,'thorvg_capi.h']]]
+ ['transform',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint::transform(const Matrix &m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept']]],
+ ['translate',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]]
];
var searchData=
[
+ ['saver',['Saver',['../classtvg_1_1Saver.html',1,'tvg']]],
['scene',['Scene',['../classtvg_1_1Scene.html',1,'tvg']]],
['shape',['Shape',['../classtvg_1_1Shape.html',1,'tvg']]],
['swcanvas',['SwCanvas',['../classtvg_1_1SwCanvas.html',1,'tvg']]]
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="classes_9.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['tvg_5fcolor_5fstop',['Tvg_Color_Stop',['../structTvg__Color__Stop.html',1,'']]],
- ['tvg_5fmatrix',['Tvg_Matrix',['../structTvg__Matrix.html',1,'']]],
- ['tvg_5fpoint',['Tvg_Point',['../structTvg__Point.html',1,'']]]
-];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="enums_6.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['tvg_5fcomposite_5fmethod',['Tvg_Composite_Method',['../group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a',1,'thorvg_capi.h']]],
- ['tvg_5ffill_5frule',['Tvg_Fill_Rule',['../group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand',['Tvg_Path_Command',['../group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77',1,'thorvg_capi.h']]],
- ['tvg_5fresult',['Tvg_Result',['../group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap',['Tvg_Stroke_Cap',['../group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill',['Tvg_Stroke_Fill',['../group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin',['Tvg_Stroke_Join',['../group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed',1,'thorvg_capi.h']]]
-];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="enumvalues_10.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['winding',['Winding',['../group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a268b61c62382fc1f9ca5cf52a4fece32',1,'tvg']]]
-];
var searchData=
[
- ['tvg_5fcomposite_5fmethod_5falpha_5fmask',['TVG_COMPOSITE_METHOD_ALPHA_MASK',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod_5fclip_5fpath',['TVG_COMPOSITE_METHOD_CLIP_PATH',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod_5finverse_5falpha_5fmask',['TVG_COMPOSITE_METHOD_INVERSE_ALPHA_MASK',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759',1,'thorvg_capi.h']]],
- ['tvg_5fcomposite_5fmethod_5fnone',['TVG_COMPOSITE_METHOD_NONE',['../group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375',1,'thorvg_capi.h']]],
- ['tvg_5ffill_5frule_5feven_5fodd',['TVG_FILL_RULE_EVEN_ODD',['../group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88',1,'thorvg_capi.h']]],
- ['tvg_5ffill_5frule_5fwinding',['TVG_FILL_RULE_WINDING',['../group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fclose',['TVG_PATH_COMMAND_CLOSE',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fcubic_5fto',['TVG_PATH_COMMAND_CUBIC_TO',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fline_5fto',['TVG_PATH_COMMAND_LINE_TO',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536',1,'thorvg_capi.h']]],
- ['tvg_5fpath_5fcommand_5fmove_5fto',['TVG_PATH_COMMAND_MOVE_TO',['../group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5ffailed_5fallocation',['TVG_RESULT_FAILED_ALLOCATION',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5finsufficient_5fcondition',['TVG_RESULT_INSUFFICIENT_CONDITION',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5finvalid_5fargument',['TVG_RESULT_INVALID_ARGUMENT',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5fmemory_5fcorruption',['TVG_RESULT_MEMORY_CORRUPTION',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5fnot_5fsupported',['TVG_RESULT_NOT_SUPPORTED',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5fsuccess',['TVG_RESULT_SUCCESS',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47',1,'thorvg_capi.h']]],
- ['tvg_5fresult_5funknown',['TVG_RESULT_UNKNOWN',['../group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap_5fbutt',['TVG_STROKE_CAP_BUTT',['../group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap_5fround',['TVG_STROKE_CAP_ROUND',['../group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fcap_5fsquare',['TVG_STROKE_CAP_SQUARE',['../group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill_5fpad',['TVG_STROKE_FILL_PAD',['../group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill_5freflect',['TVG_STROKE_FILL_REFLECT',['../group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5ffill_5frepeat',['TVG_STROKE_FILL_REPEAT',['../group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin_5fbevel',['TVG_STROKE_JOIN_BEVEL',['../group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin_5fmiter',['TVG_STROKE_JOIN_MITER',['../group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d',1,'thorvg_capi.h']]],
- ['tvg_5fstroke_5fjoin_5fround',['TVG_STROKE_JOIN_ROUND',['../group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee',1,'thorvg_capi.h']]]
+ ['unknown',['Unknown',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e',1,'tvg']]]
];
var searchData=
[
- ['unknown',['Unknown',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e',1,'tvg']]]
+ ['winding',['Winding',['../group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a268b61c62382fc1f9ca5cf52a4fece32',1,'tvg']]]
];
var searchData=
[
- ['clear',['clear',['../classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd',1,'tvg::Canvas::clear()'],['../classtvg_1_1Scene.html#ab1b298a0aae3e173a984c0bceb2456fe',1,'tvg::Scene::clear()']]],
+ ['clear',['clear',['../classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd',1,'tvg::Canvas::clear()'],['../classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed',1,'tvg::Scene::clear()']]],
['close',['close',['../classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697',1,'tvg::Shape']]],
['colorstops',['colorStops',['../classtvg_1_1Fill.html#a92717fc84a7d5df56e42e3bc863fce1a',1,'tvg::Fill::colorStops(const ColorStop *colorStops, uint32_t cnt) noexcept'],['../classtvg_1_1Fill.html#addbc9de36b4427639f3cc1dceeccb734',1,'tvg::Fill::colorStops(const ColorStop **colorStops) const noexcept']]],
- ['composite',['composite',['../classtvg_1_1Paint.html#aab93150647927b8f2006b5ae45b7b093',1,'tvg::Paint']]],
+ ['composite',['composite',['../classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b',1,'tvg::Paint::composite(std::unique_ptr< Paint > target, CompositeMethod method) noexcept'],['../classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee',1,'tvg::Paint::composite(const Paint **target) const noexcept']]],
['cubicto',['cubicTo',['../classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29',1,'tvg::Shape']]]
];
var searchData=
[
- ['data',['data',['../classtvg_1_1Picture.html#afb53c7c5a55bab703a98808ecb3319eb',1,'tvg::Picture']]],
+ ['data',['data',['../classtvg_1_1Picture.html#a21b1473525a4e1fccdc6b893bdfd4fbb',1,'tvg::Picture']]],
['draw',['draw',['../classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0',1,'tvg::Canvas']]],
['duplicate',['duplicate',['../classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635',1,'tvg::Paint::duplicate()'],['../classtvg_1_1Fill.html#a48e358abab4478ff7f84dfb85608eaf3',1,'tvg::Fill::duplicate()']]]
];
var searchData=
[
- ['gen',['gen',['../classtvg_1_1LinearGradient.html#a346e161f12d8e8ad26b6eaaf5d0f5c5c',1,'tvg::LinearGradient::gen()'],['../classtvg_1_1RadialGradient.html#aba51891c8702157ba088bf7e2f1425eb',1,'tvg::RadialGradient::gen()'],['../classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9',1,'tvg::Shape::gen()'],['../classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811',1,'tvg::Picture::gen()'],['../classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149',1,'tvg::Scene::gen()'],['../classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96',1,'tvg::SwCanvas::gen()'],['../classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90',1,'tvg::GlCanvas::gen()']]]
+ ['gen',['gen',['../classtvg_1_1LinearGradient.html#a346e161f12d8e8ad26b6eaaf5d0f5c5c',1,'tvg::LinearGradient::gen()'],['../classtvg_1_1RadialGradient.html#aba51891c8702157ba088bf7e2f1425eb',1,'tvg::RadialGradient::gen()'],['../classtvg_1_1Shape.html#aa91a801f4f9e8fd8e1567d014c280cb9',1,'tvg::Shape::gen()'],['../classtvg_1_1Picture.html#a68af11946af3c1c63a4e915cd0207811',1,'tvg::Picture::gen()'],['../classtvg_1_1Scene.html#a01a17bb81862d89f2a0feb5d9818a149',1,'tvg::Scene::gen()'],['../classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96',1,'tvg::SwCanvas::gen()'],['../classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90',1,'tvg::GlCanvas::gen()'],['../classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683',1,'tvg::Saver::gen()']]]
];
[
['linear',['linear',['../classtvg_1_1LinearGradient.html#aa881eb89e14ade6a30bc41d7eb8eaf52',1,'tvg::LinearGradient::linear(float x1, float y1, float x2, float y2) noexcept'],['../classtvg_1_1LinearGradient.html#a5c77e9f6e855a595945f45a6b19ee983',1,'tvg::LinearGradient::linear(float *x1, float *y1, float *x2, float *y2) const noexcept']]],
['lineto',['lineTo',['../classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd',1,'tvg::Shape']]],
- ['load',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#ad33102ac9c2c60e52e4a61300312ea80',1,'tvg::Picture::load(const char *data, uint32_t size) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept']]]
+ ['load',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce',1,'tvg::Picture::load(const char *data, uint32_t size, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767',1,'tvg::Picture::load(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept']]]
];
var searchData=
[
+ ['paint',['paint',['../classtvg_1_1Picture.html#a4e3879d926e8a37c83dd7d0d3895889b',1,'tvg::Picture']]],
['pathcommands',['pathCommands',['../classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7',1,'tvg::Shape']]],
['pathcoords',['pathCoords',['../classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923',1,'tvg::Shape']]],
['push',['push',['../classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e',1,'tvg::Canvas::push()'],['../classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103',1,'tvg::Scene::push()']]]
var searchData=
[
+ ['save',['save',['../classtvg_1_1Saver.html#a4bb29e6a836958b4e26fd5f8189c63cf',1,'tvg::Saver']]],
['scale',['scale',['../classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2',1,'tvg::Paint']]],
['size',['size',['../classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40',1,'tvg::Picture::size(float w, float h) noexcept'],['../classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad',1,'tvg::Picture::size(float *w, float *h) const noexcept']]],
['spread',['spread',['../classtvg_1_1Fill.html#aed49d00ca09e69fdf97aaae235f8e950',1,'tvg::Fill::spread(FillSpread s) noexcept'],['../classtvg_1_1Fill.html#a55f6de063e5ac8023243c9cef5cb9a12',1,'tvg::Fill::spread() const noexcept']]],
['strokefill',['strokeFill',['../classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e',1,'tvg::Shape']]],
['strokejoin',['strokeJoin',['../classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a',1,'tvg::Shape']]],
['strokewidth',['strokeWidth',['../classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9',1,'tvg::Shape']]],
- ['sync',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas']]]
+ ['sync',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas::sync()'],['../classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778',1,'tvg::Saver::sync()']]]
];
[
['target',['target',['../classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc',1,'tvg::SwCanvas::target()'],['../classtvg_1_1GlCanvas.html#aad369f9a4a762338d0ef4a16265a0f29',1,'tvg::GlCanvas::target()']]],
['term',['term',['../classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df',1,'tvg::Initializer']]],
- ['transform',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint']]],
- ['translate',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]],
- ['tvg_5fcanvas_5fclear',['tvg_canvas_clear',['../group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fdestroy',['tvg_canvas_destroy',['../group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fdraw',['tvg_canvas_draw',['../group__ThorVGCapi__Canvas.html#ga0be96c28afddf9cf252d68a431438632',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fpush',['tvg_canvas_push',['../group__ThorVGCapi__Canvas.html#ga0e4daf723d6080d526ce0aa4111a1439',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5freserve',['tvg_canvas_reserve',['../group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fsync',['tvg_canvas_sync',['../group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fupdate',['tvg_canvas_update',['../group__ThorVGCapi__Canvas.html#ga7c43ae4fb1a06afbe3616b4552740edf',1,'thorvg_capi.h']]],
- ['tvg_5fcanvas_5fupdate_5fpaint',['tvg_canvas_update_paint',['../group__ThorVGCapi__Canvas.html#ga50761cba3cc3143a90f72124a597216f',1,'thorvg_capi.h']]],
- ['tvg_5fengine_5finit',['tvg_engine_init',['../group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9',1,'thorvg_capi.h']]],
- ['tvg_5fengine_5fterm',['tvg_engine_term',['../group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fdel',['tvg_gradient_del',['../group__ThorVGCapi__Gradient.html#gad267b161f306064cc3c0082ec7906a95',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fget_5fcolor_5fstops',['tvg_gradient_get_color_stops',['../group__ThorVGCapi__Gradient.html#ga65df721ba27a51ef09c64f91fe78f3ac',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fget_5fspread',['tvg_gradient_get_spread',['../group__ThorVGCapi__Gradient.html#gaa6be4ea40b68b3939d916b242a13374b',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fset_5fcolor_5fstops',['tvg_gradient_set_color_stops',['../group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48',1,'thorvg_capi.h']]],
- ['tvg_5fgradient_5fset_5fspread',['tvg_gradient_set_spread',['../group__ThorVGCapi__Gradient.html#gad800cb39d78429089adba8f0952ba433',1,'thorvg_capi.h']]],
- ['tvg_5flinear_5fgradient_5fget',['tvg_linear_gradient_get',['../group__ThorVGCapi__Gradient.html#gaa503fc8455eb63acda4b3ff0737f4d4e',1,'thorvg_capi.h']]],
- ['tvg_5flinear_5fgradient_5fnew',['tvg_linear_gradient_new',['../group__ThorVGCapi__Gradient.html#gab77d80df3c269fa531e7b81c8e8410d2',1,'thorvg_capi.h']]],
- ['tvg_5flinear_5fgradient_5fset',['tvg_linear_gradient_set',['../group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fdel',['tvg_paint_del',['../group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fduplicate',['tvg_paint_duplicate',['../group__ThorVGCapi__Paint.html#gae7852760d3f05e2d7ce0c899535d223b',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fget_5fbounds',['tvg_paint_get_bounds',['../group__ThorVGCapi__Paint.html#gaae4eee0f8e66407fc933f1552f913d6b',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fget_5fopacity',['tvg_paint_get_opacity',['../group__ThorVGCapi__Paint.html#ga17ee85c79749f4ee89766e3ad9a5a975',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5frotate',['tvg_paint_rotate',['../group__ThorVGCapi__Paint.html#ga60ab7fce408fc3065d77895855fcf532',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fscale',['tvg_paint_scale',['../group__ThorVGCapi__Paint.html#gad91401c9574f634f0f744d8e5903203b',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fset_5fcomposite_5fmethod',['tvg_paint_set_composite_method',['../group__ThorVGCapi__Paint.html#ga5af1043991b0de19c888855feeab2e5d',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5fset_5fopacity',['tvg_paint_set_opacity',['../group__ThorVGCapi__Paint.html#ga9b621889be1a6aac905a6564d71a800f',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5ftransform',['tvg_paint_transform',['../group__ThorVGCapi__Paint.html#ga20305aeb11a622e2651ac514296ef008',1,'thorvg_capi.h']]],
- ['tvg_5fpaint_5ftranslate',['tvg_paint_translate',['../group__ThorVGCapi__Paint.html#gaf7c5c66bd41da9262996ee9a9def42ff',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fget_5fviewbox',['tvg_picture_get_viewbox',['../group__ThorVGCapi__Picture.html#ga4a3950f95a05cbc29e869d7d5071aeb9',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fload',['tvg_picture_load',['../group__ThorVGCapi__Picture.html#gaa101b96db706db4edd10a65da628a1ef',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fload_5fraw',['tvg_picture_load_raw',['../group__ThorVGCapi__Picture.html#ga6c05096bb5d5074bff0fdbbb13a587f8',1,'thorvg_capi.h']]],
- ['tvg_5fpicture_5fnew',['tvg_picture_new',['../group__ThorVGCapi__Picture.html#gaeb31f27827d96269a3c4d251a45215b6',1,'thorvg_capi.h']]],
- ['tvg_5fradial_5fgradient_5fget',['tvg_radial_gradient_get',['../group__ThorVGCapi__Gradient.html#gaabab5eabf6d11b95b96e9c543a341199',1,'thorvg_capi.h']]],
- ['tvg_5fradial_5fgradient_5fnew',['tvg_radial_gradient_new',['../group__ThorVGCapi__Gradient.html#ga7dc487e5d1557961cd2cc31a42daeb28',1,'thorvg_capi.h']]],
- ['tvg_5fradial_5fgradient_5fset',['tvg_radial_gradient_set',['../group__ThorVGCapi__Gradient.html#ga321045b5fda8e8e002c4837bd03ccdac',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5fclear',['tvg_scene_clear',['../group__ThorVGCapi__Scene.html#ga00044cc1d187a83c196debd44eab0248',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5fnew',['tvg_scene_new',['../group__ThorVGCapi__Scene.html#ga7572898d23143d37faa85cc89ad1625e',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5fpush',['tvg_scene_push',['../group__ThorVGCapi__Scene.html#ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf',1,'thorvg_capi.h']]],
- ['tvg_5fscene_5freserve',['tvg_scene_reserve',['../group__ThorVGCapi__Scene.html#ga8b712509a62cf5a3200ecbca53e773d3',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5farc',['tvg_shape_append_arc',['../group__ThorVGCapi__Shape.html#ga237a7a1bc5274dd7ffc7355be48888fd',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5fcircle',['tvg_shape_append_circle',['../group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5fpath',['tvg_shape_append_path',['../group__ThorVGCapi__Shape.html#ga31d8aaa35a50228b0b343471ff0d77b3',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fappend_5frect',['tvg_shape_append_rect',['../group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fclose',['tvg_shape_close',['../group__ThorVGCapi__Shape.html#ga99049e9ec53866666fdec34f05d084b1',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fcubic_5fto',['tvg_shape_cubic_to',['../group__ThorVGCapi__Shape.html#ga275080e39eba2bc732625be046292176',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5ffill_5fcolor',['tvg_shape_get_fill_color',['../group__ThorVGCapi__Shape.html#gaaf9b92ffb5736b1ab808b4f15356dd08',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5ffill_5frule',['tvg_shape_get_fill_rule',['../group__ThorVGCapi__Shape.html#gaeebedc65bb77544aeb05980465284947',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fgradient',['tvg_shape_get_gradient',['../group__ThorVGCapi__Shape.html#ga962f01af5960ad4dd2e1da2f6a0336b9',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fpath_5fcommands',['tvg_shape_get_path_commands',['../group__ThorVGCapi__Shape.html#gacd0ecb2f60ad6ab2e616e5870e1857aa',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fpath_5fcoords',['tvg_shape_get_path_coords',['../group__ThorVGCapi__Shape.html#gad5323f2c523a6a14b89ed105f3450108',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fcap',['tvg_shape_get_stroke_cap',['../group__ThorVGCapi__Shape.html#gaad894f66bc9bbd8f91c351aff534536b',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fcolor',['tvg_shape_get_stroke_color',['../group__ThorVGCapi__Shape.html#gad63d7d12327f3d9912999de2a2504b8d',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fdash',['tvg_shape_get_stroke_dash',['../group__ThorVGCapi__Shape.html#ga40dd2d0753ce8a3018e02a7382abe04f',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fgradient',['tvg_shape_get_stroke_gradient',['../group__ThorVGCapi__Shape.html#ga48c323d84e770c561c14bfc586240b96',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fjoin',['tvg_shape_get_stroke_join',['../group__ThorVGCapi__Shape.html#gae31a53e787b763eaf8a0268edeab76a1',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fget_5fstroke_5fwidth',['tvg_shape_get_stroke_width',['../group__ThorVGCapi__Shape.html#ga6964fd905664d48bf7252d6c67cb4dcd',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fline_5fto',['tvg_shape_line_to',['../group__ThorVGCapi__Shape.html#ga715e047ef4d45ced617f9ed000df1842',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fmove_5fto',['tvg_shape_move_to',['../group__ThorVGCapi__Shape.html#ga892eb9130555a02a6e6bec3c91a7de3c',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fnew',['tvg_shape_new',['../group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5freset',['tvg_shape_reset',['../group__ThorVGCapi__Shape.html#gae5b23d6696a1b4012270a93210750e77',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5ffill_5fcolor',['tvg_shape_set_fill_color',['../group__ThorVGCapi__Shape.html#ga9671d893c912383df0840c2915e3d88b',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5ffill_5frule',['tvg_shape_set_fill_rule',['../group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5flinear_5fgradient',['tvg_shape_set_linear_gradient',['../group__ThorVGCapi__Shape.html#ga02aa5aa9a017270ce0375b1b9db75d57',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fradial_5fgradient',['tvg_shape_set_radial_gradient',['../group__ThorVGCapi__Shape.html#gabd7b9020f1058aa9e9fae9b683265ef8',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fcap',['tvg_shape_set_stroke_cap',['../group__ThorVGCapi__Shape.html#gabb5f5cfe6ff8098efcde6f80c56ca200',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fcolor',['tvg_shape_set_stroke_color',['../group__ThorVGCapi__Shape.html#ga9c1d8aaf73da6f4386cce28a245d3f27',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fdash',['tvg_shape_set_stroke_dash',['../group__ThorVGCapi__Shape.html#gaab74503fd357cfaf7727c25278b71531',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fjoin',['tvg_shape_set_stroke_join',['../group__ThorVGCapi__Shape.html#ga34cb2634d8e9b603f22d4112b346c32a',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5flinear_5fgradient',['tvg_shape_set_stroke_linear_gradient',['../group__ThorVGCapi__Shape.html#gae15955526c9e519ea204b77aa91de111',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fradial_5fgradient',['tvg_shape_set_stroke_radial_gradient',['../group__ThorVGCapi__Shape.html#ga0b1d28f178f276d379ca2c14fd7d869c',1,'thorvg_capi.h']]],
- ['tvg_5fshape_5fset_5fstroke_5fwidth',['tvg_shape_set_stroke_width',['../group__ThorVGCapi__Shape.html#gae3a63091a9c00c796ecadf3e6983c5fd',1,'thorvg_capi.h']]],
- ['tvg_5fswcanvas_5fcreate',['tvg_swcanvas_create',['../group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433',1,'thorvg_capi.h']]],
- ['tvg_5fswcanvas_5fset_5ftarget',['tvg_swcanvas_set_target',['../group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5',1,'thorvg_capi.h']]]
+ ['transform',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint::transform(const Matrix &m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept']]],
+ ['translate',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]]
];
var searchData=
[
- ['canvas',['Canvas',['../group__ThorVGCapi__Canvas.html',1,'']]]
+ ['thorvg',['ThorVG',['../group__ThorVG.html',1,'']]]
];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="groups_1.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['gradient',['Gradient',['../group__ThorVGCapi__Gradient.html',1,'']]]
-];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="groups_2.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['initializer',['Initializer',['../group__ThorVGCapi__Initializer.html',1,'']]]
-];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="groups_3.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['paint',['Paint',['../group__ThorVGCapi__Paint.html',1,'']]],
- ['picture',['Picture',['../group__ThorVGCapi__Picture.html',1,'']]]
-];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="groups_4.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['scene',['Scene',['../group__ThorVGCapi__Scene.html',1,'']]],
- ['shape',['Shape',['../group__ThorVGCapi__Shape.html',1,'']]],
- ['swcanvas',['SwCanvas',['../group__ThorVGCapi__SwCanvas.html',1,'']]]
-];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="groups_5.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['thorvg',['ThorVG',['../group__ThorVG.html',1,'']]],
- ['thorvg_5fcapi_20_28beta_20version_29',['ThorVG_CAPI (BETA version)',['../group__ThorVG__CAPI.html',1,'']]]
-];
var indexSectionsWithContent =
{
0: "abcdefgilmnoprstuvw",
- 1: "cfgilmprst",
+ 1: "cfgilmprs",
2: "abcdfgilmoprstuv",
3: "abgor",
- 4: "t",
- 5: "cfmprst",
- 6: "abcdefgilmnprstuw",
- 7: "cgipst",
- 8: "t"
+ 4: "cfmprs",
+ 5: "abcdefgilmnprsuw",
+ 6: "t",
+ 7: "t"
};
var indexSectionNames =
1: "classes",
2: "functions",
3: "variables",
- 4: "typedefs",
- 5: "enums",
- 6: "enumvalues",
- 7: "groups",
- 8: "pages"
+ 4: "enums",
+ 5: "enumvalues",
+ 6: "groups",
+ 7: "pages"
};
var indexSectionLabels =
1: "Classes",
2: "Functions",
3: "Variables",
- 4: "Typedefs",
- 5: "Enumerations",
- 6: "Enumerator",
- 7: "Modules",
- 8: "Pages"
+ 4: "Enumerations",
+ 5: "Enumerator",
+ 6: "Modules",
+ 7: "Pages"
};
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html><head><title></title>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<link rel="stylesheet" type="text/css" href="search.css"/>
-<script type="text/javascript" src="typedefs_0.js"></script>
-<script type="text/javascript" src="search.js"></script>
-</head>
-<body class="SRPage">
-<div id="SRIndex">
-<div class="SRStatus" id="Loading">Loading...</div>
-<div id="SRResults"></div>
-<script type="text/javascript"><!--
-createResults();
---></script>
-<div class="SRStatus" id="Searching">Searching...</div>
-<div class="SRStatus" id="NoMatches">No Matches</div>
-<script type="text/javascript"><!--
-document.getElementById("Loading").style.display="none";
-document.getElementById("NoMatches").style.display="none";
-var searchResults = new SearchResults("searchResults");
-searchResults.Search();
---></script>
-</div>
-</body>
-</html>
+++ /dev/null
-var searchData=
-[
- ['tvg_5fcanvas',['Tvg_Canvas',['../group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a',1,'thorvg_capi.h']]],
- ['tvg_5fgradient',['Tvg_Gradient',['../group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181',1,'thorvg_capi.h']]],
- ['tvg_5fpaint',['Tvg_Paint',['../group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292',1,'thorvg_capi.h']]]
-];
var searchData=
[
- ['a',['a',['../structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0',1,'tvg::Fill::ColorStop::a()'],['../structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0',1,'Tvg_Color_Stop::a()']]]
+ ['a',['a',['../structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0',1,'tvg::Fill::ColorStop']]]
];
var searchData=
[
- ['b',['b',['../structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b',1,'tvg::Fill::ColorStop::b()'],['../structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b',1,'Tvg_Color_Stop::b()']]]
+ ['b',['b',['../structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b',1,'tvg::Fill::ColorStop']]]
];
var searchData=
[
- ['g',['g',['../structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60',1,'tvg::Fill::ColorStop::g()'],['../structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60',1,'Tvg_Color_Stop::g()']]]
+ ['g',['g',['../structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60',1,'tvg::Fill::ColorStop']]]
];
var searchData=
[
- ['offset',['offset',['../structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'tvg::Fill::ColorStop::offset()'],['../structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'Tvg_Color_Stop::offset()']]]
+ ['offset',['offset',['../structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'tvg::Fill::ColorStop']]]
];
var searchData=
[
- ['r',['r',['../structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'tvg::Fill::ColorStop::r()'],['../structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'Tvg_Color_Stop::r()']]]
+ ['r',['r',['../structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'tvg::Fill::ColorStop']]]
];
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Member List</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">Tvg_Color_Stop Member List</div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>This is the complete list of members for <a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a>, including all inherited members.</p>
-<table class="directory">
- <tr class="even"><td class="entry"><a class="el" href="structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0">a</a></td><td class="entry"><a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b">b</a></td><td class="entry"><a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60">g</a></td><td class="entry"><a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a></td><td class="entry"><a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a">r</a></td><td class="entry"><a class="el" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a></td><td class="entry"></td></tr>
-</table></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Tvg_Color_Stop</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-</div><!-- top -->
-<div class="header">
- <div class="summary">
-<a href="#pub-attribs">Public Attributes</a> |
-<a href="structTvg__Color__Stop-members.html">List of all members</a> </div>
- <div class="headertitle">
-<div class="title">Tvg_Color_Stop<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a> » <a class="el" href="group__ThorVGCapi__Gradient.html">Gradient</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A data structure storing the information about the color and its relative position inside the gradient bounds.
- <a href="structTvg__Color__Stop.html#details">More...</a></p>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
-Public Attributes</h2></td></tr>
-<tr class="memitem:a3e60b3c561be982d7c8e23f14c01fd5b"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a></td></tr>
-<tr class="separator:a3e60b3c561be982d7c8e23f14c01fd5b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:a4c5c6ceb8ed33456261fa907136e0c3a"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a">r</a></td></tr>
-<tr class="separator:a4c5c6ceb8ed33456261fa907136e0c3a"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:a1673907d4d89d763bb7b94ec1eeb7b60"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60">g</a></td></tr>
-<tr class="separator:a1673907d4d89d763bb7b94ec1eeb7b60"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:a4313c9563516f94387762ab05763456b"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b">b</a></td></tr>
-<tr class="separator:a4313c9563516f94387762ab05763456b"><td class="memSeparator" colspan="2"> </td></tr>
-<tr class="memitem:af4007aacd75b22aee32dba9ea96082c0"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0">a</a></td></tr>
-<tr class="separator:af4007aacd75b22aee32dba9ea96082c0"><td class="memSeparator" colspan="2"> </td></tr>
-</table>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<div class="textblock"><p>A data structure storing the information about the color and its relative position inside the gradient bounds. </p>
-</div><h2 class="groupheader">Member Data Documentation</h2>
-<a id="af4007aacd75b22aee32dba9ea96082c0"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#af4007aacd75b22aee32dba9ea96082c0">◆ </a></span>a</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">uint8_t a</td>
- </tr>
- </table>
-</div><div class="memdoc">
-<p>The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque. </p>
-
-</div>
-</div>
-<a id="a4313c9563516f94387762ab05763456b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a4313c9563516f94387762ab05763456b">◆ </a></span>b</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">uint8_t b</td>
- </tr>
- </table>
-</div><div class="memdoc">
-<p>The blue color channel value in the range [0 ~ 255]. </p>
-
-</div>
-</div>
-<a id="a1673907d4d89d763bb7b94ec1eeb7b60"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a1673907d4d89d763bb7b94ec1eeb7b60">◆ </a></span>g</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">uint8_t g</td>
- </tr>
- </table>
-</div><div class="memdoc">
-<p>The green color channel value in the range [0 ~ 255]. </p>
-
-</div>
-</div>
-<a id="a3e60b3c561be982d7c8e23f14c01fd5b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a3e60b3c561be982d7c8e23f14c01fd5b">◆ </a></span>offset</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">float offset</td>
- </tr>
- </table>
-</div><div class="memdoc">
-<p>The relative position of the color. </p>
-
-</div>
-</div>
-<a id="a4c5c6ceb8ed33456261fa907136e0c3a"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a4c5c6ceb8ed33456261fa907136e0c3a">◆ </a></span>r</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">uint8_t r</td>
- </tr>
- </table>
-</div><div class="memdoc">
-<p>The red color channel value in the range [0 ~ 255]. </p>
-
-</div>
-</div>
-</div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Member List</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">Tvg_Matrix Member List</div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>This is the complete list of members for <a class="el" href="structTvg__Matrix.html">Tvg_Matrix</a>, including all inherited members.</p>
-<table class="directory">
-</table></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Tvg_Matrix</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-</div><!-- top -->
-<div class="header">
- <div class="summary">
-<a href="structTvg__Matrix-members.html">List of all members</a> </div>
- <div class="headertitle">
-<div class="title">Tvg_Matrix<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A data structure representing a three-dimensional matrix.
- <a href="structTvg__Matrix.html#details">More...</a></p>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<div class="textblock"><p>A data structure representing a three-dimensional matrix. </p>
-</div></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Member List</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">Tvg_Point Member List</div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>This is the complete list of members for <a class="el" href="structTvg__Point.html">Tvg_Point</a>, including all inherited members.</p>
-<table class="directory">
-</table></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: Tvg_Point</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-</div><!-- top -->
-<div class="header">
- <div class="summary">
-<a href="structTvg__Point-members.html">List of all members</a> </div>
- <div class="headertitle">
-<div class="title">Tvg_Point<div class="ingroups"><a class="el" href="group__ThorVG__CAPI.html">ThorVG_CAPI (BETA version)</a></div></div> </div>
-</div><!--header-->
-<div class="contents">
-
-<p>A data structure representing a point in two-dimensional space.
- <a href="structTvg__Point.html#details">More...</a></p>
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<div class="textblock"><p>A data structure representing a point in two-dimensional space. </p>
-</div></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>
<div class="title">thorvg.h</div> </div>
</div><!--header-->
<div class="contents">
-<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef _THORVG_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define _THORVG_H_</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifdef TVG_BUILD</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"> #define TVG_EXPORT __attribute__ ((visibility ("default")))</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"> #define TVG_EXPORT</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#define _TVG_DECLARE_PRIVATE(A) \</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">protected: \</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"> struct Impl; \</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"> Impl* pImpl; \</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"> A(const A&) = delete; \</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"> const A& operator=(const A&) = delete; \</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"> A()</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#define _TVG_DISABLE_CTOR(A) \</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"> A() = delete; \</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"> ~A() = delete</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#define _TVG_DECLARE_ACCESSOR() \</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"> friend Canvas; \</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor"> friend Scene; \</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor"> friend Picture</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#define _TVG_DECALRE_IDENTIFIER() \</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"> auto id() const { return _id; } \</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">protected: \</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"> unsigned _id</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">namespace </span><a class="code" href="namespacetvg.html">tvg</a></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">class </span>RenderMethod;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">class </span>Scene;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">class </span>Picture;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">class </span>Canvas;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066"> 70</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38">Success</a> = 0, </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae73a2e92f1c87086c838b442552a4775">InvalidArguments</a>, </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a119732ff568bf103d744e930ae2404f1">InsufficientCondition</a>, </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907">FailedAllocation</a>, </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6">MemoryCorruption</a>, </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29">NonSupport</a>, </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e">Unknown</a> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> };</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1"> 87</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad3d2e617335f08df83599665eef8a418">Close</a> = 0, </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad9046d3b1ebf3889943b3be3ca477613">MoveTo</a>, </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1a5dc59cf06f56c730c0a4bfe69c9bf689">LineTo</a>, </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ac8cd9cd16086764627079ed21bfc4e29">CubicTo</a> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> };</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96"> 98</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96aceb46ca115d05c51aa5a16a8867c3304">Square</a> = 0, </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c">Round</a>, </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab2635ed1075287dea1eb1598a90df1fe">Butt</a> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> };</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51"> 108</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51a1b9ae4ca6d43fc984af318046e1e7bb5">Bevel</a> = 0, </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c">Round</a>, </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51ae4396f81cd926bb129ccf3c147c64514">Miter</a> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> };</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da"> 118</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">FillSpread</a></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> {</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daade43468adaf6acb2c38ebc0c1176f82f">Pad</a> = 0, </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa74de3e45e4491e956e8dc18d841d9b00">Reflect</a>, </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa7020426cfb0a204051be4b3053d2acc8">Repeat</a> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> };</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4"> 128</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a268b61c62382fc1f9ca5cf52a4fece32">Winding</a> = 0, </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a8e586e4bd2c45e86222301f2e6e0e390">EvenOdd</a> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> };</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87"> 137</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a6adf97f83acf6453d4a6a4b1070f3754">None</a> = 0, </div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a60575a18ece363c72551a982450efd52">ClipPath</a>, </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87abd68e2bb79d1a5e65ad8f0d202d14cbc">AlphaMask</a>, </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a59cc48dcf714e3a3c2492f4dce1fe134">InvAlphaMask</a> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> };</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df"> 148</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">CanvasEngine</a></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa1f030517f6d25e8607a2a9a7f6227ebc">Sw</a> = (1 << 1), </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa0f16de4274952a7184e059c5f2d048d6">Gl</a> = (1 << 2) </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> };</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="structtvg_1_1Point.html"> 158</a></span> <span class="keyword">struct </span><a class="code" href="structtvg_1_1Point.html">Point</a></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordtype">float</span> x, y;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> };</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="structtvg_1_1Matrix.html"> 171</a></span> <span class="keyword">struct </span><a class="code" href="structtvg_1_1Matrix.html">Matrix</a></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">float</span> e11, e12, e13;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordtype">float</span> e21, e22, e23;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordtype">float</span> e31, e32, e33;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> };</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classtvg_1_1Paint.html"> 188</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> {</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keyword">virtual</span> ~<a class="code" href="classtvg_1_1Paint.html">Paint</a>();</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> rotate(<span class="keywordtype">float</span> degree) noexcept;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> scale(<span class="keywordtype">float</span> factor) noexcept;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> translate(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> transform(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Matrix.html">Matrix</a>& m) noexcept;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> opacity(uint8_t o) noexcept;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> composite(std::unique_ptr<Paint> target, <a class="code" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> bounds(<span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classtvg_1_1Paint.html">Paint</a>* duplicate() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  uint8_t opacity() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  _TVG_DECLARE_ACCESSOR();</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Paint.html">Paint</a>);</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> };</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div><div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classtvg_1_1Fill.html"> 307</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Fill.html">Fill</a></div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html"> 313</a></span>  <span class="keyword">struct </span><a class="code" href="structtvg_1_1Fill_1_1ColorStop.html">ColorStop</a></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  {</div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b"> 315</a></span>  <span class="keywordtype">float</span> <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a>; </div><div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a"> 316</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a">r</a>; </div><div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60"> 317</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60">g</a>; </div><div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b"> 318</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b">b</a>; </div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0"> 319</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0">a</a>; </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  };</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keyword">virtual</span> ~<a class="code" href="classtvg_1_1Fill.html">Fill</a>();</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> colorStops(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html">ColorStop</a>* colorStops, uint32_t cnt) noexcept;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> spread(<a class="code" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">FillSpread</a> s) noexcept;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> </div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  uint32_t colorStops(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html">ColorStop</a>** colorStops) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span> </div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">FillSpread</a> spread() const noexcept;</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span> </div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <a class="code" href="classtvg_1_1Fill.html">Fill</a>* duplicate() const noexcept;</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  _TVG_DECALRE_IDENTIFIER();</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Fill.html">Fill</a>);</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span> };</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> </div><div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="classtvg_1_1Canvas.html"> 383</a></span> class TVG_EXPORT <a class="code" href="classtvg_1_1Canvas.html">Canvas</a></div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span> {</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  Canvas(RenderMethod*);</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keyword">virtual</span> ~Canvas();</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> reserve(uint32_t n) noexcept;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span> </div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> push(std::unique_ptr<Paint> paint) noexcept;</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> clear(<span class="keywordtype">bool</span> free = <span class="keyword">true</span>) noexcept;</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> </div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> update(<a class="code" href="classtvg_1_1Paint.html">Paint</a>* paint) noexcept;</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span> </div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> draw() noexcept;</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> sync() noexcept;</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span> </div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  _TVG_DECLARE_PRIVATE(Canvas);</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span> };</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span> </div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span> </div><div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="classtvg_1_1LinearGradient.html"> 479</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1LinearGradient.html">LinearGradient</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a></div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span> {</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  ~<a class="code" href="classtvg_1_1LinearGradient.html">LinearGradient</a>();</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span> </div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> linear(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2) noexcept;</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> </div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> linear(<span class="keywordtype">float</span>* x1, <span class="keywordtype">float</span>* y1, <span class="keywordtype">float</span>* x2, <span class="keywordtype">float</span>* y2) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span> </div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  <span class="keyword">static</span> std::unique_ptr<LinearGradient> gen() noexcept;</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span> </div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1LinearGradient.html">LinearGradient</a>);</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span> };</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span> </div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span> </div><div class="line"><a name="l00533"></a><span class="lineno"><a class="line" href="classtvg_1_1RadialGradient.html"> 533</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1RadialGradient.html">RadialGradient</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a></div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span> {</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span>  ~<a class="code" href="classtvg_1_1RadialGradient.html">RadialGradient</a>();</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span> </div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> radial(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> radius) noexcept;</div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span> </div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> radial(<span class="keywordtype">float</span>* cx, <span class="keywordtype">float</span>* cy, <span class="keywordtype">float</span>* radius) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span> </div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <span class="keyword">static</span> std::unique_ptr<RadialGradient> gen() noexcept;</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1RadialGradient.html">RadialGradient</a>);</div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span> };</div><div class="line"><a name="l00573"></a><span class="lineno"> 573</span> </div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span> </div><div class="line"><a name="l00587"></a><span class="lineno"><a class="line" href="classtvg_1_1Shape.html"> 587</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Shape.html">Shape</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span> {</div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  ~<a class="code" href="classtvg_1_1Shape.html">Shape</a>();</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span> </div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> reset() noexcept;</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span> </div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> moveTo(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span> </div><div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> lineTo(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span> </div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> cubicTo(<span class="keywordtype">float</span> cx1, <span class="keywordtype">float</span> cy1, <span class="keywordtype">float</span> cx2, <span class="keywordtype">float</span> cy2, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span> </div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> close() noexcept;</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span> </div><div class="line"><a name="l00683"></a><span class="lineno"> 683</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendRect(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h, <span class="keywordtype">float</span> rx, <span class="keywordtype">float</span> ry) noexcept;</div><div class="line"><a name="l00684"></a><span class="lineno"> 684</span> </div><div class="line"><a name="l00701"></a><span class="lineno"> 701</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendCircle(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> rx, <span class="keywordtype">float</span> ry) noexcept;</div><div class="line"><a name="l00702"></a><span class="lineno"> 702</span> </div><div class="line"><a name="l00720"></a><span class="lineno"> 720</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendArc(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> radius, <span class="keywordtype">float</span> startAngle, <span class="keywordtype">float</span> sweep, <span class="keywordtype">bool</span> pie) noexcept;</div><div class="line"><a name="l00721"></a><span class="lineno"> 721</span> </div><div class="line"><a name="l00737"></a><span class="lineno"> 737</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendPath(<span class="keyword">const</span> <a class="code" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a>* cmds, uint32_t cmdCnt, <span class="keyword">const</span> <a class="code" href="structtvg_1_1Point.html">Point</a>* pts, uint32_t ptsCnt) noexcept;</div><div class="line"><a name="l00738"></a><span class="lineno"> 738</span> </div><div class="line"><a name="l00746"></a><span class="lineno"> 746</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<span class="keywordtype">float</span> width) noexcept;</div><div class="line"><a name="l00747"></a><span class="lineno"> 747</span> </div><div class="line"><a name="l00758"></a><span class="lineno"> 758</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;</div><div class="line"><a name="l00759"></a><span class="lineno"> 759</span> </div><div class="line"><a name="l00769"></a><span class="lineno"> 769</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(std::unique_ptr<Fill> f) noexcept;</div><div class="line"><a name="l00770"></a><span class="lineno"> 770</span> </div><div class="line"><a name="l00784"></a><span class="lineno"> 784</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<span class="keyword">const</span> <span class="keywordtype">float</span>* dashPattern, uint32_t cnt) noexcept;</div><div class="line"><a name="l00785"></a><span class="lineno"> 785</span> </div><div class="line"><a name="l00793"></a><span class="lineno"> 793</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<a class="code" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a> cap) noexcept;</div><div class="line"><a name="l00794"></a><span class="lineno"> 794</span> </div><div class="line"><a name="l00804"></a><span class="lineno"> 804</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<a class="code" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a> join) noexcept;</div><div class="line"><a name="l00805"></a><span class="lineno"> 805</span> </div><div class="line"><a name="l00820"></a><span class="lineno"> 820</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;</div><div class="line"><a name="l00821"></a><span class="lineno"> 821</span> </div><div class="line"><a name="l00833"></a><span class="lineno"> 833</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill(std::unique_ptr<Fill> f) noexcept;</div><div class="line"><a name="l00834"></a><span class="lineno"> 834</span> </div><div class="line"><a name="l00842"></a><span class="lineno"> 842</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill(<a class="code" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a> r) noexcept;</div><div class="line"><a name="l00843"></a><span class="lineno"> 843</span> </div><div class="line"><a name="l00851"></a><span class="lineno"> 851</span>  uint32_t pathCommands(<span class="keyword">const</span> <a class="code" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a>** cmds) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00852"></a><span class="lineno"> 852</span> </div><div class="line"><a name="l00860"></a><span class="lineno"> 860</span>  uint32_t pathCoords(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Point.html">Point</a>** pts) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00861"></a><span class="lineno"> 861</span> </div><div class="line"><a name="l00867"></a><span class="lineno"> 867</span>  <span class="keyword">const</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a>* fill() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00868"></a><span class="lineno"> 868</span> </div><div class="line"><a name="l00879"></a><span class="lineno"> 879</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00880"></a><span class="lineno"> 880</span> </div><div class="line"><a name="l00886"></a><span class="lineno"> 886</span>  <a class="code" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a> fillRule() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00887"></a><span class="lineno"> 887</span> </div><div class="line"><a name="l00893"></a><span class="lineno"> 893</span>  <span class="keywordtype">float</span> strokeWidth() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00894"></a><span class="lineno"> 894</span> </div><div class="line"><a name="l00905"></a><span class="lineno"> 905</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00906"></a><span class="lineno"> 906</span> </div><div class="line"><a name="l00912"></a><span class="lineno"> 912</span>  <span class="keyword">const</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a>* strokeFill() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00913"></a><span class="lineno"> 913</span> </div><div class="line"><a name="l00921"></a><span class="lineno"> 921</span>  uint32_t strokeDash(<span class="keyword">const</span> <span class="keywordtype">float</span>** dashPattern) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00922"></a><span class="lineno"> 922</span> </div><div class="line"><a name="l00928"></a><span class="lineno"> 928</span>  <a class="code" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a> strokeCap() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00929"></a><span class="lineno"> 929</span> </div><div class="line"><a name="l00935"></a><span class="lineno"> 935</span>  <a class="code" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a> strokeJoin() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00936"></a><span class="lineno"> 936</span> </div><div class="line"><a name="l00942"></a><span class="lineno"> 942</span>  <span class="keyword">static</span> std::unique_ptr<Shape> gen() noexcept;</div><div class="line"><a name="l00943"></a><span class="lineno"> 943</span> </div><div class="line"><a name="l00944"></a><span class="lineno"> 944</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Shape.html">Shape</a>);</div><div class="line"><a name="l00945"></a><span class="lineno"> 945</span> };</div><div class="line"><a name="l00946"></a><span class="lineno"> 946</span> </div><div class="line"><a name="l00947"></a><span class="lineno"> 947</span> </div><div class="line"><a name="l00956"></a><span class="lineno"><a class="line" href="classtvg_1_1Picture.html"> 956</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Picture.html">Picture</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l00957"></a><span class="lineno"> 957</span> {</div><div class="line"><a name="l00958"></a><span class="lineno"> 958</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00959"></a><span class="lineno"> 959</span>  ~<a class="code" href="classtvg_1_1Picture.html">Picture</a>();</div><div class="line"><a name="l00960"></a><span class="lineno"> 960</span> </div><div class="line"><a name="l00974"></a><span class="lineno"> 974</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load(<span class="keyword">const</span> std::string& path) noexcept;</div><div class="line"><a name="l00975"></a><span class="lineno"> 975</span> </div><div class="line"><a name="l00989"></a><span class="lineno"> 989</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load(<span class="keyword">const</span> <span class="keywordtype">char</span>* data, uint32_t size) noexcept;</div><div class="line"><a name="l00990"></a><span class="lineno"> 990</span> </div><div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> size(<span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h) noexcept;</div><div class="line"><a name="l01003"></a><span class="lineno"> 1003</span> </div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> size(<span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> </div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>  <span class="keyword">const</span> uint32_t* data() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span> </div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load(uint32_t* data, uint32_t w, uint32_t h, <span class="keywordtype">bool</span> copy) noexcept;</div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> </div><div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> viewbox(<span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l01040"></a><span class="lineno"> 1040</span> </div><div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>  <span class="keyword">static</span> std::unique_ptr<Picture> gen() noexcept;</div><div class="line"><a name="l01047"></a><span class="lineno"> 1047</span> </div><div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Picture.html">Picture</a>);</div><div class="line"><a name="l01049"></a><span class="lineno"> 1049</span> };</div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span> </div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> </div><div class="line"><a name="l01063"></a><span class="lineno"><a class="line" href="classtvg_1_1Scene.html"> 1063</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Scene.html">Scene</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> {</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>  ~<a class="code" href="classtvg_1_1Scene.html">Scene</a>();</div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span> </div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> push(std::unique_ptr<Paint> paint) noexcept;</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> </div><div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> reserve(uint32_t size) noexcept;</div><div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> </div><div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> clear() noexcept;</div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> </div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>  <span class="keyword">static</span> std::unique_ptr<Scene> gen() noexcept;</div><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span> </div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Scene.html">Scene</a>);</div><div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> };</div><div class="line"><a name="l01114"></a><span class="lineno"> 1114</span> </div><div class="line"><a name="l01115"></a><span class="lineno"> 1115</span> </div><div class="line"><a name="l01121"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html"> 1121</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1SwCanvas.html">SwCanvas</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Canvas.html">Canvas</a></div><div class="line"><a name="l01122"></a><span class="lineno"> 1122</span> {</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>  ~<a class="code" href="classtvg_1_1SwCanvas.html">SwCanvas</a>();</div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span> </div><div class="line"><a name="l01129"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65"> 1129</a></span>  <span class="keyword">enum</span> <a class="code" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65">Colorspace</a></div><div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>  {</div><div class="line"><a name="l01131"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65adb1b146d65c52857a5a4af54e5006101"> 1131</a></span>  ABGR8888 = 0, </div><div class="line"><a name="l01132"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65af540c373a71dee269827b0d12026de80"> 1132</a></span>  ARGB8888 </div><div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>  };</div><div class="line"><a name="l01134"></a><span class="lineno"> 1134</span> </div><div class="line"><a name="l01140"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b"> 1140</a></span>  <span class="keyword">enum</span> <a class="code" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b">MempoolPolicy</a></div><div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>  {</div><div class="line"><a name="l01142"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba79935518a3889663d8688b6b01fff051"> 1142</a></span>  Default = 0, </div><div class="line"><a name="l01143"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5"> 1143</a></span>  <a class="code" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5">Shareable</a>, </div><div class="line"><a name="l01144"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22bab0257211e60ed5eb6767ec8ed3ec2524"> 1144</a></span>  Individual </div><div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>  };</div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span> </div><div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, <a class="code" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65">Colorspace</a> cs) noexcept;</div><div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> </div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> mempool(<a class="code" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b">MempoolPolicy</a> policy) noexcept;</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span> </div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>  <span class="keyword">static</span> std::unique_ptr<SwCanvas> gen() noexcept;</div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span> </div><div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1SwCanvas.html">SwCanvas</a>);</div><div class="line"><a name="l01199"></a><span class="lineno"> 1199</span> };</div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span> </div><div class="line"><a name="l01201"></a><span class="lineno"> 1201</span> </div><div class="line"><a name="l01211"></a><span class="lineno"><a class="line" href="classtvg_1_1GlCanvas.html"> 1211</a></span> class TVG_EXPORT <a class="code" href="classtvg_1_1GlCanvas.html">GlCanvas</a> final : public <a class="code" href="classtvg_1_1Canvas.html">Canvas</a></div><div class="line"><a name="l01212"></a><span class="lineno"> 1212</span> {</div><div class="line"><a name="l01213"></a><span class="lineno"> 1213</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>  ~<a class="code" href="classtvg_1_1GlCanvas.html">GlCanvas</a>();</div><div class="line"><a name="l01215"></a><span class="lineno"> 1215</span> </div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h) noexcept;</div><div class="line"><a name="l01224"></a><span class="lineno"> 1224</span> </div><div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>  <span class="keyword">static</span> std::unique_ptr<GlCanvas> gen() noexcept;</div><div class="line"><a name="l01233"></a><span class="lineno"> 1233</span> </div><div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1GlCanvas.html">GlCanvas</a>);</div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span> };</div><div class="line"><a name="l01236"></a><span class="lineno"> 1236</span> </div><div class="line"><a name="l01237"></a><span class="lineno"> 1237</span> </div><div class="line"><a name="l01243"></a><span class="lineno"><a class="line" href="classtvg_1_1Initializer.html"> 1243</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Initializer.html">Initializer</a> final</div><div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> {</div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>  <span class="keyword">static</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> init(<a class="code" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">CanvasEngine</a> engine, uint32_t threads) noexcept;</div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span> </div><div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>  <span class="keyword">static</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> term(<a class="code" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">CanvasEngine</a> engine) noexcept;</div><div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> </div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>  _TVG_DISABLE_CTOR(<a class="code" href="classtvg_1_1Initializer.html">Initializer</a>);</div><div class="line"><a name="l01285"></a><span class="lineno"> 1285</span> };</div><div class="line"><a name="l01286"></a><span class="lineno"> 1286</span> </div><div class="line"><a name="l01289"></a><span class="lineno"> 1289</span> } <span class="comment">//namespace</span></div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span> </div><div class="line"><a name="l01291"></a><span class="lineno"> 1291</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l01292"></a><span class="lineno"> 1292</span> }</div><div class="line"><a name="l01293"></a><span class="lineno"> 1293</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01294"></a><span class="lineno"> 1294</span> </div><div class="line"><a name="l01295"></a><span class="lineno"> 1295</span> <span class="preprocessor">#endif //_THORVG_H_</span></div><div class="ttc" id="group__ThorVG_html_ggaabdf94ada64e69d06deabc5aa6576f87abd68e2bb79d1a5e65ad8f0d202d14cbc"><div class="ttname"><a href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87abd68e2bb79d1a5e65ad8f0d202d14cbc">tvg::CompositeMethod::AlphaMask</a></div><div class="ttdoc">The pixels of the source and the target are alpha blended. As a result, only the part of the source...</div></div>
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef _THORVG_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define _THORVG_H_</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifdef TVG_BUILD</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"> #ifdef _MSC_VER</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"> #define TVG_EXPORT __declspec(dllexport)</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"> #define TVG_DEPRECATED __declspec(deprecated)</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"> #else</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"> #define TVG_EXPORT __attribute__ ((visibility ("default")))</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"> #define TVG_DEPRECATED __attribute__ ((__deprecated__))</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor"> #endif</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"> #define TVG_EXPORT</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"> #define TVG_DEPRECATED</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#define _TVG_DECLARE_PRIVATE(A) \</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">protected: \</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"> struct Impl; \</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"> Impl* pImpl; \</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"> A(const A&) = delete; \</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"> const A& operator=(const A&) = delete; \</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"> A()</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#define _TVG_DISABLE_CTOR(A) \</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"> A() = delete; \</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"> ~A() = delete</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#define _TVG_DECLARE_ACCESSOR() \</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"> friend Canvas; \</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"> friend Scene; \</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"> friend Picture; \</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"> friend SaveModule; \</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#define _TVG_DECALRE_IDENTIFIER() \</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"> auto id() const { return _id; } \</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">protected: \</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"> unsigned _id</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">namespace </span><a class="code" href="namespacetvg.html">tvg</a></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">class </span>RenderMethod;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">class </span>SaveModule;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">class </span>Scene;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">class </span>Picture;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">class </span>Canvas;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066"> 80</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38">Success</a> = 0, </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae73a2e92f1c87086c838b442552a4775">InvalidArguments</a>, </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a119732ff568bf103d744e930ae2404f1">InsufficientCondition</a>, </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907">FailedAllocation</a>, </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6">MemoryCorruption</a>, </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29">NonSupport</a>, </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e">Unknown</a> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> };</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1"> 97</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad3d2e617335f08df83599665eef8a418">Close</a> = 0, </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad9046d3b1ebf3889943b3be3ca477613">MoveTo</a>, </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1a5dc59cf06f56c730c0a4bfe69c9bf689">LineTo</a>, </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ac8cd9cd16086764627079ed21bfc4e29">CubicTo</a> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> };</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96"> 108</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96aceb46ca115d05c51aa5a16a8867c3304">Square</a> = 0, </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c">Round</a>, </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab2635ed1075287dea1eb1598a90df1fe">Butt</a> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> };</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51"> 118</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> {</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51a1b9ae4ca6d43fc984af318046e1e7bb5">Bevel</a> = 0, </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c">Round</a>, </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51ae4396f81cd926bb129ccf3c147c64514">Miter</a> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> };</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da"> 128</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">FillSpread</a></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daade43468adaf6acb2c38ebc0c1176f82f">Pad</a> = 0, </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa74de3e45e4491e956e8dc18d841d9b00">Reflect</a>, </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa7020426cfb0a204051be4b3053d2acc8">Repeat</a> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> };</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4"> 138</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> {</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a268b61c62382fc1f9ca5cf52a4fece32">Winding</a> = 0, </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a8e586e4bd2c45e86222301f2e6e0e390">EvenOdd</a> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> };</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87"> 147</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> {</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a6adf97f83acf6453d4a6a4b1070f3754">None</a> = 0, </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a60575a18ece363c72551a982450efd52">ClipPath</a>, </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87abd68e2bb79d1a5e65ad8f0d202d14cbc">AlphaMask</a>, </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a59cc48dcf714e3a3c2492f4dce1fe134">InvAlphaMask</a> </div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> };</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df"> 158</a></span> <span class="keyword">enum class</span> TVG_EXPORT <a class="code" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">CanvasEngine</a></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa1f030517f6d25e8607a2a9a7f6227ebc">Sw</a> = (1 << 1), </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa0f16de4274952a7184e059c5f2d048d6">Gl</a> = (1 << 2) </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> };</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="structtvg_1_1Point.html"> 168</a></span> <span class="keyword">struct </span><a class="code" href="structtvg_1_1Point.html">Point</a></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> {</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">float</span> x, y;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> };</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="structtvg_1_1Matrix.html"> 181</a></span> <span class="keyword">struct </span><a class="code" href="structtvg_1_1Matrix.html">Matrix</a></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordtype">float</span> e11, e12, e13;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">float</span> e21, e22, e23;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordtype">float</span> e31, e32, e33;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> };</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classtvg_1_1Paint.html"> 198</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> {</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keyword">virtual</span> ~<a class="code" href="classtvg_1_1Paint.html">Paint</a>();</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> rotate(<span class="keywordtype">float</span> degree) noexcept;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> scale(<span class="keywordtype">float</span> factor) noexcept;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> translate(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> transform(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Matrix.html">Matrix</a>& m) noexcept;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <a class="code" href="structtvg_1_1Matrix.html">Matrix</a> transform() noexcept;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> opacity(uint8_t o) noexcept;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> composite(std::unique_ptr<Paint> target, <a class="code" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> method) noexcept;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> bounds(<span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="classtvg_1_1Paint.html">Paint</a>* duplicate() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  uint8_t opacity() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <a class="code" href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">CompositeMethod</a> composite(<span class="keyword">const</span> <a class="code" href="classtvg_1_1Paint.html">Paint</a>** target) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  _TVG_DECLARE_ACCESSOR();</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  _TVG_DECALRE_IDENTIFIER();</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Paint.html">Paint</a>);</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> };</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classtvg_1_1Fill.html"> 339</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Fill.html">Fill</a></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> {</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html"> 345</a></span>  <span class="keyword">struct </span><a class="code" href="structtvg_1_1Fill_1_1ColorStop.html">ColorStop</a></div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  {</div><div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b"> 347</a></span>  <span class="keywordtype">float</span> <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a>; </div><div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a"> 348</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a">r</a>; </div><div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60"> 349</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60">g</a>; </div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b"> 350</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b">b</a>; </div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0"> 351</a></span>  uint8_t <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0">a</a>; </div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  };</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="keyword">virtual</span> ~<a class="code" href="classtvg_1_1Fill.html">Fill</a>();</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> colorStops(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html">ColorStop</a>* colorStops, uint32_t cnt) noexcept;</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> spread(<a class="code" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">FillSpread</a> s) noexcept;</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  uint32_t colorStops(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Fill_1_1ColorStop.html">ColorStop</a>** colorStops) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <a class="code" href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">FillSpread</a> spread() const noexcept;</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <a class="code" href="classtvg_1_1Fill.html">Fill</a>* duplicate() const noexcept;</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  _TVG_DECALRE_IDENTIFIER();</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Fill.html">Fill</a>);</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span> };</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span> </div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span> </div><div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="classtvg_1_1Canvas.html"> 415</a></span> class TVG_EXPORT <a class="code" href="classtvg_1_1Canvas.html">Canvas</a></div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span> {</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  Canvas(RenderMethod*);</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keyword">virtual</span> ~Canvas();</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span> </div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> reserve(uint32_t n) noexcept;</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> </div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> push(std::unique_ptr<Paint> paint) noexcept;</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span> </div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> clear(<span class="keywordtype">bool</span> free = <span class="keyword">true</span>) noexcept;</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span> </div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> update(<a class="code" href="classtvg_1_1Paint.html">Paint</a>* paint) noexcept;</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span> </div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> draw() noexcept;</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="keyword">virtual</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> sync() noexcept;</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span> </div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  _TVG_DECLARE_PRIVATE(Canvas);</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span> };</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span> </div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span> </div><div class="line"><a name="l00511"></a><span class="lineno"><a class="line" href="classtvg_1_1LinearGradient.html"> 511</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1LinearGradient.html">LinearGradient</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a></div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span> {</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  ~<a class="code" href="classtvg_1_1LinearGradient.html">LinearGradient</a>();</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span> </div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> linear(<span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2) noexcept;</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span> </div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> linear(<span class="keywordtype">float</span>* x1, <span class="keywordtype">float</span>* y1, <span class="keywordtype">float</span>* x2, <span class="keywordtype">float</span>* y2) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span> </div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  <span class="keyword">static</span> std::unique_ptr<LinearGradient> gen() noexcept;</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span> </div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1LinearGradient.html">LinearGradient</a>);</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span> };</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span> </div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span> </div><div class="line"><a name="l00565"></a><span class="lineno"><a class="line" href="classtvg_1_1RadialGradient.html"> 565</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1RadialGradient.html">RadialGradient</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a></div><div class="line"><a name="l00566"></a><span class="lineno"> 566</span> {</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  ~<a class="code" href="classtvg_1_1RadialGradient.html">RadialGradient</a>();</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span> </div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> radial(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> radius) noexcept;</div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span> </div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> radial(<span class="keywordtype">float</span>* cx, <span class="keywordtype">float</span>* cy, <span class="keywordtype">float</span>* radius) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span> </div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  <span class="keyword">static</span> std::unique_ptr<RadialGradient> gen() noexcept;</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span> </div><div class="line"><a name="l00603"></a><span class="lineno"> 603</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1RadialGradient.html">RadialGradient</a>);</div><div class="line"><a name="l00604"></a><span class="lineno"> 604</span> };</div><div class="line"><a name="l00605"></a><span class="lineno"> 605</span> </div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span> </div><div class="line"><a name="l00619"></a><span class="lineno"><a class="line" href="classtvg_1_1Shape.html"> 619</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Shape.html">Shape</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span> {</div><div class="line"><a name="l00621"></a><span class="lineno"> 621</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span>  ~<a class="code" href="classtvg_1_1Shape.html">Shape</a>();</div><div class="line"><a name="l00623"></a><span class="lineno"> 623</span> </div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> reset() noexcept;</div><div class="line"><a name="l00634"></a><span class="lineno"> 634</span> </div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> moveTo(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span> </div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> lineTo(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00660"></a><span class="lineno"> 660</span> </div><div class="line"><a name="l00678"></a><span class="lineno"> 678</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> cubicTo(<span class="keywordtype">float</span> cx1, <span class="keywordtype">float</span> cy1, <span class="keywordtype">float</span> cx2, <span class="keywordtype">float</span> cy2, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y) noexcept;</div><div class="line"><a name="l00679"></a><span class="lineno"> 679</span> </div><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> close() noexcept;</div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span> </div><div class="line"><a name="l00715"></a><span class="lineno"> 715</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendRect(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h, <span class="keywordtype">float</span> rx, <span class="keywordtype">float</span> ry) noexcept;</div><div class="line"><a name="l00716"></a><span class="lineno"> 716</span> </div><div class="line"><a name="l00733"></a><span class="lineno"> 733</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendCircle(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> rx, <span class="keywordtype">float</span> ry) noexcept;</div><div class="line"><a name="l00734"></a><span class="lineno"> 734</span> </div><div class="line"><a name="l00752"></a><span class="lineno"> 752</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendArc(<span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> radius, <span class="keywordtype">float</span> startAngle, <span class="keywordtype">float</span> sweep, <span class="keywordtype">bool</span> pie) noexcept;</div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span> </div><div class="line"><a name="l00769"></a><span class="lineno"> 769</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> appendPath(<span class="keyword">const</span> <a class="code" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a>* cmds, uint32_t cmdCnt, <span class="keyword">const</span> <a class="code" href="structtvg_1_1Point.html">Point</a>* pts, uint32_t ptsCnt) noexcept;</div><div class="line"><a name="l00770"></a><span class="lineno"> 770</span> </div><div class="line"><a name="l00778"></a><span class="lineno"> 778</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<span class="keywordtype">float</span> width) noexcept;</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span> </div><div class="line"><a name="l00790"></a><span class="lineno"> 790</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;</div><div class="line"><a name="l00791"></a><span class="lineno"> 791</span> </div><div class="line"><a name="l00801"></a><span class="lineno"> 801</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(std::unique_ptr<Fill> f) noexcept;</div><div class="line"><a name="l00802"></a><span class="lineno"> 802</span> </div><div class="line"><a name="l00817"></a><span class="lineno"> 817</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<span class="keyword">const</span> <span class="keywordtype">float</span>* dashPattern, uint32_t cnt) noexcept;</div><div class="line"><a name="l00818"></a><span class="lineno"> 818</span> </div><div class="line"><a name="l00826"></a><span class="lineno"> 826</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<a class="code" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a> cap) noexcept;</div><div class="line"><a name="l00827"></a><span class="lineno"> 827</span> </div><div class="line"><a name="l00837"></a><span class="lineno"> 837</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> stroke(<a class="code" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a> join) noexcept;</div><div class="line"><a name="l00838"></a><span class="lineno"> 838</span> </div><div class="line"><a name="l00853"></a><span class="lineno"> 853</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;</div><div class="line"><a name="l00854"></a><span class="lineno"> 854</span> </div><div class="line"><a name="l00866"></a><span class="lineno"> 866</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill(std::unique_ptr<Fill> f) noexcept;</div><div class="line"><a name="l00867"></a><span class="lineno"> 867</span> </div><div class="line"><a name="l00875"></a><span class="lineno"> 875</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fill(<a class="code" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a> r) noexcept;</div><div class="line"><a name="l00876"></a><span class="lineno"> 876</span> </div><div class="line"><a name="l00884"></a><span class="lineno"> 884</span>  uint32_t pathCommands(<span class="keyword">const</span> <a class="code" href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">PathCommand</a>** cmds) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00885"></a><span class="lineno"> 885</span> </div><div class="line"><a name="l00893"></a><span class="lineno"> 893</span>  uint32_t pathCoords(<span class="keyword">const</span> <a class="code" href="structtvg_1_1Point.html">Point</a>** pts) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00894"></a><span class="lineno"> 894</span> </div><div class="line"><a name="l00900"></a><span class="lineno"> 900</span>  <span class="keyword">const</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a>* fill() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00901"></a><span class="lineno"> 901</span> </div><div class="line"><a name="l00912"></a><span class="lineno"> 912</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00913"></a><span class="lineno"> 913</span> </div><div class="line"><a name="l00919"></a><span class="lineno"> 919</span>  <a class="code" href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">FillRule</a> fillRule() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00920"></a><span class="lineno"> 920</span> </div><div class="line"><a name="l00926"></a><span class="lineno"> 926</span>  <span class="keywordtype">float</span> strokeWidth() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00927"></a><span class="lineno"> 927</span> </div><div class="line"><a name="l00938"></a><span class="lineno"> 938</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00939"></a><span class="lineno"> 939</span> </div><div class="line"><a name="l00945"></a><span class="lineno"> 945</span>  <span class="keyword">const</span> <a class="code" href="classtvg_1_1Fill.html">Fill</a>* strokeFill() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00946"></a><span class="lineno"> 946</span> </div><div class="line"><a name="l00954"></a><span class="lineno"> 954</span>  uint32_t strokeDash(<span class="keyword">const</span> <span class="keywordtype">float</span>** dashPattern) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00955"></a><span class="lineno"> 955</span> </div><div class="line"><a name="l00961"></a><span class="lineno"> 961</span>  <a class="code" href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">StrokeCap</a> strokeCap() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00962"></a><span class="lineno"> 962</span> </div><div class="line"><a name="l00968"></a><span class="lineno"> 968</span>  <a class="code" href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">StrokeJoin</a> strokeJoin() <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l00969"></a><span class="lineno"> 969</span> </div><div class="line"><a name="l00975"></a><span class="lineno"> 975</span>  <span class="keyword">static</span> std::unique_ptr<Shape> gen() noexcept;</div><div class="line"><a name="l00976"></a><span class="lineno"> 976</span> </div><div class="line"><a name="l00977"></a><span class="lineno"> 977</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Shape.html">Shape</a>);</div><div class="line"><a name="l00978"></a><span class="lineno"> 978</span> };</div><div class="line"><a name="l00979"></a><span class="lineno"> 979</span> </div><div class="line"><a name="l00980"></a><span class="lineno"> 980</span> </div><div class="line"><a name="l00989"></a><span class="lineno"><a class="line" href="classtvg_1_1Picture.html"> 989</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Picture.html">Picture</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l00990"></a><span class="lineno"> 990</span> {</div><div class="line"><a name="l00991"></a><span class="lineno"> 991</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00992"></a><span class="lineno"> 992</span>  ~<a class="code" href="classtvg_1_1Picture.html">Picture</a>();</div><div class="line"><a name="l00993"></a><span class="lineno"> 993</span> </div><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load(<span class="keyword">const</span> std::string& path) noexcept;</div><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span> </div><div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>  TVG_DEPRECATED <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load(<span class="keyword">const</span> <span class="keywordtype">char</span>* data, uint32_t size, <span class="keywordtype">bool</span> copy = <span class="keyword">false</span>) noexcept;</div><div class="line"><a name="l01026"></a><span class="lineno"> 1026</span> </div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load(<span class="keyword">const</span> <span class="keywordtype">char</span>* data, uint32_t size, <span class="keyword">const</span> std::string& mimeType, <span class="keywordtype">bool</span> copy = <span class="keyword">false</span>) noexcept;</div><div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> </div><div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> size(<span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h) noexcept;</div><div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> </div><div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> size(<span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l01068"></a><span class="lineno"> 1068</span> </div><div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>  <span class="keyword">const</span> uint32_t* data(uint32_t* w, uint32_t* h) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l01077"></a><span class="lineno"> 1077</span> </div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> paint(std::unique_ptr<Paint> paint) noexcept;</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> </div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load(uint32_t* data, uint32_t w, uint32_t h, <span class="keywordtype">bool</span> copy) noexcept;</div><div class="line"><a name="l01092"></a><span class="lineno"> 1092</span> </div><div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> viewbox(<span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h) <span class="keyword">const</span> noexcept;</div><div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> </div><div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>  <span class="keyword">static</span> std::unique_ptr<Picture> gen() noexcept;</div><div class="line"><a name="l01108"></a><span class="lineno"> 1108</span> </div><div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Picture.html">Picture</a>);</div><div class="line"><a name="l01110"></a><span class="lineno"> 1110</span> };</div><div class="line"><a name="l01111"></a><span class="lineno"> 1111</span> </div><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span> </div><div class="line"><a name="l01124"></a><span class="lineno"><a class="line" href="classtvg_1_1Scene.html"> 1124</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Scene.html">Scene</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Paint.html">Paint</a></div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</span> {</div><div class="line"><a name="l01126"></a><span class="lineno"> 1126</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>  ~<a class="code" href="classtvg_1_1Scene.html">Scene</a>();</div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> </div><div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> push(std::unique_ptr<Paint> paint) noexcept;</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span> </div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> reserve(uint32_t size) noexcept;</div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span> </div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> clear(<span class="keywordtype">bool</span> free = <span class="keyword">true</span>) noexcept;</div><div class="line"><a name="l01171"></a><span class="lineno"> 1171</span> </div><div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>  <span class="keyword">static</span> std::unique_ptr<Scene> gen() noexcept;</div><div class="line"><a name="l01178"></a><span class="lineno"> 1178</span> </div><div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Scene.html">Scene</a>);</div><div class="line"><a name="l01180"></a><span class="lineno"> 1180</span> };</div><div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> </div><div class="line"><a name="l01182"></a><span class="lineno"> 1182</span> </div><div class="line"><a name="l01188"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html"> 1188</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1SwCanvas.html">SwCanvas</a> final : <span class="keyword">public</span> <a class="code" href="classtvg_1_1Canvas.html">Canvas</a></div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span> {</div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>  ~<a class="code" href="classtvg_1_1SwCanvas.html">SwCanvas</a>();</div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span> </div><div class="line"><a name="l01196"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65"> 1196</a></span>  <span class="keyword">enum</span> <a class="code" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65">Colorspace</a></div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>  {</div><div class="line"><a name="l01198"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65adb1b146d65c52857a5a4af54e5006101"> 1198</a></span>  ABGR8888 = 0, </div><div class="line"><a name="l01199"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65af540c373a71dee269827b0d12026de80"> 1199</a></span>  ARGB8888 </div><div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>  };</div><div class="line"><a name="l01201"></a><span class="lineno"> 1201</span> </div><div class="line"><a name="l01206"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b"> 1206</a></span>  <span class="keyword">enum</span> <a class="code" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b">MempoolPolicy</a></div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>  {</div><div class="line"><a name="l01208"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba79935518a3889663d8688b6b01fff051"> 1208</a></span>  Default = 0, </div><div class="line"><a name="l01209"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5"> 1209</a></span>  <a class="code" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5">Shareable</a>, </div><div class="line"><a name="l01210"></a><span class="lineno"><a class="line" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22bab0257211e60ed5eb6767ec8ed3ec2524"> 1210</a></span>  Individual </div><div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>  };</div><div class="line"><a name="l01212"></a><span class="lineno"> 1212</span> </div><div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, <a class="code" href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65">Colorspace</a> cs) noexcept;</div><div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> </div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> mempool(<a class="code" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b">MempoolPolicy</a> policy) noexcept;</div><div class="line"><a name="l01257"></a><span class="lineno"> 1257</span> </div><div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>  <span class="keyword">static</span> std::unique_ptr<SwCanvas> gen() noexcept;</div><div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> </div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1SwCanvas.html">SwCanvas</a>);</div><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span> };</div><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span> </div><div class="line"><a name="l01267"></a><span class="lineno"> 1267</span> </div><div class="line"><a name="l01277"></a><span class="lineno"><a class="line" href="classtvg_1_1GlCanvas.html"> 1277</a></span> class TVG_EXPORT <a class="code" href="classtvg_1_1GlCanvas.html">GlCanvas</a> final : public <a class="code" href="classtvg_1_1Canvas.html">Canvas</a></div><div class="line"><a name="l01278"></a><span class="lineno"> 1278</span> {</div><div class="line"><a name="l01279"></a><span class="lineno"> 1279</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>  ~<a class="code" href="classtvg_1_1GlCanvas.html">GlCanvas</a>();</div><div class="line"><a name="l01281"></a><span class="lineno"> 1281</span> </div><div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h) noexcept;</div><div class="line"><a name="l01290"></a><span class="lineno"> 1290</span> </div><div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>  <span class="keyword">static</span> std::unique_ptr<GlCanvas> gen() noexcept;</div><div class="line"><a name="l01299"></a><span class="lineno"> 1299</span> </div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1GlCanvas.html">GlCanvas</a>);</div><div class="line"><a name="l01301"></a><span class="lineno"> 1301</span> };</div><div class="line"><a name="l01302"></a><span class="lineno"> 1302</span> </div><div class="line"><a name="l01303"></a><span class="lineno"> 1303</span> </div><div class="line"><a name="l01309"></a><span class="lineno"><a class="line" href="classtvg_1_1Initializer.html"> 1309</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Initializer.html">Initializer</a> final</div><div class="line"><a name="l01310"></a><span class="lineno"> 1310</span> {</div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>  <span class="keyword">static</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> init(<a class="code" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">CanvasEngine</a> engine, uint32_t threads) noexcept;</div><div class="line"><a name="l01333"></a><span class="lineno"> 1333</span> </div><div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>  <span class="keyword">static</span> <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> term(<a class="code" href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">CanvasEngine</a> engine) noexcept;</div><div class="line"><a name="l01349"></a><span class="lineno"> 1349</span> </div><div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>  _TVG_DISABLE_CTOR(<a class="code" href="classtvg_1_1Initializer.html">Initializer</a>);</div><div class="line"><a name="l01351"></a><span class="lineno"> 1351</span> };</div><div class="line"><a name="l01352"></a><span class="lineno"> 1352</span> </div><div class="line"><a name="l01353"></a><span class="lineno"> 1353</span> </div><div class="line"><a name="l01371"></a><span class="lineno"><a class="line" href="classtvg_1_1Saver.html"> 1371</a></span> <span class="keyword">class </span>TVG_EXPORT <a class="code" href="classtvg_1_1Saver.html">Saver</a></div><div class="line"><a name="l01372"></a><span class="lineno"> 1372</span> {</div><div class="line"><a name="l01373"></a><span class="lineno"> 1373</span> <span class="keyword">public</span>:</div><div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>  ~<a class="code" href="classtvg_1_1Saver.html">Saver</a>();</div><div class="line"><a name="l01375"></a><span class="lineno"> 1375</span> </div><div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> save(std::unique_ptr<Paint> paint, <span class="keyword">const</span> std::string& path) noexcept;</div><div class="line"><a name="l01392"></a><span class="lineno"> 1392</span> </div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>  <a class="code" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> sync() noexcept;</div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span> </div><div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>  <span class="keyword">static</span> std::unique_ptr<Saver> gen() noexcept;</div><div class="line"><a name="l01418"></a><span class="lineno"> 1418</span> </div><div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>  _TVG_DECLARE_PRIVATE(<a class="code" href="classtvg_1_1Saver.html">Saver</a>);</div><div class="line"><a name="l01420"></a><span class="lineno"> 1420</span> };</div><div class="line"><a name="l01421"></a><span class="lineno"> 1421</span> </div><div class="line"><a name="l01424"></a><span class="lineno"> 1424</span> } <span class="comment">//namespace</span></div><div class="line"><a name="l01425"></a><span class="lineno"> 1425</span> </div><div class="line"><a name="l01426"></a><span class="lineno"> 1426</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l01427"></a><span class="lineno"> 1427</span> }</div><div class="line"><a name="l01428"></a><span class="lineno"> 1428</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01429"></a><span class="lineno"> 1429</span> </div><div class="line"><a name="l01430"></a><span class="lineno"> 1430</span> <span class="preprocessor">#endif //_THORVG_H_</span></div><div class="ttc" id="group__ThorVG_html_ggaabdf94ada64e69d06deabc5aa6576f87abd68e2bb79d1a5e65ad8f0d202d14cbc"><div class="ttname"><a href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87abd68e2bb79d1a5e65ad8f0d202d14cbc">tvg::CompositeMethod::AlphaMask</a></div><div class="ttdoc">The pixels of the source and the target are alpha blended. As a result, only the part of the source...</div></div>
<div class="ttc" id="group__ThorVG_html_gga6876ed676934f4dbcc19b1b53c153cc1a5dc59cf06f56c730c0a4bfe69c9bf689"><div class="ttname"><a href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1a5dc59cf06f56c730c0a4bfe69c9bf689">tvg::PathCommand::LineTo</a></div><div class="ttdoc">Draws a line from the current point to the given point and sets a new value of the current point...</div></div>
<div class="ttc" id="group__ThorVG_html_gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c"><div class="ttname"><a href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c">tvg::StrokeCap::Round</a></div><div class="ttdoc">The stroke is extended in both end-points of a sub-path by a half circle, with a radius equal to the ...</div></div>
<div class="ttc" id="group__ThorVG_html_gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e"><div class="ttname"><a href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e">tvg::Result::Unknown</a></div><div class="ttdoc">The value returned in all other cases. </div></div>
<div class="ttc" id="group__ThorVG_html_gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907"><div class="ttname"><a href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907">tvg::Result::FailedAllocation</a></div><div class="ttdoc">The value returned in case of unsuccessful memory allocation. </div></div>
-<div class="ttc" id="classtvg_1_1SwCanvas_html_a9b9770837f0171b15f0cd86f94e8e22b"><div class="ttname"><a href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b">tvg::SwCanvas::MempoolPolicy</a></div><div class="ttdeci">MempoolPolicy</div><div class="ttdoc">Enumeration specifying the methods of Memory Pool behavior policy. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1140</div></div>
+<div class="ttc" id="classtvg_1_1SwCanvas_html_a9b9770837f0171b15f0cd86f94e8e22b"><div class="ttname"><a href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b">tvg::SwCanvas::MempoolPolicy</a></div><div class="ttdeci">MempoolPolicy</div><div class="ttdoc">Enumeration specifying the methods of Memory Pool behavior policy. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1206</div></div>
<div class="ttc" id="group__ThorVG_html_gga6876ed676934f4dbcc19b1b53c153cc1ad3d2e617335f08df83599665eef8a418"><div class="ttname"><a href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad3d2e617335f08df83599665eef8a418">tvg::PathCommand::Close</a></div><div class="ttdoc">Ends the current sub-path and connects it with its initial point. This command doesn&#39;t expect any poi...</div></div>
-<div class="ttc" id="classtvg_1_1Fill_html"><div class="ttname"><a href="classtvg_1_1Fill.html">tvg::Fill</a></div><div class="ttdoc">An abstract class representing the gradient fill of the Shape object. </div><div class="ttdef"><b>Definition:</b> thorvg.h:307</div></div>
-<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a4c5c6ceb8ed33456261fa907136e0c3a"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a">tvg::Fill::ColorStop::r</a></div><div class="ttdeci">uint8_t r</div><div class="ttdef"><b>Definition:</b> thorvg.h:316</div></div>
+<div class="ttc" id="classtvg_1_1Saver_html"><div class="ttname"><a href="classtvg_1_1Saver.html">tvg::Saver</a></div><div class="ttdoc">A class for exporting a paint object into a specified file, from which to recover the paint data late...</div><div class="ttdef"><b>Definition:</b> thorvg.h:1371</div></div>
+<div class="ttc" id="classtvg_1_1Fill_html"><div class="ttname"><a href="classtvg_1_1Fill.html">tvg::Fill</a></div><div class="ttdoc">An abstract class representing the gradient fill of the Shape object. </div><div class="ttdef"><b>Definition:</b> thorvg.h:339</div></div>
+<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a4c5c6ceb8ed33456261fa907136e0c3a"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a">tvg::Fill::ColorStop::r</a></div><div class="ttdeci">uint8_t r</div><div class="ttdef"><b>Definition:</b> thorvg.h:348</div></div>
<div class="ttc" id="group__ThorVG_html_gga6876ed676934f4dbcc19b1b53c153cc1ad9046d3b1ebf3889943b3be3ca477613"><div class="ttname"><a href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad9046d3b1ebf3889943b3be3ca477613">tvg::PathCommand::MoveTo</a></div><div class="ttdoc">Sets a new initial point of the sub-path and a new current point. This command expects 1 point: the s...</div></div>
<div class="ttc" id="group__ThorVG_html_gga28287671eaf7406afd604bd055ba4066a119732ff568bf103d744e930ae2404f1"><div class="ttname"><a href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a119732ff568bf103d744e930ae2404f1">tvg::Result::InsufficientCondition</a></div><div class="ttdoc">The value returned in case the request cannot be processed - e.g. asking for properties of an object...</div></div>
-<div class="ttc" id="group__ThorVG_html_ga6239974a858100e129f1e0b8ffac4f96"><div class="ttname"><a href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">tvg::StrokeCap</a></div><div class="ttdeci">StrokeCap</div><div class="ttdoc">Enumeration determining the ending type of a stroke in the open sub-paths. </div><div class="ttdef"><b>Definition:</b> thorvg.h:98</div></div>
+<div class="ttc" id="group__ThorVG_html_ga6239974a858100e129f1e0b8ffac4f96"><div class="ttname"><a href="group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96">tvg::StrokeCap</a></div><div class="ttdeci">StrokeCap</div><div class="ttdoc">Enumeration determining the ending type of a stroke in the open sub-paths. </div><div class="ttdef"><b>Definition:</b> thorvg.h:108</div></div>
<div class="ttc" id="group__ThorVG_html_ggaabdf94ada64e69d06deabc5aa6576f87a60575a18ece363c72551a982450efd52"><div class="ttname"><a href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a60575a18ece363c72551a982450efd52">tvg::CompositeMethod::ClipPath</a></div><div class="ttdoc">The intersection of the source and the target is determined and only the resulting pixels from the so...</div></div>
-<div class="ttc" id="classtvg_1_1RadialGradient_html"><div class="ttname"><a href="classtvg_1_1RadialGradient.html">tvg::RadialGradient</a></div><div class="ttdoc">A class representing the radial gradient fill of the Shape object. </div><div class="ttdef"><b>Definition:</b> thorvg.h:533</div></div>
-<div class="ttc" id="group__ThorVG_html_ga9a534b0377c9ca41983d53b0dae0d5a4"><div class="ttname"><a href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">tvg::FillRule</a></div><div class="ttdeci">FillRule</div><div class="ttdoc">Enumeration specifying the algorithm used to establish which parts of the shape are treated as the in...</div><div class="ttdef"><b>Definition:</b> thorvg.h:128</div></div>
-<div class="ttc" id="classtvg_1_1Scene_html"><div class="ttname"><a href="classtvg_1_1Scene.html">tvg::Scene</a></div><div class="ttdoc">A class to composite children paints. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1063</div></div>
+<div class="ttc" id="classtvg_1_1RadialGradient_html"><div class="ttname"><a href="classtvg_1_1RadialGradient.html">tvg::RadialGradient</a></div><div class="ttdoc">A class representing the radial gradient fill of the Shape object. </div><div class="ttdef"><b>Definition:</b> thorvg.h:565</div></div>
+<div class="ttc" id="group__ThorVG_html_ga9a534b0377c9ca41983d53b0dae0d5a4"><div class="ttname"><a href="group__ThorVG.html#ga9a534b0377c9ca41983d53b0dae0d5a4">tvg::FillRule</a></div><div class="ttdeci">FillRule</div><div class="ttdoc">Enumeration specifying the algorithm used to establish which parts of the shape are treated as the in...</div><div class="ttdef"><b>Definition:</b> thorvg.h:138</div></div>
+<div class="ttc" id="classtvg_1_1Scene_html"><div class="ttname"><a href="classtvg_1_1Scene.html">tvg::Scene</a></div><div class="ttdoc">A class to composite children paints. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1124</div></div>
<div class="ttc" id="group__ThorVG_html_gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6"><div class="ttname"><a href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6">tvg::Result::MemoryCorruption</a></div><div class="ttdoc">The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...</div></div>
<div class="ttc" id="group__ThorVG_html_gga0cfa2c92260cca776292cc9e8964f2daa74de3e45e4491e956e8dc18d841d9b00"><div class="ttname"><a href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa74de3e45e4491e956e8dc18d841d9b00">tvg::FillSpread::Reflect</a></div><div class="ttdoc">The gradient pattern is reflected outside the gradient area until the expected region is filled...</div></div>
-<div class="ttc" id="group__ThorVG_html_ga0cfa2c92260cca776292cc9e8964f2da"><div class="ttname"><a href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">tvg::FillSpread</a></div><div class="ttdeci">FillSpread</div><div class="ttdoc">Enumeration specifying how to fill the area outside the gradient bounds. </div><div class="ttdef"><b>Definition:</b> thorvg.h:118</div></div>
-<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_af4007aacd75b22aee32dba9ea96082c0"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0">tvg::Fill::ColorStop::a</a></div><div class="ttdeci">uint8_t a</div><div class="ttdef"><b>Definition:</b> thorvg.h:319</div></div>
-<div class="ttc" id="structtvg_1_1Point_html"><div class="ttname"><a href="structtvg_1_1Point.html">tvg::Point</a></div><div class="ttdoc">A data structure representing a point in two-dimensional space. </div><div class="ttdef"><b>Definition:</b> thorvg.h:158</div></div>
-<div class="ttc" id="classtvg_1_1Shape_html"><div class="ttname"><a href="classtvg_1_1Shape.html">tvg::Shape</a></div><div class="ttdoc">A class representing two-dimensional figures and their properties. </div><div class="ttdef"><b>Definition:</b> thorvg.h:587</div></div>
-<div class="ttc" id="classtvg_1_1SwCanvas_html_a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5"><div class="ttname"><a href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5">tvg::SwCanvas::Shareable</a></div><div class="ttdoc">Memory Pool is shared among the SwCanvases. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1143</div></div>
+<div class="ttc" id="group__ThorVG_html_ga0cfa2c92260cca776292cc9e8964f2da"><div class="ttname"><a href="group__ThorVG.html#ga0cfa2c92260cca776292cc9e8964f2da">tvg::FillSpread</a></div><div class="ttdeci">FillSpread</div><div class="ttdoc">Enumeration specifying how to fill the area outside the gradient bounds. </div><div class="ttdef"><b>Definition:</b> thorvg.h:128</div></div>
+<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_af4007aacd75b22aee32dba9ea96082c0"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#af4007aacd75b22aee32dba9ea96082c0">tvg::Fill::ColorStop::a</a></div><div class="ttdeci">uint8_t a</div><div class="ttdef"><b>Definition:</b> thorvg.h:351</div></div>
+<div class="ttc" id="structtvg_1_1Point_html"><div class="ttname"><a href="structtvg_1_1Point.html">tvg::Point</a></div><div class="ttdoc">A data structure representing a point in two-dimensional space. </div><div class="ttdef"><b>Definition:</b> thorvg.h:168</div></div>
+<div class="ttc" id="classtvg_1_1Shape_html"><div class="ttname"><a href="classtvg_1_1Shape.html">tvg::Shape</a></div><div class="ttdoc">A class representing two-dimensional figures and their properties. </div><div class="ttdef"><b>Definition:</b> thorvg.h:619</div></div>
+<div class="ttc" id="classtvg_1_1SwCanvas_html_a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5"><div class="ttname"><a href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5">tvg::SwCanvas::Shareable</a></div><div class="ttdoc">Memory Pool is shared among the SwCanvases. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1209</div></div>
<div class="ttc" id="group__ThorVG_html_ggaabdf94ada64e69d06deabc5aa6576f87a6adf97f83acf6453d4a6a4b1070f3754"><div class="ttname"><a href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a6adf97f83acf6453d4a6a4b1070f3754">tvg::CompositeMethod::None</a></div><div class="ttdoc">No composition is applied. </div></div>
<div class="ttc" id="group__ThorVG_html_gga9a534b0377c9ca41983d53b0dae0d5a4a268b61c62382fc1f9ca5cf52a4fece32"><div class="ttname"><a href="group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a268b61c62382fc1f9ca5cf52a4fece32">tvg::FillRule::Winding</a></div><div class="ttdoc">A line from the point to a location outside the shape is drawn. The intersections of the line with th...</div></div>
<div class="ttc" id="group__ThorVG_html_ggaabdf94ada64e69d06deabc5aa6576f87a59cc48dcf714e3a3c2492f4dce1fe134"><div class="ttname"><a href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a59cc48dcf714e3a3c2492f4dce1fe134">tvg::CompositeMethod::InvAlphaMask</a></div><div class="ttdoc">The pixels of the source and the complement to the target&#39;s pixels are alpha blended. As a result, only the part of the source which is not covered by the target is visible. </div></div>
-<div class="ttc" id="group__ThorVG_html_gaba8b7236c41a171289aef2f3c71eef51"><div class="ttname"><a href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">tvg::StrokeJoin</a></div><div class="ttdeci">StrokeJoin</div><div class="ttdoc">Enumeration determining the style used at the corners of joined stroked path segments. </div><div class="ttdef"><b>Definition:</b> thorvg.h:108</div></div>
+<div class="ttc" id="group__ThorVG_html_gaba8b7236c41a171289aef2f3c71eef51"><div class="ttname"><a href="group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51">tvg::StrokeJoin</a></div><div class="ttdeci">StrokeJoin</div><div class="ttdoc">Enumeration determining the style used at the corners of joined stroked path segments. </div><div class="ttdef"><b>Definition:</b> thorvg.h:118</div></div>
<div class="ttc" id="group__ThorVG_html_gga3dfc0651e85484b1011772dd9f8300dfa0f16de4274952a7184e059c5f2d048d6"><div class="ttname"><a href="group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa0f16de4274952a7184e059c5f2d048d6">tvg::CanvasEngine::Gl</a></div><div class="ttdoc">OpenGL rasterizer. </div></div>
-<div class="ttc" id="namespacetvg_html"><div class="ttname"><a href="namespacetvg.html">tvg</a></div><div class="ttdef"><b>Definition:</b> thorvg.h:52</div></div>
-<div class="ttc" id="classtvg_1_1Picture_html"><div class="ttname"><a href="classtvg_1_1Picture.html">tvg::Picture</a></div><div class="ttdoc">A class representing an image read in one of the supported formats: raw, svg, png and etc...</div><div class="ttdef"><b>Definition:</b> thorvg.h:956</div></div>
+<div class="ttc" id="namespacetvg_html"><div class="ttname"><a href="namespacetvg.html">tvg</a></div><div class="ttdef"><b>Definition:</b> thorvg.h:61</div></div>
+<div class="ttc" id="classtvg_1_1Picture_html"><div class="ttname"><a href="classtvg_1_1Picture.html">tvg::Picture</a></div><div class="ttdoc">A class representing an image read in one of the supported formats: raw, svg, png and etc...</div><div class="ttdef"><b>Definition:</b> thorvg.h:989</div></div>
<div class="ttc" id="group__ThorVG_html_gga0cfa2c92260cca776292cc9e8964f2daade43468adaf6acb2c38ebc0c1176f82f"><div class="ttname"><a href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daade43468adaf6acb2c38ebc0c1176f82f">tvg::FillSpread::Pad</a></div><div class="ttdoc">The remaining area is filled with the closest stop color. </div></div>
<div class="ttc" id="group__ThorVG_html_gga3dfc0651e85484b1011772dd9f8300dfa1f030517f6d25e8607a2a9a7f6227ebc"><div class="ttname"><a href="group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa1f030517f6d25e8607a2a9a7f6227ebc">tvg::CanvasEngine::Sw</a></div><div class="ttdoc">CPU rasterizer. </div></div>
-<div class="ttc" id="group__ThorVG_html_ga6876ed676934f4dbcc19b1b53c153cc1"><div class="ttname"><a href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">tvg::PathCommand</a></div><div class="ttdeci">PathCommand</div><div class="ttdoc">Enumeration specifying the values of the path commands accepted by TVG. </div><div class="ttdef"><b>Definition:</b> thorvg.h:87</div></div>
+<div class="ttc" id="group__ThorVG_html_ga6876ed676934f4dbcc19b1b53c153cc1"><div class="ttname"><a href="group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1">tvg::PathCommand</a></div><div class="ttdeci">PathCommand</div><div class="ttdoc">Enumeration specifying the values of the path commands accepted by TVG. </div><div class="ttdef"><b>Definition:</b> thorvg.h:97</div></div>
<div class="ttc" id="group__ThorVG_html_gga28287671eaf7406afd604bd055ba4066ae73a2e92f1c87086c838b442552a4775"><div class="ttname"><a href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae73a2e92f1c87086c838b442552a4775">tvg::Result::InvalidArguments</a></div><div class="ttdoc">The value returned in the event of a problem with the arguments given to the API - e...</div></div>
<div class="ttc" id="group__ThorVG_html_gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38">tvg::Result::Success</a></div><div class="ttdoc">The value returned in case of a correct request execution. </div></div>
-<div class="ttc" id="classtvg_1_1SwCanvas_html"><div class="ttname"><a href="classtvg_1_1SwCanvas.html">tvg::SwCanvas</a></div><div class="ttdoc">A class for the rendering graphical elements with a software raster engine. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1121</div></div>
+<div class="ttc" id="classtvg_1_1SwCanvas_html"><div class="ttname"><a href="classtvg_1_1SwCanvas.html">tvg::SwCanvas</a></div><div class="ttdoc">A class for the rendering graphical elements with a software raster engine. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1188</div></div>
<div class="ttc" id="group__ThorVG_html_gga6876ed676934f4dbcc19b1b53c153cc1ac8cd9cd16086764627079ed21bfc4e29"><div class="ttname"><a href="group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ac8cd9cd16086764627079ed21bfc4e29">tvg::PathCommand::CubicTo</a></div><div class="ttdoc">Draws a cubic Bezier curve from the current point to the given point using two given control points a...</div></div>
<div class="ttc" id="group__ThorVG_html_gga6239974a858100e129f1e0b8ffac4f96ab2635ed1075287dea1eb1598a90df1fe"><div class="ttname"><a href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab2635ed1075287dea1eb1598a90df1fe">tvg::StrokeCap::Butt</a></div><div class="ttdoc">The stroke ends exactly at each of the two end-points of a sub-path. For zero length sub-paths no str...</div></div>
<div class="ttc" id="group__ThorVG_html_gga0cfa2c92260cca776292cc9e8964f2daa7020426cfb0a204051be4b3053d2acc8"><div class="ttname"><a href="group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa7020426cfb0a204051be4b3053d2acc8">tvg::FillSpread::Repeat</a></div><div class="ttdoc">The gradient pattern is repeated continuously beyond the gradient area until the expected region is f...</div></div>
-<div class="ttc" id="classtvg_1_1SwCanvas_html_a7a7e24cdb2a27271343f0adceff89f65"><div class="ttname"><a href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65">tvg::SwCanvas::Colorspace</a></div><div class="ttdeci">Colorspace</div><div class="ttdoc">Enumeration specifying the methods of combining the 8-bit color channels into 32-bit color...</div><div class="ttdef"><b>Definition:</b> thorvg.h:1129</div></div>
-<div class="ttc" id="classtvg_1_1GlCanvas_html"><div class="ttname"><a href="classtvg_1_1GlCanvas.html">tvg::GlCanvas</a></div><div class="ttdoc">A class for the rendering graphic elements with a GL raster engine. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1211</div></div>
+<div class="ttc" id="classtvg_1_1SwCanvas_html_a7a7e24cdb2a27271343f0adceff89f65"><div class="ttname"><a href="classtvg_1_1SwCanvas.html#a7a7e24cdb2a27271343f0adceff89f65">tvg::SwCanvas::Colorspace</a></div><div class="ttdeci">Colorspace</div><div class="ttdoc">Enumeration specifying the methods of combining the 8-bit color channels into 32-bit color...</div><div class="ttdef"><b>Definition:</b> thorvg.h:1196</div></div>
+<div class="ttc" id="classtvg_1_1GlCanvas_html"><div class="ttname"><a href="classtvg_1_1GlCanvas.html">tvg::GlCanvas</a></div><div class="ttdoc">A class for the rendering graphic elements with a GL raster engine. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1277</div></div>
<div class="ttc" id="group__ThorVG_html_ggaba8b7236c41a171289aef2f3c71eef51a1b9ae4ca6d43fc984af318046e1e7bb5"><div class="ttname"><a href="group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51a1b9ae4ca6d43fc984af318046e1e7bb5">tvg::StrokeJoin::Bevel</a></div><div class="ttdoc">The outer corner of the joined path segments is bevelled at the join point. The triangular region of ...</div></div>
<div class="ttc" id="group__ThorVG_html_gga6239974a858100e129f1e0b8ffac4f96aceb46ca115d05c51aa5a16a8867c3304"><div class="ttname"><a href="group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96aceb46ca115d05c51aa5a16a8867c3304">tvg::StrokeCap::Square</a></div><div class="ttdoc">The stroke is extended in both end-points of a sub-path by a rectangle, with the width equal to the s...</div></div>
-<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html">tvg::Fill::ColorStop</a></div><div class="ttdoc">A data structure storing the information about the color and its relative position inside the gradien...</div><div class="ttdef"><b>Definition:</b> thorvg.h:313</div></div>
-<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a4313c9563516f94387762ab05763456b"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b">tvg::Fill::ColorStop::b</a></div><div class="ttdeci">uint8_t b</div><div class="ttdef"><b>Definition:</b> thorvg.h:318</div></div>
-<div class="ttc" id="group__ThorVG_html_ga28287671eaf7406afd604bd055ba4066"><div class="ttname"><a href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">tvg::Result</a></div><div class="ttdeci">Result</div><div class="ttdoc">Enumeration specifying the result from the APIs. </div><div class="ttdef"><b>Definition:</b> thorvg.h:70</div></div>
-<div class="ttc" id="group__ThorVG_html_gaabdf94ada64e69d06deabc5aa6576f87"><div class="ttname"><a href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">tvg::CompositeMethod</a></div><div class="ttdeci">CompositeMethod</div><div class="ttdoc">Enumeration indicating the method used in the composition of two objects - the target and the source...</div><div class="ttdef"><b>Definition:</b> thorvg.h:137</div></div>
-<div class="ttc" id="classtvg_1_1Paint_html"><div class="ttname"><a href="classtvg_1_1Paint.html">tvg::Paint</a></div><div class="ttdoc">An abstract class for managing graphical elements. </div><div class="ttdef"><b>Definition:</b> thorvg.h:188</div></div>
+<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html">tvg::Fill::ColorStop</a></div><div class="ttdoc">A data structure storing the information about the color and its relative position inside the gradien...</div><div class="ttdef"><b>Definition:</b> thorvg.h:345</div></div>
+<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a4313c9563516f94387762ab05763456b"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a4313c9563516f94387762ab05763456b">tvg::Fill::ColorStop::b</a></div><div class="ttdeci">uint8_t b</div><div class="ttdef"><b>Definition:</b> thorvg.h:350</div></div>
+<div class="ttc" id="group__ThorVG_html_ga28287671eaf7406afd604bd055ba4066"><div class="ttname"><a href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">tvg::Result</a></div><div class="ttdeci">Result</div><div class="ttdoc">Enumeration specifying the result from the APIs. </div><div class="ttdef"><b>Definition:</b> thorvg.h:80</div></div>
+<div class="ttc" id="group__ThorVG_html_gaabdf94ada64e69d06deabc5aa6576f87"><div class="ttname"><a href="group__ThorVG.html#gaabdf94ada64e69d06deabc5aa6576f87">tvg::CompositeMethod</a></div><div class="ttdeci">CompositeMethod</div><div class="ttdoc">Enumeration indicating the method used in the composition of two objects - the target and the source...</div><div class="ttdef"><b>Definition:</b> thorvg.h:147</div></div>
+<div class="ttc" id="classtvg_1_1Paint_html"><div class="ttname"><a href="classtvg_1_1Paint.html">tvg::Paint</a></div><div class="ttdoc">An abstract class for managing graphical elements. </div><div class="ttdef"><b>Definition:</b> thorvg.h:198</div></div>
<div class="ttc" id="group__ThorVG_html_gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29"><div class="ttname"><a href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29">tvg::Result::NonSupport</a></div><div class="ttdoc">The value returned in case of choosing unsupported options. </div></div>
-<div class="ttc" id="classtvg_1_1Canvas_html"><div class="ttname"><a href="classtvg_1_1Canvas.html">tvg::Canvas</a></div><div class="ttdoc">An abstract class for drawing graphical elements. </div><div class="ttdef"><b>Definition:</b> thorvg.h:383</div></div>
-<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a3e60b3c561be982d7c8e23f14c01fd5b"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b">tvg::Fill::ColorStop::offset</a></div><div class="ttdeci">float offset</div><div class="ttdef"><b>Definition:</b> thorvg.h:315</div></div>
-<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a1673907d4d89d763bb7b94ec1eeb7b60"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60">tvg::Fill::ColorStop::g</a></div><div class="ttdeci">uint8_t g</div><div class="ttdef"><b>Definition:</b> thorvg.h:317</div></div>
+<div class="ttc" id="classtvg_1_1Canvas_html"><div class="ttname"><a href="classtvg_1_1Canvas.html">tvg::Canvas</a></div><div class="ttdoc">An abstract class for drawing graphical elements. </div><div class="ttdef"><b>Definition:</b> thorvg.h:415</div></div>
+<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a3e60b3c561be982d7c8e23f14c01fd5b"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b">tvg::Fill::ColorStop::offset</a></div><div class="ttdeci">float offset</div><div class="ttdef"><b>Definition:</b> thorvg.h:347</div></div>
+<div class="ttc" id="structtvg_1_1Fill_1_1ColorStop_html_a1673907d4d89d763bb7b94ec1eeb7b60"><div class="ttname"><a href="structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60">tvg::Fill::ColorStop::g</a></div><div class="ttdeci">uint8_t g</div><div class="ttdef"><b>Definition:</b> thorvg.h:349</div></div>
<div class="ttc" id="group__ThorVG_html_gga9a534b0377c9ca41983d53b0dae0d5a4a8e586e4bd2c45e86222301f2e6e0e390"><div class="ttname"><a href="group__ThorVG.html#gga9a534b0377c9ca41983d53b0dae0d5a4a8e586e4bd2c45e86222301f2e6e0e390">tvg::FillRule::EvenOdd</a></div><div class="ttdoc">A line from the point to a location outside the shape is drawn and its intersections with the path se...</div></div>
-<div class="ttc" id="structtvg_1_1Matrix_html"><div class="ttname"><a href="structtvg_1_1Matrix.html">tvg::Matrix</a></div><div class="ttdoc">A data structure representing a three-dimensional matrix. </div><div class="ttdef"><b>Definition:</b> thorvg.h:171</div></div>
-<div class="ttc" id="group__ThorVG_html_ga3dfc0651e85484b1011772dd9f8300df"><div class="ttname"><a href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">tvg::CanvasEngine</a></div><div class="ttdeci">CanvasEngine</div><div class="ttdoc">Enumeration specifying the engine type used for the graphics backend. For multiple backeneds bitwise ...</div><div class="ttdef"><b>Definition:</b> thorvg.h:148</div></div>
+<div class="ttc" id="structtvg_1_1Matrix_html"><div class="ttname"><a href="structtvg_1_1Matrix.html">tvg::Matrix</a></div><div class="ttdoc">A data structure representing a three-dimensional matrix. </div><div class="ttdef"><b>Definition:</b> thorvg.h:181</div></div>
+<div class="ttc" id="group__ThorVG_html_ga3dfc0651e85484b1011772dd9f8300df"><div class="ttname"><a href="group__ThorVG.html#ga3dfc0651e85484b1011772dd9f8300df">tvg::CanvasEngine</a></div><div class="ttdeci">CanvasEngine</div><div class="ttdoc">Enumeration specifying the engine type used for the graphics backend. For multiple backeneds bitwise ...</div><div class="ttdef"><b>Definition:</b> thorvg.h:158</div></div>
<div class="ttc" id="group__ThorVG_html_ggaba8b7236c41a171289aef2f3c71eef51ae4396f81cd926bb129ccf3c147c64514"><div class="ttname"><a href="group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51ae4396f81cd926bb129ccf3c147c64514">tvg::StrokeJoin::Miter</a></div><div class="ttdoc">The outer corner of the joined path segments is spiked. The spike is created by extension beyond the ...</div></div>
-<div class="ttc" id="classtvg_1_1LinearGradient_html"><div class="ttname"><a href="classtvg_1_1LinearGradient.html">tvg::LinearGradient</a></div><div class="ttdoc">A class representing the linear gradient fill of the Shape object. </div><div class="ttdef"><b>Definition:</b> thorvg.h:479</div></div>
-<div class="ttc" id="classtvg_1_1Initializer_html"><div class="ttname"><a href="classtvg_1_1Initializer.html">tvg::Initializer</a></div><div class="ttdoc">A class that enables initialization and termination of the TVG engines. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1243</div></div>
+<div class="ttc" id="classtvg_1_1LinearGradient_html"><div class="ttname"><a href="classtvg_1_1LinearGradient.html">tvg::LinearGradient</a></div><div class="ttdoc">A class representing the linear gradient fill of the Shape object. </div><div class="ttdef"><b>Definition:</b> thorvg.h:511</div></div>
+<div class="ttc" id="classtvg_1_1Initializer_html"><div class="ttname"><a href="classtvg_1_1Initializer.html">tvg::Initializer</a></div><div class="ttdoc">A class that enables initialization and termination of the TVG engines. </div><div class="ttdef"><b>Definition:</b> thorvg.h:1309</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
-<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
-<meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>ThorVG: /home/hermet/Projects/thorvg/inc/thorvg_capi.h Source File</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="search/search.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="search/searchdata.js"></script>
-<script type="text/javascript" src="search/search.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
-<div id="titlearea">
-<table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="small_logo.svg"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">ThorVG
-  <span id="projectnumber">v0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-</script>
-<div id="main-nav"></div>
-<!-- window showing the filter options -->
-<div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
-</div>
-
-<!-- iframe showing the search results (closed by default) -->
-<div id="MSearchResultsWindow">
-<iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
-</iframe>
-</div>
-
-<div id="nav-path" class="navpath">
- <ul>
-<li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li> </ul>
-</div>
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">thorvg_capi.h</div> </div>
-</div><!--header-->
-<div class="contents">
-<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef __THORVG_CAPI_H__</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define __THORVG_CAPI_H__</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <stdbool.h></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifdef TVG_EXPORT</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"> #undef TVG_EXPORT</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifdef TVG_BUILD</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"> #define TVG_EXPORT __attribute__ ((visibility ("default")))</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"> #define TVG_EXPORT</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Initializer.html#ga9502ec8d4433abfcf1f92cfb1aa36d78"> 51</a></span> <span class="preprocessor">#define TVG_ENGINE_SW (1 << 1)</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Initializer.html#ga47a4b3bac424698c6c3a21bc4e5aaca3"> 59</a></span> <span class="preprocessor">#define TVG_ENGINE_GL (1 << 2)</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Canvas.html#gaf725660036dd84e472025fb391bdc206"> 67</a></span> <span class="preprocessor">#define TVG_COLORSPACE_ABGR8888 0</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Canvas.html#ga613ef63fe96cb341c95e7fee39bf660a"> 75</a></span> <span class="preprocessor">#define TVG_COLORSPACE_ARGB8888 1</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a"> 83</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>_Tvg_Canvas <a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292"> 91</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>_Tvg_Paint <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181"> 97</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>_Tvg_Gradient <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781"> 103</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47"> 104</a></span>  <a class="code" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47">TVG_RESULT_SUCCESS</a> = 0, </div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e"> 105</a></span>  <a class="code" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e">TVG_RESULT_INVALID_ARGUMENT</a>, </div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3"> 106</a></span>  <a class="code" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3">TVG_RESULT_INSUFFICIENT_CONDITION</a>, </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59"> 107</a></span>  <a class="code" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59">TVG_RESULT_FAILED_ALLOCATION</a>, </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b"> 108</a></span>  <a class="code" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b">TVG_RESULT_MEMORY_CORRUPTION</a>, </div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24"> 109</a></span>  <a class="code" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24">TVG_RESULT_NOT_SUPPORTED</a>, </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109"> 110</a></span>  <a class="code" href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109">TVG_RESULT_UNKNOWN</a> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> } <a class="code" href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a>;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a"> 119</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375"> 120</a></span>  <a class="code" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375">TVG_COMPOSITE_METHOD_NONE</a> = 0, </div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852"> 121</a></span>  <a class="code" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852">TVG_COMPOSITE_METHOD_CLIP_PATH</a>, </div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a"> 122</a></span>  <a class="code" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a">TVG_COMPOSITE_METHOD_ALPHA_MASK</a>, </div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759"> 123</a></span>  <a class="code" href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759">TVG_COMPOSITE_METHOD_INVERSE_ALPHA_MASK</a>, </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> } <a class="code" href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a">Tvg_Composite_Method</a>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77"> 138</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1"> 139</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1">TVG_PATH_COMMAND_CLOSE</a> = 0, </div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821"> 140</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821">TVG_PATH_COMMAND_MOVE_TO</a>, </div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536"> 141</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536">TVG_PATH_COMMAND_LINE_TO</a>, </div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26"> 142</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26">TVG_PATH_COMMAND_CUBIC_TO</a> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> } <a class="code" href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a>;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3"> 149</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4"> 150</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4">TVG_STROKE_CAP_SQUARE</a> = 0, </div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08"> 151</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08">TVG_STROKE_CAP_ROUND</a>, </div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796"> 152</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796">TVG_STROKE_CAP_BUTT</a> </div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> } <a class="code" href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a>;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed"> 159</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168"> 160</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168">TVG_STROKE_JOIN_BEVEL</a> = 0, </div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee"> 161</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee">TVG_STROKE_JOIN_ROUND</a>, </div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d"> 162</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d">TVG_STROKE_JOIN_MITER</a> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> } <a class="code" href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a>;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7"> 169</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce"> 170</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce">TVG_STROKE_FILL_PAD</a> = 0, </div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038"> 171</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038">TVG_STROKE_FILL_REFLECT</a>, </div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2"> 172</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2">TVG_STROKE_FILL_REPEAT</a> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> } <a class="code" href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a>;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695"> 179</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190"> 180</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190">TVG_FILL_RULE_WINDING</a> = 0, </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88"> 181</a></span>  <a class="code" href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88">TVG_FILL_RULE_EVEN_ODD</a> </div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> } <a class="code" href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a>;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="comment">// end addtogroup ThorVGCapi_Shape</span></div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="structTvg__Color__Stop.html"> 195</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> {</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b"> 197</a></span>  <span class="keywordtype">float</span> <a class="code" href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">offset</a>; </div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a"> 198</a></span>  uint8_t <a class="code" href="structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a">r</a>; </div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60"> 199</a></span>  uint8_t <a class="code" href="structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60">g</a>; </div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b"> 200</a></span>  uint8_t <a class="code" href="structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b">b</a>; </div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0"> 201</a></span>  uint8_t <a class="code" href="structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0">a</a>; </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> } <a class="code" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a>;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="comment">// end addtogroup ThorVGCapi_Gradient</span></div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="structTvg__Point.html"> 210</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> {</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">float</span> x, y;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> } <a class="code" href="structTvg__Point.html">Tvg_Point</a>;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="structTvg__Matrix.html"> 219</a></span> <span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">float</span> e11, e12, e13;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">float</span> e21, e22, e23;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordtype">float</span> e31, e32, e33;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> } <a class="code" href="structTvg__Matrix.html">Tvg_Matrix</a>;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> </div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment">/* Engine API */</span></div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a>(<span class="keywordtype">unsigned</span> engine_method, <span class="keywordtype">unsigned</span> threads);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a>(<span class="keywordtype">unsigned</span> engine_method);</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="comment">// end defgroup ThorVGCapi_Initializer</span></div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="comment">/* SwCanvas API */</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> TVG_EXPORT <a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* <a class="code" href="group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433">tvg_swcanvas_create</a>();</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> </div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">tvg_swcanvas_set_target</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas, uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, uint32_t cs);</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="comment">// end defgroup ThorVGCapi_SwCanvas</span></div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> </div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span> <span class="comment">/* Common Canvas API */</span></div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas);</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> </div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#ga0e4daf723d6080d526ce0aa4111a1439">tvg_canvas_push</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas, <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint);</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span> </div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span> </div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2">tvg_canvas_reserve</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas, uint32_t n);</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span> </div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80">tvg_canvas_clear</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas, <span class="keywordtype">bool</span> free);</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span> </div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span> </div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#ga7c43ae4fb1a06afbe3616b4552740edf">tvg_canvas_update</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas);</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span> </div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#ga50761cba3cc3143a90f72124a597216f">tvg_canvas_update_paint</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas, <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint);</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span> </div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span> </div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#ga0be96c28afddf9cf252d68a431438632">tvg_canvas_draw</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas);</div><div class="line"><a name="l00603"></a><span class="lineno"> 603</span> </div><div class="line"><a name="l00604"></a><span class="lineno"> 604</span> </div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7">tvg_canvas_sync</a>(<a class="code" href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a>* canvas);</div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span> </div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span>  <span class="comment">// end defgroup ThorVGCapi_Canvas</span></div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span> </div><div class="line"><a name="l00623"></a><span class="lineno"> 623</span> </div><div class="line"><a name="l00631"></a><span class="lineno"> 631</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00632"></a><span class="lineno"> 632</span> <span class="comment">/* Paint API */</span></div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170">tvg_paint_del</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint);</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span> </div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span> </div><div class="line"><a name="l00678"></a><span class="lineno"> 678</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#gad91401c9574f634f0f744d8e5903203b">tvg_paint_scale</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> factor);</div><div class="line"><a name="l00679"></a><span class="lineno"> 679</span> </div><div class="line"><a name="l00680"></a><span class="lineno"> 680</span> </div><div class="line"><a name="l00692"></a><span class="lineno"> 692</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#ga60ab7fce408fc3065d77895855fcf532">tvg_paint_rotate</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> degree);</div><div class="line"><a name="l00693"></a><span class="lineno"> 693</span> </div><div class="line"><a name="l00694"></a><span class="lineno"> 694</span> </div><div class="line"><a name="l00707"></a><span class="lineno"> 707</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#gaf7c5c66bd41da9262996ee9a9def42ff">tvg_paint_translate</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div><div class="line"><a name="l00708"></a><span class="lineno"> 708</span> </div><div class="line"><a name="l00709"></a><span class="lineno"> 709</span> </div><div class="line"><a name="l00721"></a><span class="lineno"> 721</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#ga20305aeb11a622e2651ac514296ef008">tvg_paint_transform</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keyword">const</span> <a class="code" href="structTvg__Matrix.html">Tvg_Matrix</a>* m);</div><div class="line"><a name="l00722"></a><span class="lineno"> 722</span> </div><div class="line"><a name="l00723"></a><span class="lineno"> 723</span> </div><div class="line"><a name="l00736"></a><span class="lineno"> 736</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#ga9b621889be1a6aac905a6564d71a800f">tvg_paint_set_opacity</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, uint8_t opacity);</div><div class="line"><a name="l00737"></a><span class="lineno"> 737</span> </div><div class="line"><a name="l00738"></a><span class="lineno"> 738</span> </div><div class="line"><a name="l00749"></a><span class="lineno"> 749</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#ga17ee85c79749f4ee89766e3ad9a5a975">tvg_paint_get_opacity</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, uint8_t* opacity);</div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span> </div><div class="line"><a name="l00751"></a><span class="lineno"> 751</span> </div><div class="line"><a name="l00761"></a><span class="lineno"> 761</span> TVG_EXPORT <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* <a class="code" href="group__ThorVGCapi__Paint.html#gae7852760d3f05e2d7ce0c899535d223b">tvg_paint_duplicate</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint);</div><div class="line"><a name="l00762"></a><span class="lineno"> 762</span> </div><div class="line"><a name="l00763"></a><span class="lineno"> 763</span> </div><div class="line"><a name="l00778"></a><span class="lineno"> 778</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#gaae4eee0f8e66407fc933f1552f913d6b">tvg_paint_get_bounds</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h);</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span> </div><div class="line"><a name="l00780"></a><span class="lineno"> 780</span> </div><div class="line"><a name="l00792"></a><span class="lineno"> 792</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Paint.html#ga5af1043991b0de19c888855feeab2e5d">tvg_paint_set_composite_method</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* target, Tvg_Composite_Method method);</div><div class="line"><a name="l00793"></a><span class="lineno"> 793</span> </div><div class="line"><a name="l00794"></a><span class="lineno"> 794</span>  <span class="comment">// end defgroup ThorVGCapi_Paint</span></div><div class="line"><a name="l00796"></a><span class="lineno"> 796</span> </div><div class="line"><a name="l00797"></a><span class="lineno"> 797</span> </div><div class="line"><a name="l00813"></a><span class="lineno"> 813</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00814"></a><span class="lineno"> 814</span> <span class="comment">/* Shape API */</span></div><div class="line"><a name="l00815"></a><span class="lineno"> 815</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l00821"></a><span class="lineno"> 821</span> TVG_EXPORT <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* <a class="code" href="group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d">tvg_shape_new</a>();</div><div class="line"><a name="l00822"></a><span class="lineno"> 822</span> </div><div class="line"><a name="l00823"></a><span class="lineno"> 823</span> </div><div class="line"><a name="l00837"></a><span class="lineno"> 837</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gae5b23d6696a1b4012270a93210750e77">tvg_shape_reset</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint);</div><div class="line"><a name="l00838"></a><span class="lineno"> 838</span> </div><div class="line"><a name="l00839"></a><span class="lineno"> 839</span> </div><div class="line"><a name="l00853"></a><span class="lineno"> 853</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga892eb9130555a02a6e6bec3c91a7de3c">tvg_shape_move_to</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div><div class="line"><a name="l00854"></a><span class="lineno"> 854</span> </div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span> </div><div class="line"><a name="l00871"></a><span class="lineno"> 871</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga715e047ef4d45ced617f9ed000df1842">tvg_shape_line_to</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div><div class="line"><a name="l00872"></a><span class="lineno"> 872</span> </div><div class="line"><a name="l00873"></a><span class="lineno"> 873</span> </div><div class="line"><a name="l00894"></a><span class="lineno"> 894</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga275080e39eba2bc732625be046292176">tvg_shape_cubic_to</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> cx1, <span class="keywordtype">float</span> cy1, <span class="keywordtype">float</span> cx2, <span class="keywordtype">float</span> cy2, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div><div class="line"><a name="l00895"></a><span class="lineno"> 895</span> </div><div class="line"><a name="l00896"></a><span class="lineno"> 896</span> </div><div class="line"><a name="l00910"></a><span class="lineno"> 910</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga99049e9ec53866666fdec34f05d084b1">tvg_shape_close</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint);</div><div class="line"><a name="l00911"></a><span class="lineno"> 911</span> </div><div class="line"><a name="l00912"></a><span class="lineno"> 912</span> </div><div class="line"><a name="l00940"></a><span class="lineno"> 940</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291">tvg_shape_append_rect</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> w, <span class="keywordtype">float</span> h, <span class="keywordtype">float</span> rx, <span class="keywordtype">float</span> ry);</div><div class="line"><a name="l00941"></a><span class="lineno"> 941</span> </div><div class="line"><a name="l00942"></a><span class="lineno"> 942</span> </div><div class="line"><a name="l00962"></a><span class="lineno"> 962</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39">tvg_shape_append_circle</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> rx, <span class="keywordtype">float</span> ry);</div><div class="line"><a name="l00963"></a><span class="lineno"> 963</span> </div><div class="line"><a name="l00964"></a><span class="lineno"> 964</span> </div><div class="line"><a name="l00985"></a><span class="lineno"> 985</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga237a7a1bc5274dd7ffc7355be48888fd">tvg_shape_append_arc</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> radius, <span class="keywordtype">float</span> startAngle, <span class="keywordtype">float</span> sweep, uint8_t pie);</div><div class="line"><a name="l00986"></a><span class="lineno"> 986</span> </div><div class="line"><a name="l00987"></a><span class="lineno"> 987</span> </div><div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga31d8aaa35a50228b0b343471ff0d77b3">tvg_shape_append_path</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keyword">const</span> Tvg_Path_Command* cmds, uint32_t cmdCnt, <span class="keyword">const</span> <a class="code" href="structTvg__Point.html">Tvg_Point</a>* pts, uint32_t ptsCnt);</div><div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> </div><div class="line"><a name="l01006"></a><span class="lineno"> 1006</span> </div><div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gad5323f2c523a6a14b89ed105f3450108">tvg_shape_get_path_coords</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keyword">const</span> <a class="code" href="structTvg__Point.html">Tvg_Point</a>** pts, uint32_t* cnt);</div><div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> </div><div class="line"><a name="l01032"></a><span class="lineno"> 1032</span> </div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gacd0ecb2f60ad6ab2e616e5870e1857aa">tvg_shape_get_path_commands</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keyword">const</span> Tvg_Path_Command** cmds, uint32_t* cnt);</div><div class="line"><a name="l01057"></a><span class="lineno"> 1057</span> </div><div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> </div><div class="line"><a name="l01070"></a><span class="lineno"> 1070</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gae3a63091a9c00c796ecadf3e6983c5fd">tvg_shape_set_stroke_width</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span> width);</div><div class="line"><a name="l01071"></a><span class="lineno"> 1071</span> </div><div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> </div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga6964fd905664d48bf7252d6c67cb4dcd">tvg_shape_get_stroke_width</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span>* width);</div><div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> </div><div class="line"><a name="l01085"></a><span class="lineno"> 1085</span> </div><div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga9c1d8aaf73da6f4386cce28a245d3f27">tvg_shape_set_stroke_color</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, uint8_t r, uint8_t g, uint8_t b, uint8_t a);</div><div class="line"><a name="l01103"></a><span class="lineno"> 1103</span> </div><div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> </div><div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gad63d7d12327f3d9912999de2a2504b8d">tvg_shape_get_stroke_color</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a);</div><div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> </div><div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> </div><div class="line"><a name="l01135"></a><span class="lineno"> 1135</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gae15955526c9e519ea204b77aa91de111">tvg_shape_set_stroke_linear_gradient</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad);</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span> </div><div class="line"><a name="l01137"></a><span class="lineno"> 1137</span> </div><div class="line"><a name="l01152"></a><span class="lineno"> 1152</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga0b1d28f178f276d379ca2c14fd7d869c">tvg_shape_set_stroke_radial_gradient</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad);</div><div class="line"><a name="l01153"></a><span class="lineno"> 1153</span> </div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span> </div><div class="line"><a name="l01167"></a><span class="lineno"> 1167</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga48c323d84e770c561c14bfc586240b96">tvg_shape_get_stroke_gradient</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>** grad);</div><div class="line"><a name="l01168"></a><span class="lineno"> 1168</span> </div><div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> </div><div class="line"><a name="l01189"></a><span class="lineno"> 1189</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gaab74503fd357cfaf7727c25278b71531">tvg_shape_set_stroke_dash</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keyword">const</span> <span class="keywordtype">float</span>* dashPattern, uint32_t cnt);</div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> </div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span> </div><div class="line"><a name="l01205"></a><span class="lineno"> 1205</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga40dd2d0753ce8a3018e02a7382abe04f">tvg_shape_get_stroke_dash</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keyword">const</span> <span class="keywordtype">float</span>** dashPattern, uint32_t* cnt);</div><div class="line"><a name="l01206"></a><span class="lineno"> 1206</span> </div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span> </div><div class="line"><a name="l01221"></a><span class="lineno"> 1221</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gabb5f5cfe6ff8098efcde6f80c56ca200">tvg_shape_set_stroke_cap</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, Tvg_Stroke_Cap cap);</div><div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> </div><div class="line"><a name="l01223"></a><span class="lineno"> 1223</span> </div><div class="line"><a name="l01234"></a><span class="lineno"> 1234</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gaad894f66bc9bbd8f91c351aff534536b">tvg_shape_get_stroke_cap</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, Tvg_Stroke_Cap* cap);</div><div class="line"><a name="l01235"></a><span class="lineno"> 1235</span> </div><div class="line"><a name="l01236"></a><span class="lineno"> 1236</span> </div><div class="line"><a name="l01248"></a><span class="lineno"> 1248</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga34cb2634d8e9b603f22d4112b346c32a">tvg_shape_set_stroke_join</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, Tvg_Stroke_Join join);</div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span> </div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span> </div><div class="line"><a name="l01261"></a><span class="lineno"> 1261</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gae31a53e787b763eaf8a0268edeab76a1">tvg_shape_get_stroke_join</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, Tvg_Stroke_Join* join);</div><div class="line"><a name="l01262"></a><span class="lineno"> 1262</span> </div><div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> </div><div class="line"><a name="l01282"></a><span class="lineno"> 1282</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga9671d893c912383df0840c2915e3d88b">tvg_shape_set_fill_color</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, uint8_t r, uint8_t g, uint8_t b, uint8_t a);</div><div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> </div><div class="line"><a name="l01284"></a><span class="lineno"> 1284</span> </div><div class="line"><a name="l01298"></a><span class="lineno"> 1298</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gaaf9b92ffb5736b1ab808b4f15356dd08">tvg_shape_get_fill_color</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a);</div><div class="line"><a name="l01299"></a><span class="lineno"> 1299</span> </div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span> </div><div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba">tvg_shape_set_fill_rule</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, Tvg_Fill_Rule rule);</div><div class="line"><a name="l01312"></a><span class="lineno"> 1312</span> </div><div class="line"><a name="l01313"></a><span class="lineno"> 1313</span> </div><div class="line"><a name="l01324"></a><span class="lineno"> 1324</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gaeebedc65bb77544aeb05980465284947">tvg_shape_get_fill_rule</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, Tvg_Fill_Rule* rule);</div><div class="line"><a name="l01325"></a><span class="lineno"> 1325</span> </div><div class="line"><a name="l01326"></a><span class="lineno"> 1326</span> </div><div class="line"><a name="l01357"></a><span class="lineno"> 1357</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga02aa5aa9a017270ce0375b1b9db75d57">tvg_shape_set_linear_gradient</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad);</div><div class="line"><a name="l01358"></a><span class="lineno"> 1358</span> </div><div class="line"><a name="l01359"></a><span class="lineno"> 1359</span> </div><div class="line"><a name="l01390"></a><span class="lineno"> 1390</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#gabd7b9020f1058aa9e9fae9b683265ef8">tvg_shape_set_radial_gradient</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad);</div><div class="line"><a name="l01391"></a><span class="lineno"> 1391</span> </div><div class="line"><a name="l01392"></a><span class="lineno"> 1392</span> </div><div class="line"><a name="l01405"></a><span class="lineno"> 1405</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Shape.html#ga962f01af5960ad4dd2e1da2f6a0336b9">tvg_shape_get_gradient</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>** grad);</div><div class="line"><a name="l01406"></a><span class="lineno"> 1406</span> </div><div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>  <span class="comment">// end defgroup ThorVGCapi_Shape</span></div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span> </div><div class="line"><a name="l01410"></a><span class="lineno"> 1410</span> </div><div class="line"><a name="l01422"></a><span class="lineno"> 1422</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l01423"></a><span class="lineno"> 1423</span> <span class="comment">/* Gradient API */</span></div><div class="line"><a name="l01424"></a><span class="lineno"> 1424</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span> TVG_EXPORT <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* <a class="code" href="group__ThorVGCapi__Gradient.html#gab77d80df3c269fa531e7b81c8e8410d2">tvg_linear_gradient_new</a>();</div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span> </div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</span> </div><div class="line"><a name="l01466"></a><span class="lineno"> 1466</span> TVG_EXPORT <a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* <a class="code" href="group__ThorVGCapi__Gradient.html#ga7dc487e5d1557961cd2cc31a42daeb28">tvg_radial_gradient_new</a>();</div><div class="line"><a name="l01467"></a><span class="lineno"> 1467</span> </div><div class="line"><a name="l01468"></a><span class="lineno"> 1468</span> </div><div class="line"><a name="l01486"></a><span class="lineno"> 1486</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b">tvg_linear_gradient_set</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, <span class="keywordtype">float</span> x1, <span class="keywordtype">float</span> y1, <span class="keywordtype">float</span> x2, <span class="keywordtype">float</span> y2);</div><div class="line"><a name="l01487"></a><span class="lineno"> 1487</span> </div><div class="line"><a name="l01488"></a><span class="lineno"> 1488</span> </div><div class="line"><a name="l01506"></a><span class="lineno"> 1506</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#gaa503fc8455eb63acda4b3ff0737f4d4e">tvg_linear_gradient_get</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, <span class="keywordtype">float</span>* x1, <span class="keywordtype">float</span>* y1, <span class="keywordtype">float</span>* x2, <span class="keywordtype">float</span>* y2);</div><div class="line"><a name="l01507"></a><span class="lineno"> 1507</span> </div><div class="line"><a name="l01508"></a><span class="lineno"> 1508</span> </div><div class="line"><a name="l01523"></a><span class="lineno"> 1523</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#ga321045b5fda8e8e002c4837bd03ccdac">tvg_radial_gradient_set</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, <span class="keywordtype">float</span> cx, <span class="keywordtype">float</span> cy, <span class="keywordtype">float</span> radius);</div><div class="line"><a name="l01524"></a><span class="lineno"> 1524</span> </div><div class="line"><a name="l01525"></a><span class="lineno"> 1525</span> </div><div class="line"><a name="l01538"></a><span class="lineno"> 1538</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#gaabab5eabf6d11b95b96e9c543a341199">tvg_radial_gradient_get</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, <span class="keywordtype">float</span>* cx, <span class="keywordtype">float</span>* cy, <span class="keywordtype">float</span>* radius);</div><div class="line"><a name="l01539"></a><span class="lineno"> 1539</span> </div><div class="line"><a name="l01540"></a><span class="lineno"> 1540</span> </div><div class="line"><a name="l01552"></a><span class="lineno"> 1552</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48">tvg_gradient_set_color_stops</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, <span class="keyword">const</span> <a class="code" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a>* color_stop, uint32_t cnt);</div><div class="line"><a name="l01553"></a><span class="lineno"> 1553</span> </div><div class="line"><a name="l01554"></a><span class="lineno"> 1554</span> </div><div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#ga65df721ba27a51ef09c64f91fe78f3ac">tvg_gradient_get_color_stops</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, <span class="keyword">const</span> <a class="code" href="structTvg__Color__Stop.html">Tvg_Color_Stop</a>** color_stop, uint32_t* cnt);</div><div class="line"><a name="l01569"></a><span class="lineno"> 1569</span> </div><div class="line"><a name="l01570"></a><span class="lineno"> 1570</span> </div><div class="line"><a name="l01581"></a><span class="lineno"> 1581</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#gad800cb39d78429089adba8f0952ba433">tvg_gradient_set_spread</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, <span class="keyword">const</span> Tvg_Stroke_Fill spread);</div><div class="line"><a name="l01582"></a><span class="lineno"> 1582</span> </div><div class="line"><a name="l01583"></a><span class="lineno"> 1583</span> </div><div class="line"><a name="l01594"></a><span class="lineno"> 1594</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#gaa6be4ea40b68b3939d916b242a13374b">tvg_gradient_get_spread</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad, Tvg_Stroke_Fill* spread);</div><div class="line"><a name="l01595"></a><span class="lineno"> 1595</span> </div><div class="line"><a name="l01596"></a><span class="lineno"> 1596</span> </div><div class="line"><a name="l01606"></a><span class="lineno"> 1606</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Gradient.html#gad267b161f306064cc3c0082ec7906a95">tvg_gradient_del</a>(<a class="code" href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a>* grad);</div><div class="line"><a name="l01607"></a><span class="lineno"> 1607</span> </div><div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>  <span class="comment">// end defgroup ThorVGCapi_Gradient</span></div><div class="line"><a name="l01610"></a><span class="lineno"> 1610</span> </div><div class="line"><a name="l01611"></a><span class="lineno"> 1611</span> </div><div class="line"><a name="l01621"></a><span class="lineno"> 1621</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l01622"></a><span class="lineno"> 1622</span> <span class="comment">/* Picture API */</span></div><div class="line"><a name="l01623"></a><span class="lineno"> 1623</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l01629"></a><span class="lineno"> 1629</span> TVG_EXPORT <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* <a class="code" href="group__ThorVGCapi__Picture.html#gaeb31f27827d96269a3c4d251a45215b6">tvg_picture_new</a>();</div><div class="line"><a name="l01630"></a><span class="lineno"> 1630</span> </div><div class="line"><a name="l01631"></a><span class="lineno"> 1631</span> </div><div class="line"><a name="l01644"></a><span class="lineno"> 1644</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Picture.html#gaa101b96db706db4edd10a65da628a1ef">tvg_picture_load</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keyword">const</span> <span class="keywordtype">char</span>* path);</div><div class="line"><a name="l01645"></a><span class="lineno"> 1645</span> </div><div class="line"><a name="l01646"></a><span class="lineno"> 1646</span> </div><div class="line"><a name="l01652"></a><span class="lineno"> 1652</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Picture.html#ga6c05096bb5d5074bff0fdbbb13a587f8">tvg_picture_load_raw</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, uint32_t *data, uint32_t w, uint32_t h, <span class="keywordtype">bool</span> copy);</div><div class="line"><a name="l01653"></a><span class="lineno"> 1653</span> </div><div class="line"><a name="l01654"></a><span class="lineno"> 1654</span> </div><div class="line"><a name="l01660"></a><span class="lineno"> 1660</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Picture.html#ga4a3950f95a05cbc29e869d7d5071aeb9">tvg_picture_get_viewbox</a>(<span class="keyword">const</span> <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint, <span class="keywordtype">float</span>* x, <span class="keywordtype">float</span>* y, <span class="keywordtype">float</span>* w, <span class="keywordtype">float</span>* h);</div><div class="line"><a name="l01661"></a><span class="lineno"> 1661</span> </div><div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>  <span class="comment">// end defgroup ThorVGCapi_Picture</span></div><div class="line"><a name="l01664"></a><span class="lineno"> 1664</span> </div><div class="line"><a name="l01665"></a><span class="lineno"> 1665</span> </div><div class="line"><a name="l01676"></a><span class="lineno"> 1676</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l01677"></a><span class="lineno"> 1677</span> <span class="comment">/* Scene API */</span></div><div class="line"><a name="l01678"></a><span class="lineno"> 1678</span> <span class="comment">/************************************************************************/</span></div><div class="line"><a name="l01686"></a><span class="lineno"> 1686</span> TVG_EXPORT <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* <a class="code" href="group__ThorVGCapi__Scene.html#ga7572898d23143d37faa85cc89ad1625e">tvg_scene_new</a>();</div><div class="line"><a name="l01687"></a><span class="lineno"> 1687</span> </div><div class="line"><a name="l01688"></a><span class="lineno"> 1688</span> </div><div class="line"><a name="l01702"></a><span class="lineno"> 1702</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Scene.html#ga8b712509a62cf5a3200ecbca53e773d3">tvg_scene_reserve</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* scene, uint32_t size);</div><div class="line"><a name="l01703"></a><span class="lineno"> 1703</span> </div><div class="line"><a name="l01704"></a><span class="lineno"> 1704</span> </div><div class="line"><a name="l01723"></a><span class="lineno"> 1723</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Scene.html#ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf">tvg_scene_push</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* scene, <a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* paint);</div><div class="line"><a name="l01724"></a><span class="lineno"> 1724</span> </div><div class="line"><a name="l01725"></a><span class="lineno"> 1725</span> </div><div class="line"><a name="l01731"></a><span class="lineno"> 1731</span> TVG_EXPORT Tvg_Result <a class="code" href="group__ThorVGCapi__Scene.html#ga00044cc1d187a83c196debd44eab0248">tvg_scene_clear</a>(<a class="code" href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a>* scene);</div><div class="line"><a name="l01732"></a><span class="lineno"> 1732</span> </div><div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>  <span class="comment">// end defgroup ThorVGCapi_Scene</span></div><div class="line"><a name="l01735"></a><span class="lineno"> 1735</span> </div><div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>  <span class="comment">// end defgroup ThorVG_CAPI</span></div><div class="line"><a name="l01738"></a><span class="lineno"> 1738</span> </div><div class="line"><a name="l01739"></a><span class="lineno"> 1739</span> </div><div class="line"><a name="l01740"></a><span class="lineno"> 1740</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l01741"></a><span class="lineno"> 1741</span> }</div><div class="line"><a name="l01742"></a><span class="lineno"> 1742</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01743"></a><span class="lineno"> 1743</span> </div><div class="line"><a name="l01744"></a><span class="lineno"> 1744</span> <span class="preprocessor">#endif //_THORVG_CAPI_H_</span></div><div class="ttc" id="group__ThorVGCapi__Canvas_html_ga0a3af123f8054dc6c182c70dc4907813"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#ga0a3af123f8054dc6c182c70dc4907813">tvg_canvas_destroy</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_destroy(Tvg_Canvas *canvas)</div><div class="ttdoc">Clears the canvas internal data, releases all paints stored by the canvas and destroys the canvas obj...</div></div>
-<div class="ttc" id="group__ThorVGCapi__Canvas_html_ga61c17823da7ed6748cc0d80013b2e1b7"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#ga61c17823da7ed6748cc0d80013b2e1b7">tvg_canvas_sync</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_sync(Tvg_Canvas *canvas)</div><div class="ttdoc">Guarantees the drawing process is finished. </div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ga98af7c3fe18afa8ad65ea6a6e097a292"><div class="ttname"><a href="group__ThorVG__CAPI.html#ga98af7c3fe18afa8ad65ea6a6e097a292">Tvg_Paint</a></div><div class="ttdeci">struct _Tvg_Paint Tvg_Paint</div><div class="ttdoc">A structure representing a graphical element. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:91</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga6964fd905664d48bf7252d6c67cb4dcd"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga6964fd905664d48bf7252d6c67cb4dcd">tvg_shape_get_stroke_width</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_stroke_width(const Tvg_Paint *paint, float *width)</div><div class="ttdoc">Gets the shape&#39;s stroke width. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Initializer_html_ga1b517176a56dde4e9ea9c8eb331660a9"><div class="ttname"><a href="group__ThorVGCapi__Initializer.html#ga1b517176a56dde4e9ea9c8eb331660a9">tvg_engine_init</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_engine_init(unsigned engine_method, unsigned threads)</div><div class="ttdoc">Initializes TVG engines. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Scene_html_ga8b712509a62cf5a3200ecbca53e773d3"><div class="ttname"><a href="group__ThorVGCapi__Scene.html#ga8b712509a62cf5a3200ecbca53e773d3">tvg_scene_reserve</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_scene_reserve(Tvg_Paint *scene, uint32_t size)</div><div class="ttdoc">Sets the size of the container, where all the paints pushed into the scene are stored. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gaf2cbac2c9164a782b96a8cd94f32e1ed"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gaf2cbac2c9164a782b96a8cd94f32e1ed">Tvg_Stroke_Join</a></div><div class="ttdeci">Tvg_Stroke_Join</div><div class="ttdoc">Enumeration specifying how to fill the area outside the gradient bounds. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:159</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gac1af7237c282fc0269e65a3ba6609291"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gac1af7237c282fc0269e65a3ba6609291">tvg_shape_append_rect</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_append_rect(Tvg_Paint *paint, float x, float y, float w, float h, float rx, float ry)</div><div class="ttdoc">Appends a rectangle to the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga6d19a68df8f57681a4815c7d2e3e03ba"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga6d19a68df8f57681a4815c7d2e3e03ba">tvg_shape_set_fill_rule</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_fill_rule(Tvg_Paint *paint, Tvg_Fill_Rule rule)</div><div class="ttdoc">Sets the shape&#39;s fill rule. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Picture_html_gaa101b96db706db4edd10a65da628a1ef"><div class="ttname"><a href="group__ThorVGCapi__Picture.html#gaa101b96db706db4edd10a65da628a1ef">tvg_picture_load</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_picture_load(Tvg_Paint *paint, const char *path)</div><div class="ttdoc">Loads a picture data directly from a file. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gae31a53e787b763eaf8a0268edeab76a1"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gae31a53e787b763eaf8a0268edeab76a1">tvg_shape_get_stroke_join</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_stroke_join(const Tvg_Paint *paint, Tvg_Stroke_Join *join)</div><div class="ttdoc">The function gets the stroke join method. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda05cffd5ebeeb548afaee19ae77257168">TVG_STROKE_JOIN_BEVEL</a></div><div class="ttdoc">The outer corner of the joined path segments is bevelled at the join point. The triangular region of ...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:160</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga9671d893c912383df0840c2915e3d88b"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga9671d893c912383df0840c2915e3d88b">tvg_shape_set_fill_color</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_fill_color(Tvg_Paint *paint, uint8_t r, uint8_t g, uint8_t b, uint8_t a)</div><div class="ttdoc">Sets the shape&#39;s solid color. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga0b1d28f178f276d379ca2c14fd7d869c"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga0b1d28f178f276d379ca2c14fd7d869c">tvg_shape_set_stroke_radial_gradient</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_stroke_radial_gradient(Tvg_Paint *paint, Tvg_Gradient *grad)</div><div class="ttdoc">Sets the radial gradient fill of the stroke for all of the figures from the path. ...</div></div>
-<div class="ttc" id="group__ThorVGCapi__Canvas_html_ga052c131ed5a2a3a053dcb321542c2c80"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#ga052c131ed5a2a3a053dcb321542c2c80">tvg_canvas_clear</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_clear(Tvg_Canvas *canvas, bool free)</div><div class="ttdoc">Clears a Tvg_Canvas objects from pushed paints. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695ad241fa1df1af5a66c711414462ff1190">TVG_FILL_RULE_WINDING</a></div><div class="ttdoc">A line from the point to a location outside the shape is drawn. The intersections of the line with th...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:180</div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa517f996a4e50e88727607b959ce52852">TVG_COMPOSITE_METHOD_CLIP_PATH</a></div><div class="ttdoc">The intersection of the source and the target is determined and only the resulting pixels from the so...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:121</div></div>
-<div class="ttc" id="group__ThorVGCapi__SwCanvas_html_ga5d9dc2e0cb1ec92219d734bb6b61c8a5"><div class="ttname"><a href="group__ThorVGCapi__SwCanvas.html#ga5d9dc2e0cb1ec92219d734bb6b61c8a5">tvg_swcanvas_set_target</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_swcanvas_set_target(Tvg_Canvas *canvas, uint32_t *buffer, uint32_t stride, uint32_t w, uint32_t h, uint32_t cs)</div><div class="ttdoc">Sets the buffer used in the rasterization process and defines the used colorspace. </div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_gad980f552658dcbbe42a0168f35c27781"><div class="ttname"><a href="group__ThorVG__CAPI.html#gad980f552658dcbbe42a0168f35c27781">Tvg_Result</a></div><div class="ttdeci">Tvg_Result</div><div class="ttdoc">Enumeration specifying the result from the APIs. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:103</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7ab6191afa65b90f78dcd2261d058e8ed2">TVG_STROKE_FILL_REPEAT</a></div><div class="ttdoc">The gradient pattern is repeated continuously beyond the gradient area until the expected region is f...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:172</div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47"><div class="ttname"><a href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781ab3840b5bbade03c076caa5a32fe5ee47">TVG_RESULT_SUCCESS</a></div><div class="ttdoc">The value returned in case of a correct request execution. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:104</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gad5323f2c523a6a14b89ed105f3450108"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gad5323f2c523a6a14b89ed105f3450108">tvg_shape_get_path_coords</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_path_coords(const Tvg_Paint *paint, const Tvg_Point **pts, uint32_t *cnt)</div><div class="ttdoc">Gets the points values of the path. </div></div>
-<div class="ttc" id="structTvg__Color__Stop_html_a4c5c6ceb8ed33456261fa907136e0c3a"><div class="ttname"><a href="structTvg__Color__Stop.html#a4c5c6ceb8ed33456261fa907136e0c3a">Tvg_Color_Stop::r</a></div><div class="ttdeci">uint8_t r</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:198</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gacd0ecb2f60ad6ab2e616e5870e1857aa"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gacd0ecb2f60ad6ab2e616e5870e1857aa">tvg_shape_get_path_commands</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_path_commands(const Tvg_Paint *paint, const Tvg_Path_Command **cmds, uint32_t *cnt)</div><div class="ttdoc">Gets the commands data of the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Scene_html_ga7572898d23143d37faa85cc89ad1625e"><div class="ttname"><a href="group__ThorVGCapi__Scene.html#ga7572898d23143d37faa85cc89ad1625e">tvg_scene_new</a></div><div class="ttdeci">TVG_EXPORT Tvg_Paint * tvg_scene_new()</div><div class="ttdoc">Creates a new scene object. </div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3"><div class="ttname"><a href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a6ac2425d9e8afeff9d6d847cb6fc44b3">TVG_RESULT_INSUFFICIENT_CONDITION</a></div><div class="ttdoc">The value returned in case the request cannot be processed - e.g. asking for properties of an object...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:106</div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gaae4eee0f8e66407fc933f1552f913d6b"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gaae4eee0f8e66407fc933f1552f913d6b">tvg_paint_get_bounds</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_get_bounds(const Tvg_Paint *paint, float *x, float *y, float *w, float *h)</div><div class="ttdoc">Gets the bounding box of the Tvg_Paint object before any transformation. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_gaabab5eabf6d11b95b96e9c543a341199"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#gaabab5eabf6d11b95b96e9c543a341199">tvg_radial_gradient_get</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_radial_gradient_get(Tvg_Gradient *grad, float *cx, float *cy, float *radius)</div><div class="ttdoc">The function gets radial gradient center point ant radius. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga962f01af5960ad4dd2e1da2f6a0336b9"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga962f01af5960ad4dd2e1da2f6a0336b9">tvg_shape_get_gradient</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_gradient(const Tvg_Paint *paint, Tvg_Gradient **grad)</div><div class="ttdoc">Gets the gradient fill of the shape. </div></div>
-<div class="ttc" id="structTvg__Color__Stop_html"><div class="ttname"><a href="structTvg__Color__Stop.html">Tvg_Color_Stop</a></div><div class="ttdoc">A data structure storing the information about the color and its relative position inside the gradien...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:195</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga08e05d64247332603a624cea6597be77"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga08e05d64247332603a624cea6597be77">Tvg_Path_Command</a></div><div class="ttdeci">Tvg_Path_Command</div><div class="ttdoc">Enumeration specifying the values of the path commands accepted by TVG. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:138</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga48c323d84e770c561c14bfc586240b96"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga48c323d84e770c561c14bfc586240b96">tvg_shape_get_stroke_gradient</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_stroke_gradient(const Tvg_Paint *paint, Tvg_Gradient **grad)</div><div class="ttdoc">Gets the gradient fill of the shape&#39;s stroke. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga275080e39eba2bc732625be046292176"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga275080e39eba2bc732625be046292176">tvg_shape_cubic_to</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_cubic_to(Tvg_Paint *paint, float cx1, float cy1, float cx2, float cy2, float x, float y)</div><div class="ttdoc">Adds new points to the sub-path, which results in drawing a cubic Bezier curve. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga34cb2634d8e9b603f22d4112b346c32a"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga34cb2634d8e9b603f22d4112b346c32a">tvg_shape_set_stroke_join</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_stroke_join(Tvg_Paint *paint, Tvg_Stroke_Join join)</div><div class="ttdoc">Sets the join style for stroked path segments. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_gab77d80df3c269fa531e7b81c8e8410d2"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#gab77d80df3c269fa531e7b81c8e8410d2">tvg_linear_gradient_new</a></div><div class="ttdeci">TVG_EXPORT Tvg_Gradient * tvg_linear_gradient_new()</div><div class="ttdoc">Creates a new linear gradient object. </div></div>
-<div class="ttc" id="structTvg__Color__Stop_html_af4007aacd75b22aee32dba9ea96082c0"><div class="ttname"><a href="structTvg__Color__Stop.html#af4007aacd75b22aee32dba9ea96082c0">Tvg_Color_Stop::a</a></div><div class="ttdeci">uint8_t a</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:201</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gaffafa3cd9dc4bc90a7ef3c763add2695"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gaffafa3cd9dc4bc90a7ef3c763add2695">Tvg_Fill_Rule</a></div><div class="ttdeci">Tvg_Fill_Rule</div><div class="ttdoc">Enumeration specifying the algorithm used to establish which parts of the shape are treated as the in...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:179</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga99049e9ec53866666fdec34f05d084b1"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga99049e9ec53866666fdec34f05d084b1">tvg_shape_close</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_close(Tvg_Paint *paint)</div><div class="ttdoc">Closes the current sub-path by drawing a line from the current point to the initial point of the sub-...</div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aaf5b9626da41b4a50070f97139062c759">TVG_COMPOSITE_METHOD_INVERSE_ALPHA_MASK</a></div><div class="ttdoc">The pixels of the source and the complement to the target&#39;s pixels are alpha blended. As a result, only the part of the source which is not covered by the target is visible. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:123</div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_ga00590e1313394b75b8619ff27ddd233b"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#ga00590e1313394b75b8619ff27ddd233b">tvg_linear_gradient_set</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_linear_gradient_set(Tvg_Gradient *grad, float x1, float y1, float x2, float y2)</div><div class="ttdoc">Sets the linear gradient bounds. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gabd7b9020f1058aa9e9fae9b683265ef8"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gabd7b9020f1058aa9e9fae9b683265ef8">tvg_shape_set_radial_gradient</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_radial_gradient(Tvg_Paint *paint, Tvg_Gradient *grad)</div><div class="ttdoc">Sets the radial gradient fill for all of the figures from the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gae5b23d6696a1b4012270a93210750e77"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gae5b23d6696a1b4012270a93210750e77">tvg_shape_reset</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_reset(Tvg_Paint *paint)</div><div class="ttdoc">Resets the shape path properties. </div></div>
-<div class="ttc" id="structTvg__Color__Stop_html_a1673907d4d89d763bb7b94ec1eeb7b60"><div class="ttname"><a href="structTvg__Color__Stop.html#a1673907d4d89d763bb7b94ec1eeb7b60">Tvg_Color_Stop::g</a></div><div class="ttdeci">uint8_t g</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:199</div></div>
-<div class="ttc" id="structTvg__Matrix_html"><div class="ttname"><a href="structTvg__Matrix.html">Tvg_Matrix</a></div><div class="ttdoc">A data structure representing a three-dimensional matrix. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:219</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda6568aef8eba70b2dac2e901b6a7198ee">TVG_STROKE_JOIN_ROUND</a></div><div class="ttdoc">The outer corner of the joined path segments is rounded. The circular region is centered at the join ...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:161</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gae15955526c9e519ea204b77aa91de111"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gae15955526c9e519ea204b77aa91de111">tvg_shape_set_stroke_linear_gradient</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_stroke_linear_gradient(Tvg_Paint *paint, Tvg_Gradient *grad)</div><div class="ttdoc">Sets the linear gradient fill of the stroke for all of the figures from the path. ...</div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_ga321045b5fda8e8e002c4837bd03ccdac"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#ga321045b5fda8e8e002c4837bd03ccdac">tvg_radial_gradient_set</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_radial_gradient_set(Tvg_Gradient *grad, float cx, float cy, float radius)</div><div class="ttdoc">Sets the radial gradient bounds. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gae7852760d3f05e2d7ce0c899535d223b"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gae7852760d3f05e2d7ce0c899535d223b">tvg_paint_duplicate</a></div><div class="ttdeci">TVG_EXPORT Tvg_Paint * tvg_paint_duplicate(Tvg_Paint *paint)</div><div class="ttdoc">Duplicates the given Tvg_Paint object. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Picture_html_ga4a3950f95a05cbc29e869d7d5071aeb9"><div class="ttname"><a href="group__ThorVGCapi__Picture.html#ga4a3950f95a05cbc29e869d7d5071aeb9">tvg_picture_get_viewbox</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_picture_get_viewbox(const Tvg_Paint *paint, float *x, float *y, float *w, float *h)</div><div class="ttdoc">Gets the position and the size of the loaded picture. (BETA version) </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga3bcc39b01d899a7e82a6c939740208d3"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga3bcc39b01d899a7e82a6c939740208d3">Tvg_Stroke_Cap</a></div><div class="ttdeci">Tvg_Stroke_Cap</div><div class="ttdoc">Enumeration determining the ending type of a stroke in the open sub-paths. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:149</div></div>
-<div class="ttc" id="group__ThorVGCapi__Picture_html_gaeb31f27827d96269a3c4d251a45215b6"><div class="ttname"><a href="group__ThorVGCapi__Picture.html#gaeb31f27827d96269a3c4d251a45215b6">tvg_picture_new</a></div><div class="ttdeci">TVG_EXPORT Tvg_Paint * tvg_picture_new()</div><div class="ttdoc">Creates a new picture object. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_ga17ee85c79749f4ee89766e3ad9a5a975"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#ga17ee85c79749f4ee89766e3ad9a5a975">tvg_paint_get_opacity</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_get_opacity(Tvg_Paint *paint, uint8_t *opacity)</div><div class="ttdoc">Gets the opacity of the given Tvg_Paint. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3adcc12b6372824aacc98ce242452680f4">TVG_STROKE_CAP_SQUARE</a></div><div class="ttdoc">The stroke is extended in both endpoints of a sub-path by a rectangle, with the width equal to the st...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:150</div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aa9122090fc6c074e22fa0964effa1b375">TVG_COMPOSITE_METHOD_NONE</a></div><div class="ttdoc">No composition is applied. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:120</div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e"><div class="ttname"><a href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1cf3b50869745c98ef4f59079aed3a6e">TVG_RESULT_INVALID_ARGUMENT</a></div><div class="ttdoc">The value returned in the event of a problem with the arguments given to the API - e...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:105</div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_ga7dc487e5d1557961cd2cc31a42daeb28"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#ga7dc487e5d1557961cd2cc31a42daeb28">tvg_radial_gradient_new</a></div><div class="ttdeci">TVG_EXPORT Tvg_Gradient * tvg_radial_gradient_new()</div><div class="ttdoc">Creates a new radial gradient object. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga9c0423ae5b7747a9b6b086a93504bd8d"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga9c0423ae5b7747a9b6b086a93504bd8d">tvg_shape_new</a></div><div class="ttdeci">TVG_EXPORT Tvg_Paint * tvg_shape_new()</div><div class="ttdoc">Creates a new shape object. </div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b"><div class="ttname"><a href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a7e0e245d6bf67c84e0b74838e765d98b">TVG_RESULT_MEMORY_CORRUPTION</a></div><div class="ttdoc">The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:108</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga40dd2d0753ce8a3018e02a7382abe04f"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga40dd2d0753ce8a3018e02a7382abe04f">tvg_shape_get_stroke_dash</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_stroke_dash(const Tvg_Paint *paint, const float **dashPattern, uint32_t *cnt)</div><div class="ttdoc">Gets the dash pattern of the stroke. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Scene_html_ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf"><div class="ttname"><a href="group__ThorVGCapi__Scene.html#ga16cbf3d1bdd02ebfc5a93c5d03f2d6cf">tvg_scene_push</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_scene_push(Tvg_Paint *scene, Tvg_Paint *paint)</div><div class="ttdoc">Passes drawing elements to the scene using Tvg_Paint objects. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_ga707bc7b4cf99ab40063b7eeef89ca170"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#ga707bc7b4cf99ab40063b7eeef89ca170">tvg_paint_del</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_del(Tvg_Paint *paint)</div><div class="ttdoc">Releases the given Tvg_Paint object. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga32c7b28d082544df3cc9dc6730fc6a39"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga32c7b28d082544df3cc9dc6730fc6a39">tvg_shape_append_circle</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_append_circle(Tvg_Paint *paint, float cx, float cy, float rx, float ry)</div><div class="ttdoc">Appends an ellipse to the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Canvas_html_ga7c43ae4fb1a06afbe3616b4552740edf"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#ga7c43ae4fb1a06afbe3616b4552740edf">tvg_canvas_update</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_update(Tvg_Canvas *canvas)</div><div class="ttdoc">Updates all paints in a canvas. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a8fcafa6e4f0b512e2a09a711c74aa821">TVG_PATH_COMMAND_MOVE_TO</a></div><div class="ttdoc">Sets a new initial point of the sub-path and a new current point - corresponds to M command in the sv...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:140</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3a23c1fc3f65e3389a5d5dc404f9353d08">TVG_STROKE_CAP_ROUND</a></div><div class="ttdoc">The stroke is extended in both endpoints of a sub-path by a half circle, with a radius equal to the h...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:151</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ggaf2cbac2c9164a782b96a8cd94f32e1eda2b2f5ccaa98b8f535c86c52aae82da4d">TVG_STROKE_JOIN_MITER</a></div><div class="ttdoc">The outer corner of the joined path segments is spiked. The spike is created by extension beyond the ...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:162</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga9ac44e712782a9b2a5a36a49b2ae52c7"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga9ac44e712782a9b2a5a36a49b2ae52c7">Tvg_Stroke_Fill</a></div><div class="ttdeci">Tvg_Stroke_Fill</div><div class="ttdoc">Enumeration specifying how to fill the area outside the gradient bounds. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:169</div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_ga8d5755566bb7281984a44c9c687f2b48"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#ga8d5755566bb7281984a44c9c687f2b48">tvg_gradient_set_color_stops</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_gradient_set_color_stops(Tvg_Gradient *grad, const Tvg_Color_Stop *color_stop, uint32_t cnt)</div><div class="ttdoc">Sets the parameters of the colors of the gradient and their position. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_gad800cb39d78429089adba8f0952ba433"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#gad800cb39d78429089adba8f0952ba433">tvg_gradient_set_spread</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_gradient_set_spread(Tvg_Gradient *grad, const Tvg_Stroke_Fill spread)</div><div class="ttdoc">Sets the Tvg_Stroke_Fill value, which specifies how to fill the area outside the gradient bounds...</div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_ga1ec9193ca6959f9d91a80cc61cd0df3a"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#ga1ec9193ca6959f9d91a80cc61cd0df3a">Tvg_Composite_Method</a></div><div class="ttdeci">Tvg_Composite_Method</div><div class="ttdoc">Enumeration indicating the method used in the composition of two objects - the target and the source...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:119</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gaeebedc65bb77544aeb05980465284947"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gaeebedc65bb77544aeb05980465284947">tvg_shape_get_fill_rule</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_fill_rule(const Tvg_Paint *paint, Tvg_Fill_Rule *rule)</div><div class="ttdoc">Gets the shape&#39;s fill rule. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7a1cd7fd72e3ba1df2ccfbc683d81d1038">TVG_STROKE_FILL_REFLECT</a></div><div class="ttdoc">The gradient pattern is reflected outside the gradient area until the expected region is filled...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:171</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga892eb9130555a02a6e6bec3c91a7de3c"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga892eb9130555a02a6e6bec3c91a7de3c">tvg_shape_move_to</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_move_to(Tvg_Paint *paint, float x, float y)</div><div class="ttdoc">Sets the initial point of the sub-path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Canvas_html_ga50761cba3cc3143a90f72124a597216f"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#ga50761cba3cc3143a90f72124a597216f">tvg_canvas_update_paint</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_update_paint(Tvg_Canvas *canvas, Tvg_Paint *paint)</div><div class="ttdoc">Updates the given Tvg_Paint object from the canvas before the rendering. </div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109"><div class="ttname"><a href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a1820972547d1ef01782d7e8f60266109">TVG_RESULT_UNKNOWN</a></div><div class="ttdoc">The value returned in all other cases. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:110</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ggaffafa3cd9dc4bc90a7ef3c763add2695abed5f43e043f8f277310ac6765cd4d88">TVG_FILL_RULE_EVEN_ODD</a></div><div class="ttdoc">A line from the point to a location outside the shape is drawn and its intersections with the path se...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:181</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77ae77bc11698c492057df630321cab5536">TVG_PATH_COMMAND_LINE_TO</a></div><div class="ttdoc">Draws a line from the current point to the given point and sets a new value of the current point - co...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:141</div></div>
-<div class="ttc" id="group__ThorVGCapi__Canvas_html_ga0e4daf723d6080d526ce0aa4111a1439"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#ga0e4daf723d6080d526ce0aa4111a1439">tvg_canvas_push</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_push(Tvg_Canvas *canvas, Tvg_Paint *paint)</div><div class="ttdoc">Inserts a drawing element into the canvas using a Tvg_Paint object. </div></div>
-<div class="ttc" id="structTvg__Color__Stop_html_a3e60b3c561be982d7c8e23f14c01fd5b"><div class="ttname"><a href="structTvg__Color__Stop.html#a3e60b3c561be982d7c8e23f14c01fd5b">Tvg_Color_Stop::offset</a></div><div class="ttdeci">float offset</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:197</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gaad894f66bc9bbd8f91c351aff534536b"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gaad894f66bc9bbd8f91c351aff534536b">tvg_shape_get_stroke_cap</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_stroke_cap(const Tvg_Paint *paint, Tvg_Stroke_Cap *cap)</div><div class="ttdoc">Gets the stroke cap style used for stroking the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_gaa503fc8455eb63acda4b3ff0737f4d4e"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#gaa503fc8455eb63acda4b3ff0737f4d4e">tvg_linear_gradient_get</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_linear_gradient_get(Tvg_Gradient *grad, float *x1, float *y1, float *x2, float *y2)</div><div class="ttdoc">Gets the linear gradient bounds. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_gaa6be4ea40b68b3939d916b242a13374b"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#gaa6be4ea40b68b3939d916b242a13374b">tvg_gradient_get_spread</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_gradient_get_spread(Tvg_Gradient *grad, Tvg_Stroke_Fill *spread)</div><div class="ttdoc">Gets the FillSpread value of the gradient object. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gad91401c9574f634f0f744d8e5903203b"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gad91401c9574f634f0f744d8e5903203b">tvg_paint_scale</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_scale(Tvg_Paint *paint, float factor)</div><div class="ttdoc">Scales the given Tvg_Paint object by the given factor. </div></div>
-<div class="ttc" id="group__ThorVGCapi__SwCanvas_html_ga0ad0467c444c00b79e58f171dce52433"><div class="ttname"><a href="group__ThorVGCapi__SwCanvas.html#ga0ad0467c444c00b79e58f171dce52433">tvg_swcanvas_create</a></div><div class="ttdeci">TVG_EXPORT Tvg_Canvas * tvg_swcanvas_create()</div><div class="ttdoc">Creates a Canvas object. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gaab74503fd357cfaf7727c25278b71531"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gaab74503fd357cfaf7727c25278b71531">tvg_shape_set_stroke_dash</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_stroke_dash(Tvg_Paint *paint, const float *dashPattern, uint32_t cnt)</div><div class="ttdoc">Sets the shape&#39;s stroke dash pattern. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Canvas_html_ga0be96c28afddf9cf252d68a431438632"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#ga0be96c28afddf9cf252d68a431438632">tvg_canvas_draw</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_draw(Tvg_Canvas *canvas)</div><div class="ttdoc">The function start rendering process. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_ga60ab7fce408fc3065d77895855fcf532"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#ga60ab7fce408fc3065d77895855fcf532">tvg_paint_rotate</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_rotate(Tvg_Paint *paint, float degree)</div><div class="ttdoc">Rotates the given Tvg_Paint by the given angle. </div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59"><div class="ttname"><a href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a30ea1fee167bdc1fc70005fb6d2d1b59">TVG_RESULT_FAILED_ALLOCATION</a></div><div class="ttdoc">The value returned in case of unsuccessful memory allocation. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:107</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gaaf9b92ffb5736b1ab808b4f15356dd08"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gaaf9b92ffb5736b1ab808b4f15356dd08">tvg_shape_get_fill_color</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_fill_color(const Tvg_Paint *paint, uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a)</div><div class="ttdoc">Gets the shape&#39;s solid color. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gga1ec9193ca6959f9d91a80cc61cd0df3aae536c237d654d73f306f2d346fc3c86a">TVG_COMPOSITE_METHOD_ALPHA_MASK</a></div><div class="ttdoc">The pixels of the source and the target are alpha blended. As a result, only the part of the source...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:122</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gabb5f5cfe6ff8098efcde6f80c56ca200"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gabb5f5cfe6ff8098efcde6f80c56ca200">tvg_shape_set_stroke_cap</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_stroke_cap(Tvg_Paint *paint, Tvg_Stroke_Cap cap)</div><div class="ttdoc">Sets the cap style used for stroking the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga3bcc39b01d899a7e82a6c939740208d3aefc7710297416d48b660aeeebdd9c796">TVG_STROKE_CAP_BUTT</a></div><div class="ttdoc">The stroke ends exactly at each of the two endpoints of a sub-path. For zero length sub-paths no stro...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:152</div></div>
-<div class="ttc" id="group__ThorVGCapi__Initializer_html_ga661d062ba6f2c98689b5b70e1cbf7a92"><div class="ttname"><a href="group__ThorVGCapi__Initializer.html#ga661d062ba6f2c98689b5b70e1cbf7a92">tvg_engine_term</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_engine_term(unsigned engine_method)</div><div class="ttdoc">Terminates TVG engines. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga9c1d8aaf73da6f4386cce28a245d3f27"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga9c1d8aaf73da6f4386cce28a245d3f27">tvg_shape_set_stroke_color</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_stroke_color(Tvg_Paint *paint, uint8_t r, uint8_t g, uint8_t b, uint8_t a)</div><div class="ttdoc">Sets the shape&#39;s stroke color. </div></div>
-<div class="ttc" id="structTvg__Point_html"><div class="ttname"><a href="structTvg__Point.html">Tvg_Point</a></div><div class="ttdoc">A data structure representing a point in two-dimensional space. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:210</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a411110736873e7f995446761ab927a26">TVG_PATH_COMMAND_CUBIC_TO</a></div><div class="ttdoc">Draws a cubic Bezier curve from the current point to the given point using two given control points a...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:142</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga9ac44e712782a9b2a5a36a49b2ae52c7aa9c76cb4d947723ba270108f401f13ce">TVG_STROKE_FILL_PAD</a></div><div class="ttdoc">The remaining area is filled with the closest stop color. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:170</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga237a7a1bc5274dd7ffc7355be48888fd"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga237a7a1bc5274dd7ffc7355be48888fd">tvg_shape_append_arc</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_append_arc(Tvg_Paint *paint, float cx, float cy, float radius, float startAngle, float sweep, uint8_t pie)</div><div class="ttdoc">Appends a circular arc to the path. </div></div>
-<div class="ttc" id="structTvg__Color__Stop_html_a4313c9563516f94387762ab05763456b"><div class="ttname"><a href="structTvg__Color__Stop.html#a4313c9563516f94387762ab05763456b">Tvg_Color_Stop::b</a></div><div class="ttdeci">uint8_t b</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:200</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gad63d7d12327f3d9912999de2a2504b8d"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gad63d7d12327f3d9912999de2a2504b8d">tvg_shape_get_stroke_color</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_get_stroke_color(const Tvg_Paint *paint, uint8_t *r, uint8_t *g, uint8_t *b, uint8_t *a)</div><div class="ttdoc">Gets the shape&#39;s stroke color. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gae3a63091a9c00c796ecadf3e6983c5fd"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gae3a63091a9c00c796ecadf3e6983c5fd">tvg_shape_set_stroke_width</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_stroke_width(Tvg_Paint *paint, float width)</div><div class="ttdoc">Sets the stroke width for all of the figures from the paint. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_ga9b621889be1a6aac905a6564d71a800f"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#ga9b621889be1a6aac905a6564d71a800f">tvg_paint_set_opacity</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_set_opacity(Tvg_Paint *paint, uint8_t opacity)</div><div class="ttdoc">Sets the opacity of the given Tvg_Paint. </div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24"><div class="ttname"><a href="group__ThorVG__CAPI.html#ggad980f552658dcbbe42a0168f35c27781a24cd3c83f47655b8987281f4cbc1dd24">TVG_RESULT_NOT_SUPPORTED</a></div><div class="ttdoc">The value returned in case of choosing unsupported options. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:109</div></div>
-<div class="ttc" id="group__ThorVGCapi__Scene_html_ga00044cc1d187a83c196debd44eab0248"><div class="ttname"><a href="group__ThorVGCapi__Scene.html#ga00044cc1d187a83c196debd44eab0248">tvg_scene_clear</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_scene_clear(Tvg_Paint *scene)</div><div class="ttdoc">Sets the total number of the paints pushed into the scene to be zero. (BETA version) ...</div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_gad267b161f306064cc3c0082ec7906a95"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#gad267b161f306064cc3c0082ec7906a95">tvg_gradient_del</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_gradient_del(Tvg_Gradient *grad)</div><div class="ttdoc">Deletes the given gradient object. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Gradient_html_ga65df721ba27a51ef09c64f91fe78f3ac"><div class="ttname"><a href="group__ThorVGCapi__Gradient.html#ga65df721ba27a51ef09c64f91fe78f3ac">tvg_gradient_get_color_stops</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_gradient_get_color_stops(Tvg_Gradient *grad, const Tvg_Color_Stop **color_stop, uint32_t *cnt)</div><div class="ttdoc">Gets the parameters of the colors of the gradient, their position and number. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Picture_html_ga6c05096bb5d5074bff0fdbbb13a587f8"><div class="ttname"><a href="group__ThorVGCapi__Picture.html#ga6c05096bb5d5074bff0fdbbb13a587f8">tvg_picture_load_raw</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_picture_load_raw(Tvg_Paint *paint, uint32_t *data, uint32_t w, uint32_t h, bool copy)</div><div class="ttdoc">Loads a picture data from a memory block of a given size. (BETA version) </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_ga5af1043991b0de19c888855feeab2e5d"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#ga5af1043991b0de19c888855feeab2e5d">tvg_paint_set_composite_method</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_set_composite_method(Tvg_Paint *paint, Tvg_Paint *target, Tvg_Composite_Method method)</div><div class="ttdoc">Sets the composition target object and the composition method. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#gga08e05d64247332603a624cea6597be77a6d66fea8e74674015ebb98d53f3f1fb1">TVG_PATH_COMMAND_CLOSE</a></div><div class="ttdoc">Ends the current sub-path and connects it with its initial point - corresponds to Z command in the sv...</div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:139</div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_ga5f10c1f3dabdc9287166611c7fe5fd8a"><div class="ttname"><a href="group__ThorVG__CAPI.html#ga5f10c1f3dabdc9287166611c7fe5fd8a">Tvg_Canvas</a></div><div class="ttdeci">struct _Tvg_Canvas Tvg_Canvas</div><div class="ttdoc">A structure responsible for managing and drawing graphical elements. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:83</div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga31d8aaa35a50228b0b343471ff0d77b3"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga31d8aaa35a50228b0b343471ff0d77b3">tvg_shape_append_path</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_append_path(Tvg_Paint *paint, const Tvg_Path_Command *cmds, uint32_t cmdCnt, const Tvg_Point *pts, uint32_t ptsCnt)</div><div class="ttdoc">Appends a given sub-path to the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_ga20305aeb11a622e2651ac514296ef008"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#ga20305aeb11a622e2651ac514296ef008">tvg_paint_transform</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_transform(Tvg_Paint *paint, const Tvg_Matrix *m)</div><div class="ttdoc">Transforms the given Tvg_Paint using the augmented transformation matrix. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga02aa5aa9a017270ce0375b1b9db75d57"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga02aa5aa9a017270ce0375b1b9db75d57">tvg_shape_set_linear_gradient</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_set_linear_gradient(Tvg_Paint *paint, Tvg_Gradient *grad)</div><div class="ttdoc">Sets the linear gradient fill for all of the figures from the path. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Canvas_html_gafd31da91fe8571f0b12bca25364d71f2"><div class="ttname"><a href="group__ThorVGCapi__Canvas.html#gafd31da91fe8571f0b12bca25364d71f2">tvg_canvas_reserve</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_canvas_reserve(Tvg_Canvas *canvas, uint32_t n)</div><div class="ttdoc">Reserves a memory block where the objects pushed into a canvas are stored. </div></div>
-<div class="ttc" id="group__ThorVGCapi__Shape_html_ga715e047ef4d45ced617f9ed000df1842"><div class="ttname"><a href="group__ThorVGCapi__Shape.html#ga715e047ef4d45ced617f9ed000df1842">tvg_shape_line_to</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_shape_line_to(Tvg_Paint *paint, float x, float y)</div><div class="ttdoc">Adds a new point to the sub-path, which results in drawing a line from the current point to the given...</div></div>
-<div class="ttc" id="group__ThorVG__CAPI_html_gafc8e0d01812127260d0753eceb056181"><div class="ttname"><a href="group__ThorVG__CAPI.html#gafc8e0d01812127260d0753eceb056181">Tvg_Gradient</a></div><div class="ttdeci">struct _Tvg_Gradient Tvg_Gradient</div><div class="ttdoc">A structure representing a gradient fill of a Tvg_Paint object. </div><div class="ttdef"><b>Definition:</b> thorvg_capi.h:97</div></div>
-<div class="ttc" id="group__ThorVGCapi__Paint_html_gaf7c5c66bd41da9262996ee9a9def42ff"><div class="ttname"><a href="group__ThorVGCapi__Paint.html#gaf7c5c66bd41da9262996ee9a9def42ff">tvg_paint_translate</a></div><div class="ttdeci">TVG_EXPORT Tvg_Result tvg_paint_translate(Tvg_Paint *paint, float x, float y)</div><div class="ttdoc">Moves the given Tvg_Paint in a two-dimensional space. </div></div>
-</div><!-- fragment --></div><!-- contents -->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by  <a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.8.13
-</small></address>
-</body>
-</html>