docs: updated to v0.14

This commit is contained in:
Hermet Park 2024-06-26 15:24:46 +09:00 committed by Hermet Park
parent 87cd9e4795
commit 4dfd591a7b
151 changed files with 1598 additions and 1861 deletions

View file

@ -38,7 +38,7 @@ PROJECT_NAME = ThorVG
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = v0.13
PROJECT_NUMBER = v0.14
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -111,7 +111,6 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
<tr id="row_0_17_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Animation.html" target="_self">Animation</a></td><td class="desc">Enables manipulation of animatable images </td></tr>
<tr id="row_0_18_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_19_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Accessor.html" target="_self">Accessor</a></td><td class="desc">The <a class="el" href="classtvg_1_1Accessor.html" title="The Accessor is a utility class to debug the Scene structure by traversing the scene-tree.">Accessor</a> is a utility class to debug the <a class="el" href="classtvg_1_1Scene.html" title="A class to composite children paints.">Scene</a> structure by traversing the scene-tree </td></tr>
<tr id="row_0_20_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1LottieAnimation.html" target="_self">LottieAnimation</a></td><td class="desc">Enables control of advanced Lottie features </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->

View file

@ -20,7 +20,6 @@ var annotated_dup =
[ "Initializer", "classtvg_1_1Initializer.html", null ],
[ "Animation", "classtvg_1_1Animation.html", "classtvg_1_1Animation" ],
[ "Saver", "classtvg_1_1Saver.html", "classtvg_1_1Saver" ],
[ "Accessor", "classtvg_1_1Accessor.html", "classtvg_1_1Accessor" ],
[ "LottieAnimation", "classtvg_1_1LottieAnimation.html", "classtvg_1_1LottieAnimation" ]
[ "Accessor", "classtvg_1_1Accessor.html", "classtvg_1_1Accessor" ]
] ]
];

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
<dd><a class="el" href="classtvg_1_1Initializer.html">Initializer</a> (tvg)</dd></dl>
<dl class="classindex odd">
<dt class="alphachar"><a name="letter_L">L</a></dt>
<dd><a class="el" href="classtvg_1_1LinearGradient.html">LinearGradient</a> (tvg)</dd><dd><a class="el" href="classtvg_1_1LottieAnimation.html">LottieAnimation</a> (tvg)</dd></dl>
<dd><a class="el" href="classtvg_1_1LinearGradient.html">LinearGradient</a> (tvg)</dd></dl>
<dl class="classindex even">
<dt class="alphachar"><a name="letter_M">M</a></dt>
<dd><a class="el" href="structtvg_1_1Matrix.html">Matrix</a> (tvg)</dd></dl>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -95,6 +95,8 @@ $(document).ready(function(){initNavTree('classtvg_1_1Animation.html',''); initR
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9">frame</a>(float no) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a9f1d09061273b58fff49740abdeb1ddf">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f">picture</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051">segment</a>(float begin, float end) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb">segment</a>(float *begin, float *end=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3">totalFrame</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -94,15 +94,6 @@ $(document).ready(function(){initNavTree('classtvg_1_1Animation.html',''); initR
<p>The <a class="el" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images.">Animation</a> class enables manipulation of animatable images.
<a href="classtvg_1_1Animation.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Animation:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1Animation__inherit__graph.png" border="0" usemap="#aAnimation_inherit__map" alt="Inheritance graph"/></div>
<map name="aAnimation_inherit__map" id="aAnimation_inherit__map">
<area shape="rect" title="The Animation class enables manipulation of animatable images." alt="" coords="24,5,113,32"/>
<area shape="rect" href="classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features." alt="" coords="5,80,132,107"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@ -121,6 +112,12 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a90ab38b7a2cb72d6b9de4492ff3e6679"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679">duration</a> () const noexcept</td></tr>
<tr class="memdesc:a90ab38b7a2cb72d6b9de4492ff3e6679"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the duration of the animation in seconds. <a href="classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679">More...</a><br /></td></tr>
<tr class="separator:a90ab38b7a2cb72d6b9de4492ff3e6679"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa05e5a4df917f934ba9b6233d39b4051"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051">segment</a> (float begin, float end) noexcept</td></tr>
<tr class="memdesc:aa05e5a4df917f934ba9b6233d39b4051"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the playback segment of the animation. <a href="classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051">More...</a><br /></td></tr>
<tr class="separator:aa05e5a4df917f934ba9b6233d39b4051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa972943b6a0d53d9868dcf70915ec0cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb">segment</a> (float *begin, float *end=nullptr) noexcept</td></tr>
<tr class="memdesc:aa972943b6a0d53d9868dcf70915ec0cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current segment. <a href="classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb">More...</a><br /></td></tr>
<tr class="separator:aa972943b6a0d53d9868dcf70915ec0cb"><td class="memSeparator" colspan="2">&#160;</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>
@ -131,6 +128,7 @@ Static Public Member Functions</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images.">Animation</a> class enables manipulation of animatable images. </p>
<p>This class supports the display and control of animation frames.</p>
<dl class="section since"><dt>Since</dt><dd>0.13 </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a45585afc7e6dbab9fb2d5295b67c45ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45585afc7e6dbab9fb2d5295b67c45ee">&#9670;&nbsp;</a></span>curFrame()</h2>
@ -226,12 +224,12 @@ Static Public Member Functions</h2></td></tr>
</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>Successfully set the frame. </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 given <code>no</code> is the same as the current frame value. </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>The current <a class="el" href="classtvg_1_1Picture.html" title="A class representing an image read in one of the supported formats: raw, svg, png,...">Picture</a> data does not support animations.</td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>The current <a class="el" href="classtvg_1_1Picture.html" title="A class representing an image read in one of the supported formats: raw, svg, png,...">Picture</a> data does not support animations.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>For efficiency, ThorVG ignores updates to the new frame value if the difference from the current frame value is less than 0.001. In such cases, it returns <code><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></code>. Values less than 0.001 may be disregarded and may not be accurately retained by the <a class="el" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images.">Animation</a>.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3" title="Retrieves the total number of frames in the animation.">totalFrame()</a> </dd></dl>
</div>
@ -292,6 +290,117 @@ Static Public Member Functions</h2></td></tr>
<dl class="section return"><dt>Returns</dt><dd>A picture instance that is tied to this animation.</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>The picture instance is owned by <a class="el" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images.">Animation</a>. It should not be deleted manually. </dd></dl>
</div>
</div>
<a id="aa972943b6a0d53d9868dcf70915ec0cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa972943b6a0d53d9868dcf70915ec0cb">&#9670;&nbsp;</a></span>segment() <span class="overload">[1/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#ga28287671eaf7406afd604bd055ba4066">Result</a> segment </td>
<td>(</td>
<td class="paramtype">float *&#160;</td>
<td class="paramname"><em>begin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float *&#160;</td>
<td class="paramname"><em>end</em> = <code>nullptr</code>&#160;</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>Gets the current segment. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">begin</td><td>segment start. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">end</td><td>segment end.</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#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>In case the animation is not loaded. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>When it's not animatable.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
</div>
<a id="aa05e5a4df917f934ba9b6233d39b4051"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa05e5a4df917f934ba9b6233d39b4051">&#9670;&nbsp;</a></span>segment() <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#ga28287671eaf7406afd604bd055ba4066">Result</a> segment </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>begin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>end</em>&#160;</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>Specifies the playback segment of the animation. </p>
<p>The set segment is designated as the play area of the animation. This is useful for playing a specific segment within the entire animation. After setting, the number of animation frames and the playback time are calculated by mapping the playback segment as the entire range.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">begin</td><td>segment start. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">end</td><td>segment end.</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#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>In case the animation is not loaded. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>When it's not animatable.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Range from 0.0~1.0 </dd>
<dd>
If a marker has been specified, its range will be disregarded. </dd></dl>
<dl class="section see"><dt>See also</dt><dd>LottieAnimation::segment(const char* marker) </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
</div>
<a id="a624e4fdeebf70f286188685e769125f3"></a>

View file

@ -4,5 +4,7 @@ var classtvg_1_1Animation =
[ "duration", "classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679", null ],
[ "frame", "classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9", null ],
[ "picture", "classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f", null ],
[ "segment", "classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb", null ],
[ "segment", "classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051", null ],
[ "totalFrame", "classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3", null ]
];

View file

@ -1,4 +0,0 @@
<map id="Animation" name="Animation">
<area shape="rect" id="node1" title="The Animation class enables manipulation of animatable images." alt="" coords="24,5,113,32"/>
<area shape="rect" id="node2" href="$classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features." alt="" coords="5,80,132,107"/>
</map>

View file

@ -1 +0,0 @@
6202f42d11e34a9c4edb3fa295d1121e

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -94,9 +94,9 @@ $(document).ready(function(){initNavTree('classtvg_1_1Canvas.html',''); initResi
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">draw</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e">push</a>(std::unique_ptr&lt; Paint &gt; paint) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a>(uint32_t n) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a>(int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -107,9 +107,6 @@ Inheritance diagram for Canvas:</div>
<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:a1db0cc15b62127da865b37981402b411"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a> (uint32_t n) noexcept</td></tr>
<tr class="memdesc:a1db0cc15b62127da865b37981402b411"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of the container, where all the paints pushed into the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a> are stored. <a href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">More...</a><br /></td></tr>
<tr class="separator:a1db0cc15b62127da865b37981402b411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace6c268f853a4c144076de89b7bbbe75"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="classtvg_1_1Paint.html">Paint</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a> () noexcept</td></tr>
<tr class="memdesc:ace6c268f853a4c144076de89b7bbbe75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of the paints that currently held by the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a>. <a href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">More...</a><br /></td></tr>
<tr class="separator:ace6c268f853a4c144076de89b7bbbe75"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -125,6 +122,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:aabf9e5a14da3b4bfd5883c2b4459abd0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">draw</a> () noexcept</td></tr>
<tr class="memdesc:aabf9e5a14da3b4bfd5883c2b4459abd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the canvas to draw the <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements.">Paint</a> objects. <a href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">More...</a><br /></td></tr>
<tr class="separator:aabf9e5a14da3b4bfd5883c2b4459abd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2172bfc1790cee5dedd9cda7a2caf64e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a> (int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td></tr>
<tr class="memdesc:a2172bfc1790cee5dedd9cda7a2caf64e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the drawing region in the canvas. <a href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">More...</a><br /></td></tr>
<tr class="separator:a2172bfc1790cee5dedd9cda7a2caf64e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbca600af79f9a0b8e8366e3be7450e9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a> () noexcept</td></tr>
<tr class="memdesc:adbca600af79f9a0b8e8366e3be7450e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Guarantees that drawing task is finished. <a href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">More...</a><br /></td></tr>
<tr class="separator:adbca600af79f9a0b8e8366e3be7450e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -167,12 +167,6 @@ Public Member Functions</h2></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, <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.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e" title="Passes drawing elements to the Canvas using Paint objects.">Canvas::push()</a> </dd>
<dd>
<a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75" title="Returns the list of the paints that currently held by the Canvas.">Canvas::paints()</a> </dd></dl>
@ -203,12 +197,6 @@ Public Member Functions</h2></td></tr>
</div><div class="memdoc">
<p>Requests the canvas to draw the <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements.">Paint</a> objects. </p>
<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, <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.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Drawing can be asynchronous if the assigned thread number is greater than zero. To guarantee the drawing is done, call <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">sync()</a> afterwards. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a> </dd></dl>
@ -279,9 +267,7 @@ Public Member Functions</h2></td></tr>
</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#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a></td><td>In case a <code>nullptr</code> is passed as the argument.</td></tr>
<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.</td></tr>
</table>
</dd>
</dl>
@ -290,42 +276,6 @@ Public Member Functions</h2></td></tr>
<dd>
<a class="el" href="classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd" title="Clear the internal canvas resources that used for the drawing.">Canvas::clear()</a> </dd></dl>
</div>
</div>
<a id="a1db0cc15b62127da865b37981402b411"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1db0cc15b62127da865b37981402b411">&#9670;&nbsp;</a></span>reserve()</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> reserve </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>n</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>Sets the size of the container, where all the paints pushed into the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a> are stored. </p>
<p>If the number of objects pushed into the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a> 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">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><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>
</div>
</div>
<a id="adbca600af79f9a0b8e8366e3be7450e9"></a>
@ -353,12 +303,6 @@ Public Member Functions</h2></td></tr>
<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> must be called after the <a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0" title="Requests the canvas to draw the Paint objects.">draw()</a> regardless of threading.</p>
<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, <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. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0" title="Requests the canvas to draw the Paint objects.">Canvas::draw()</a> </dd></dl>
</div>
@ -395,13 +339,76 @@ Public Member Functions</h2></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, <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.</td></tr>
<dl class="section note"><dt>Note</dt><dd>The Update behavior can be asynchronous if the assigned thread number is greater than zero. </dd></dl>
</div>
</div>
<a id="a2172bfc1790cee5dedd9cda7a2caf64e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2172bfc1790cee5dedd9cda7a2caf64e">&#9670;&nbsp;</a></span>viewport()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> viewport </td>
<td>(</td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>h</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the drawing region in the canvas. </p>
<p>This function defines the rectangular area of the canvas that will be used for drawing operations. The specified viewport is used to clip the rendering output to the boundaries of the rectangle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>The x-coordinate of the upper-left corner of the rectangle. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>The y-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>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The Update behavior can be asynchronous if the assigned thread number is greater than zero. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc" title="Sets the drawing target for the rasterization.">SwCanvas::target()</a> </dd>
<dd>
<a class="el" href="classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad" title="Sets the drawing target for rasterization.">GlCanvas::target()</a> </dd>
<dd>
<a class="el" href="classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a" title="Sets the drawing target for the rasterization.">WgCanvas::target()</a></dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>It's not allowed to change the viewport during <a class="el" href="classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e" title="Passes drawing elements to the Canvas using Paint objects.">Canvas::push()</a> - <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a> or <a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3" title="Request the canvas to update the paint objects.">Canvas::update()</a> - <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a>.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>When resetting the target, the viewport will also be reset to the target size. </dd>
<dd>
Experimental API </dd></dl>
</div>
</div>

View file

@ -4,7 +4,7 @@ var classtvg_1_1Canvas =
[ "draw", "classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0", null ],
[ "paints", "classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75", null ],
[ "push", "classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e", null ],
[ "reserve", "classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411", null ],
[ "sync", "classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9", null ],
[ "update", "classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3", null ]
[ "update", "classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3", null ],
[ "viewport", "classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e", null ]
];

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -219,12 +219,6 @@ Public Member Functions</h2></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>
</table>
</dd>
</dl>
</div>
</div>
@ -345,12 +339,6 @@ Public Member Functions</h2></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>
</table>
</dd>
</dl>
</div>
</div>
@ -415,12 +403,6 @@ Public Member Functions</h2></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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -95,10 +95,10 @@ $(document).ready(function(){initNavTree('classtvg_1_1GlCanvas.html',''); initRe
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1GlCanvas.html">GlCanvas</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e">push</a>(std::unique_ptr&lt; Paint &gt; paint) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a>(uint32_t n) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad">target</a>(int32_t id, uint32_t w, uint32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1GlCanvas.html">GlCanvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad">target</a>(int32_t id, uint32_t w, uint32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1GlCanvas.html">GlCanvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a>(int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,6 +103,15 @@ Inheritance diagram for GlCanvas:</div>
<area shape="rect" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="12,5,83,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for GlCanvas:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1GlCanvas__coll__graph.png" border="0" usemap="#aGlCanvas_coll__map" alt="Collaboration graph"/></div>
<map name="aGlCanvas_coll__map" id="aGlCanvas_coll__map">
<area shape="rect" title="A class for the rendering graphic elements with a GL raster engine." alt="" coords="5,80,89,107"/>
<area shape="rect" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="12,5,83,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@ -110,9 +119,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a182ae193566dbc09fc2ec5a369ad38ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the drawing target for rasterization. <a href="classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad">More...</a><br /></td></tr>
<tr class="separator:a182ae193566dbc09fc2ec5a369ad38ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classtvg_1_1Canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classtvg_1_1Canvas')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td></tr>
<tr class="memitem:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a> (uint32_t n) noexcept</td></tr>
<tr class="memdesc:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of the container, where all the paints pushed into the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a> are stored. <a href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">More...</a><br /></td></tr>
<tr class="separator:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="classtvg_1_1Paint.html">Paint</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a> () noexcept</td></tr>
<tr class="memdesc:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of the paints that currently held by the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a>. <a href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">More...</a><br /></td></tr>
<tr class="separator:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -128,6 +134,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">draw</a> () noexcept</td></tr>
<tr class="memdesc:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the canvas to draw the <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements.">Paint</a> objects. <a href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">More...</a><br /></td></tr>
<tr class="separator:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a> (int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td></tr>
<tr class="memdesc:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the drawing region in the canvas. <a href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">More...</a><br /></td></tr>
<tr class="separator:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a> () noexcept</td></tr>
<tr class="memdesc:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Guarantees that drawing task is finished. <a href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">More...</a><br /></td></tr>
<tr class="separator:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -141,7 +150,7 @@ Static Public Member Functions</h2></td></tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class for the rendering graphic elements with a GL raster engine. </p>
<dl class="section warning"><dt>Warning</dt><dd>Please do not use it. This class is not fully supported yet.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
<dl class="section since"><dt>Since</dt><dd>0.14 </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ad6ae7e14a4f29b7ae78ad5b92350cf90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6ae7e14a4f29b7ae78ad5b92350cf90">&#9670;&nbsp;</a></span>gen()</h2>
@ -168,7 +177,7 @@ Static Public Member Functions</h2></td></tr>
<p>Creates a new <a class="el" href="classtvg_1_1GlCanvas.html" title="A class for the rendering graphic elements with a GL raster engine.">GlCanvas</a> object. </p>
<dl class="section return"><dt>Returns</dt><dd>A new <a class="el" href="classtvg_1_1GlCanvas.html" title="A class for the rendering graphic elements with a GL raster engine.">GlCanvas</a> object.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
<dl class="section since"><dt>Since</dt><dd>0.14 </dd></dl>
</div>
</div>
@ -222,9 +231,16 @@ Static Public Member Functions</h2></td></tr>
</table>
</dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>This API is experimental and not officially supported. It may be modified or removed in future versions. </dd>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<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 is performing rendering. Please ensure the canvas is synced. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>In case the gl engine is not supported.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e" title="Sets the drawing region in the canvas.">Canvas::viewport()</a> </dd>
<dd>
Drawing on the main surface is currently not permitted. If the identifier (<code>id</code>) is set to <code>0</code>, the operation will be aborted.</dd></dl>
<a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>Currently, this only allows the GL_RGBA8 color space format. </dd>
<dd>
Experimental API </dd></dl>

View file

@ -0,0 +1,4 @@
<map id="GlCanvas" name="GlCanvas">
<area shape="rect" id="node1" title="A class for the rendering graphic elements with a GL raster engine." alt="" coords="5,80,89,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="12,5,83,32"/>
</map>

View file

@ -0,0 +1 @@
0c8d5ae7fe91720ae0ceeec156eb3f5f

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -151,11 +151,7 @@ Static Public Member Functions</h2></td></tr>
</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#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>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>In case the engine type is not supported on the system.</td></tr>
</table>
</dd>
</dl>
@ -197,11 +193,8 @@ Static Public Member Functions</h2></td></tr>
</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>In case there is nothing to be terminated. </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>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>In case the engine type is not supported on the system.</td></tr>
</table>
</dd>
</dl>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,6 +103,15 @@ Inheritance diagram for LinearGradient:</div>
<area shape="rect" href="classtvg_1_1Fill.html" title="An abstract class representing the gradient fill of the Shape object." alt="" coords="44,5,85,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for LinearGradient:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1LinearGradient__coll__graph.png" border="0" usemap="#aLinearGradient_coll__map" alt="Collaboration graph"/></div>
<map name="aLinearGradient_coll__map" id="aLinearGradient_coll__map">
<area shape="rect" title="A class representing the linear gradient fill of the Shape object." alt="" coords="5,80,124,107"/>
<area shape="rect" href="classtvg_1_1Fill.html" title="An abstract class representing the gradient fill of the Shape object." alt="" coords="44,5,85,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@ -265,12 +274,6 @@ Static Public Member Functions</h2></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>
</table>
</dd>
</dl>
</div>
</div>
@ -331,12 +334,6 @@ Static Public Member Functions</h2></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>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>In case the first and the second points are equal, an object filled with such a gradient fill is not rendered. </dd></dl>
</div>

View file

@ -0,0 +1,4 @@
<map id="LinearGradient" name="LinearGradient">
<area shape="rect" id="node1" title="A class representing the linear gradient fill of the Shape object." alt="" coords="5,80,124,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Fill.html" title="An abstract class representing the gradient fill of the Shape object." alt="" coords="44,5,85,32"/>
</map>

View file

@ -0,0 +1 @@
c3db0510d28e17e6d0f350e1e207e474

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -1,109 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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" />
</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.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classtvg_1_1LottieAnimation.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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="headertitle">
<div class="title">LottieAnimation Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="classtvg_1_1LottieAnimation.html">LottieAnimation</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a45585afc7e6dbab9fb2d5295b67c45ee">curFrame</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679">duration</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9">frame</a>(float no) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1LottieAnimation.html#a295edc27ec3c8f15888e26c242d63312">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1LottieAnimation.html">LottieAnimation</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e">override</a>(const char *slot) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1LottieAnimation.html">LottieAnimation</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f">picture</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3">totalFrame</a>() const noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Animation.html">Animation</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>

View file

@ -1,227 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ThorVG: LottieAnimation</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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" />
</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.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classtvg_1_1LottieAnimation.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classtvg_1_1LottieAnimation-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">LottieAnimation<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>The <a class="el" href="classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features.">LottieAnimation</a> class enables control of advanced Lottie features.
<a href="classtvg_1_1LottieAnimation.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for LottieAnimation:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1LottieAnimation__inherit__graph.png" border="0" usemap="#aLottieAnimation_inherit__map" alt="Inheritance graph"/></div>
<map name="aLottieAnimation_inherit__map" id="aLottieAnimation_inherit__map">
<area shape="rect" title="The LottieAnimation class enables control of advanced Lottie features." alt="" coords="5,80,132,107"/>
<area shape="rect" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images." alt="" coords="24,5,113,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<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:a4494026fda156de49129751764f36f1e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e">override</a> (const char *slot) noexcept</td></tr>
<tr class="memdesc:a4494026fda156de49129751764f36f1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override Lottie properties using slot data. <a href="classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e">More...</a><br /></td></tr>
<tr class="separator:a4494026fda156de49129751764f36f1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classtvg_1_1Animation"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classtvg_1_1Animation')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classtvg_1_1Animation.html">Animation</a></td></tr>
<tr class="memitem:a974f03b024a8beed5c8bfe32b56ac2c9 inherit pub_methods_classtvg_1_1Animation"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9">frame</a> (float no) noexcept</td></tr>
<tr class="memdesc:a974f03b024a8beed5c8bfe32b56ac2c9 inherit pub_methods_classtvg_1_1Animation"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the current frame in the animation. <a href="classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9">More...</a><br /></td></tr>
<tr class="separator:a974f03b024a8beed5c8bfe32b56ac2c9 inherit pub_methods_classtvg_1_1Animation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a004ba625c58005c931b244fb2515624f inherit pub_methods_classtvg_1_1Animation"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtvg_1_1Picture.html">Picture</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f">picture</a> () const noexcept</td></tr>
<tr class="memdesc:a004ba625c58005c931b244fb2515624f inherit pub_methods_classtvg_1_1Animation"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a picture instance associated with this animation instance. <a href="classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f">More...</a><br /></td></tr>
<tr class="separator:a004ba625c58005c931b244fb2515624f inherit pub_methods_classtvg_1_1Animation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45585afc7e6dbab9fb2d5295b67c45ee inherit pub_methods_classtvg_1_1Animation"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#a45585afc7e6dbab9fb2d5295b67c45ee">curFrame</a> () const noexcept</td></tr>
<tr class="memdesc:a45585afc7e6dbab9fb2d5295b67c45ee inherit pub_methods_classtvg_1_1Animation"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the current frame number of the animation. <a href="classtvg_1_1Animation.html#a45585afc7e6dbab9fb2d5295b67c45ee">More...</a><br /></td></tr>
<tr class="separator:a45585afc7e6dbab9fb2d5295b67c45ee inherit pub_methods_classtvg_1_1Animation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a624e4fdeebf70f286188685e769125f3 inherit pub_methods_classtvg_1_1Animation"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3">totalFrame</a> () const noexcept</td></tr>
<tr class="memdesc:a624e4fdeebf70f286188685e769125f3 inherit pub_methods_classtvg_1_1Animation"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the total number of frames in the animation. <a href="classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3">More...</a><br /></td></tr>
<tr class="separator:a624e4fdeebf70f286188685e769125f3 inherit pub_methods_classtvg_1_1Animation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90ab38b7a2cb72d6b9de4492ff3e6679 inherit pub_methods_classtvg_1_1Animation"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679">duration</a> () const noexcept</td></tr>
<tr class="memdesc:a90ab38b7a2cb72d6b9de4492ff3e6679 inherit pub_methods_classtvg_1_1Animation"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the duration of the animation in seconds. <a href="classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679">More...</a><br /></td></tr>
<tr class="separator:a90ab38b7a2cb72d6b9de4492ff3e6679 inherit pub_methods_classtvg_1_1Animation"><td class="memSeparator" colspan="2">&#160;</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:a295edc27ec3c8f15888e26c242d63312"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr&lt; <a class="el" href="classtvg_1_1LottieAnimation.html">LottieAnimation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1LottieAnimation.html#a295edc27ec3c8f15888e26c242d63312">gen</a> () noexcept</td></tr>
<tr class="memdesc:a295edc27ec3c8f15888e26c242d63312"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features.">LottieAnimation</a> object. <a href="classtvg_1_1LottieAnimation.html#a295edc27ec3c8f15888e26c242d63312">More...</a><br /></td></tr>
<tr class="separator:a295edc27ec3c8f15888e26c242d63312"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classtvg_1_1Animation"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classtvg_1_1Animation')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classtvg_1_1Animation.html">Animation</a></td></tr>
<tr class="memitem:a9f1d09061273b58fff49740abdeb1ddf inherit pub_static_methods_classtvg_1_1Animation"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr&lt; <a class="el" href="classtvg_1_1Animation.html">Animation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Animation.html#a9f1d09061273b58fff49740abdeb1ddf">gen</a> () noexcept</td></tr>
<tr class="memdesc:a9f1d09061273b58fff49740abdeb1ddf inherit pub_static_methods_classtvg_1_1Animation"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images.">Animation</a> object. <a href="classtvg_1_1Animation.html#a9f1d09061273b58fff49740abdeb1ddf">More...</a><br /></td></tr>
<tr class="separator:a9f1d09061273b58fff49740abdeb1ddf inherit pub_static_methods_classtvg_1_1Animation"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features.">LottieAnimation</a> class enables control of advanced Lottie features. </p>
<p>This class extends the <a class="el" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images.">Animation</a> and has additional interfaces.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images.">Animation</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a295edc27ec3c8f15888e26c242d63312"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a295edc27ec3c8f15888e26c242d63312">&#9670;&nbsp;</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&lt;<a class="el" href="classtvg_1_1LottieAnimation.html">LottieAnimation</a>&gt; 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_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features.">LottieAnimation</a> object. </p>
<dl class="section return"><dt>Returns</dt><dd>A new <a class="el" href="classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features.">LottieAnimation</a> object.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
</div>
<a id="a4494026fda156de49129751764f36f1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4494026fda156de49129751764f36f1e">&#9670;&nbsp;</a></span>override()</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> override </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>slot</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>Override Lottie properties using slot data. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">slot</td><td>The Lottie slot data in JSON format to override, or <code>nullptr</code> to reset.</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>In case the animation is not loaded. </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>When the given parameter is invalid.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>tvg</b></li><li class="navelem"><a class="el" href="classtvg_1_1LottieAnimation.html">LottieAnimation</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>

View file

@ -1,4 +0,0 @@
var classtvg_1_1LottieAnimation =
[
[ "override", "classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e", null ]
];

View file

@ -1,4 +0,0 @@
<map id="LottieAnimation" name="LottieAnimation">
<area shape="rect" id="node1" title="The LottieAnimation class enables control of advanced Lottie features." alt="" coords="5,80,132,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images." alt="" coords="24,5,113,32"/>
</map>

View file

@ -1 +0,0 @@
e17331adf650c891625e9b2daf5471e8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -133,7 +133,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a7e1214a5dc2f3c19ddeedc5371c4e488"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the blending method for the paint object. <a href="classtvg_1_1Paint.html#a7e1214a5dc2f3c19ddeedc5371c4e488">More...</a><br /></td></tr>
<tr class="separator:a7e1214a5dc2f3c19ddeedc5371c4e488"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5a6ad8edd827a378111b590ed7755d"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">bounds</a> (float *x, float *y, float *w, float *h) const noexcept</td></tr>
<tr class="memdesc:aed5a6ad8edd827a378111b590ed7755d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bounding box of the paint object before any transformation. <a href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">More...</a><br /></td></tr>
<tr class="separator:aed5a6ad8edd827a378111b590ed7755d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b51b7344eac48d285c073bc488197d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">bounds</a> (float *x, float *y, float *w, float *h, bool transformed) const noexcept</td></tr>
<tr class="memdesc:a1b51b7344eac48d285c073bc488197d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the axis-aligned bounding box of the paint object. <a href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">More...</a><br /></td></tr>
@ -219,12 +218,6 @@ Public Member Functions</h2></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 the blending method is successfully set.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
@ -275,20 +268,6 @@ Public Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Gets the bounding box of the paint object before any transformation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<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><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 note"><dt>Note</dt><dd>The bounding box doesn't indicate the final rendered region. It's the smallest rectangle that encloses the object. </dd></dl>
<dl class="section see"><dt>See also</dt><dd>Paint::bounds(float* x, float* y, float* w, float* h, bool transformed); </dd></dl>
</div>
</div>
<a id="a1b51b7344eac48d285c073bc488197d3"></a>
@ -355,12 +334,6 @@ Public Member Functions</h2></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, <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.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The bounding box doesn't indicate the actual drawing region. It's the smallest rectangle that encloses the object. </dd></dl>
</div>
@ -443,12 +416,6 @@ Public Member Functions</h2></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, <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. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -569,12 +536,6 @@ Public Member Functions</h2></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>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Setting the opacity with this API may require multiple render pass for composition. It is recommended to avoid changing the opacity if possible. </dd>
<dd>
ClipPath won't use the opacity value. (see: enum class <a class="el" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a60575a18ece363c72551a982450efd52" title="The intersection of the source and the target is determined and only the resulting pixels from the so...">CompositeMethod::ClipPath</a>) </dd></dl>
@ -613,12 +574,6 @@ ClipPath won't use the opacity value. (see: enum class <a class="el" href="group
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -653,12 +608,6 @@ ClipPath won't use the opacity value. (see: enum class <a class="el" href="group
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -724,12 +673,6 @@ ClipPath won't use the opacity value. (see: enum class <a class="el" href="group
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -776,12 +719,6 @@ ClipPath won't use the opacity value. (see: enum class <a class="el" href="group
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,6 +103,15 @@ Inheritance diagram for Picture:</div>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="11,5,66,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Picture:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1Picture__coll__graph.png" border="0" usemap="#aPicture_coll__map" alt="Collaboration graph"/></div>
<map name="aPicture_coll__map" id="aPicture_coll__map">
<area shape="rect" title="A class representing an image read in one of the supported formats: raw, svg, png,..." alt="" coords="5,80,72,107"/>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="11,5,66,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@ -110,7 +119,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:aaf06be7d0b572c5ce35315cbddd7d318"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads a picture data directly from a file. <a href="classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318">More...</a><br /></td></tr>
<tr class="separator:aaf06be7d0b572c5ce35315cbddd7d318"><td class="memSeparator" colspan="2">&#160;</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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce">load</a> (const char *data, 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">&#160;</td><td class="mdescRight">Loads a picture data from a memory block of a given size. <a href="classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce">More...</a><br /></td></tr>
<tr class="separator:a3e487c0b236a6eea853c5ccb7665cdce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95979a7c4ce51445c7ef9d6461c34767"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767">load</a> (const char *data, uint32_t <a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40">size</a>, const std::string &amp;mimeType, bool copy=false) noexcept</td></tr>
<tr class="memdesc:a95979a7c4ce51445c7ef9d6461c34767"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads a picture data from a memory block of a given size. <a href="classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767">More...</a><br /></td></tr>
@ -156,7 +164,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the blending method for the paint object. <a href="classtvg_1_1Paint.html#a7e1214a5dc2f3c19ddeedc5371c4e488">More...</a><br /></td></tr>
<tr class="separator:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">bounds</a> (float *x, float *y, float *w, float *h) const noexcept</td></tr>
<tr class="memdesc:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bounding box of the paint object before any transformation. <a href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">More...</a><br /></td></tr>
<tr class="separator:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">bounds</a> (float *x, float *y, float *w, float *h, bool transformed) const noexcept</td></tr>
<tr class="memdesc:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the axis-aligned bounding box of the paint object. <a href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">More...</a><br /></td></tr>
@ -289,28 +296,6 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</table>
</div><div class="memdoc">
<p>Loads a picture data from a memory block of a given size. </p>
<p>ThorVG efficiently caches the loaded data using the specified <code>data</code> address as a key when the <code>copy</code> has <code>false</code>. This means that loading the same data again will not result in duplicate operations for the sharable <code>data</code>. Instead, ThorVG will reuse the previously loaded picture data.</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* data, uint32_t <a class="el" href="classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40" title="Resizes the picture content to the given width and height.">size</a>, const std::string&amp; mimeType, bool copy = false) noexcept </dd></dl>
</div>
</div>
<a id="a95979a7c4ce51445c7ef9d6461c34767"></a>
@ -360,6 +345,7 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</div><div class="memdoc">
<p>Loads a picture data from a memory block of a given size. </p>
<p>ThorVG efficiently caches the loaded data using the specified <code>data</code> address as a key when the <code>copy</code> has <code>false</code>. This means that loading the same data again will not result in duplicate operations for the sharable <code>data</code>. Instead, ThorVG will reuse the previously loaded picture data.</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>
@ -371,14 +357,12 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</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>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>When trying to load a file with an unknown extension.</td></tr>
</table>
</dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>: It's the user responsibility to release the <code>data</code> memory if the <code>copy</code> is <code>true</code>.</dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>: It's the user responsibility to release the <code>data</code> memory.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If you are unsure about the MIME type, you can provide an empty value like <code>""</code>, and thorvg will attempt to figure it out. </dd></dl>
<dl class="section since"><dt>Since</dt><dd>0.5 </dd></dl>
@ -418,10 +402,8 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</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 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>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>When trying to load a file with an unknown extension.</td></tr>
</table>
</dd>
</dl>
@ -480,7 +462,6 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
<p>ThorVG efficiently caches the loaded data using the specified <code>data</code> address as a key when the <code>copy</code> has <code>false</code>. This means that loading the same data again will not result in duplicate operations for the sharable <code>data</code>. Instead, ThorVG will reuse the previously loaded picture 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 picture object. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A pointer to a memory location where the content of the picture raw data is stored. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>The width of the image <code>data</code> in pixels. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>The height of the image <code>data</code> in pixels. </td></tr>
@ -489,13 +470,6 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</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, <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. </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>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>0.9 </dd></dl>
</div>
@ -583,13 +557,6 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</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#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e" title="The value returned in all other cases.">Result::Unknown</a></td><td>If fails</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The Polygons are copied internally, so modifying them after calling Mesh::mesh has no affect. </dd></dl>
<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>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
@ -638,12 +605,6 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</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>
</table>
</dd>
</dl>
</div>
</div>
@ -690,12 +651,6 @@ See <a class="el" href="classtvg_1_1Animation.html" title="The Animation class e
</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, <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. </td></tr>
</table>
</dd>
</dl>
</div>
</div>

View file

@ -0,0 +1,4 @@
<map id="Picture" name="Picture">
<area shape="rect" id="node1" title="A class representing an image read in one of the supported formats: raw, svg, png,..." alt="" coords="5,80,72,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="11,5,66,32"/>
</map>

View file

@ -0,0 +1 @@
000954cb73ed26fd2a3f6cc39d922ef1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,6 +103,15 @@ Inheritance diagram for RadialGradient:</div>
<area shape="rect" href="classtvg_1_1Fill.html" title="An abstract class representing the gradient fill of the Shape object." alt="" coords="44,5,85,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for RadialGradient:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1RadialGradient__coll__graph.png" border="0" usemap="#aRadialGradient_coll__map" alt="Collaboration graph"/></div>
<map name="aRadialGradient_coll__map" id="aRadialGradient_coll__map">
<area shape="rect" title="A class representing the radial gradient fill of the Shape object." alt="" coords="5,80,124,107"/>
<area shape="rect" href="classtvg_1_1Fill.html" title="An abstract class representing the gradient fill of the Shape object." alt="" coords="44,5,85,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@ -257,12 +266,6 @@ Static Public Member Functions</h2></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>
</table>
</dd>
</dl>
</div>
</div>
@ -318,7 +321,7 @@ Static Public Member Functions</h2></td></tr>
</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, <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> in case the <code>radius</code> value 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 the <code>radius</code> value is zero or less. </td></tr>
</table>
</dd>
</dl>

View file

@ -0,0 +1,4 @@
<map id="RadialGradient" name="RadialGradient">
<area shape="rect" id="node1" title="A class representing the radial gradient fill of the Shape object." alt="" coords="5,80,124,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Fill.html" title="An abstract class representing the gradient fill of the Shape object." alt="" coords="44,5,85,32"/>
</map>

View file

@ -0,0 +1 @@
7d9ed750e4461d9e03c1d214d789095e

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -247,10 +247,8 @@ Static Public Member Functions</h2></td></tr>
</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>if the export succeeds. </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 there are ongoing resource-saving operations. </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>if an attempt is made to save the file with an unknown extension or in an unsupported format. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a></td><td>in case of an internal error. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>if an attempt is made to save the file with an unknown extension or in an unsupported 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>if attempting to save an empty paint.</td></tr>
</table>
</dd>
@ -315,10 +313,8 @@ Saving can be asynchronous if the assigned thread number is greater than zero. T
</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 currently saving other resources. </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 or in an unsupported format. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a></td><td>An internal error. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>When trying to save a file with an unknown extension or in an unsupported 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>In case an empty paint is to be saved.</td></tr>
</table>
</dd>
@ -354,13 +350,6 @@ Saving can be asynchronous if the assigned thread number is greater than zero. T
<p>Guarantees that the saving task is finished. </p>
<p>The behavior of 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> works 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#acda492a458f3ddc2da01df672ecd85bd" title="Exports 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="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>otherwise.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The asynchronous tasking is dependent on 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> module implementation. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Saver.html#acda492a458f3ddc2da01df672ecd85bd" title="Exports the given paint data to the given path.">Saver::save()</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>0.5 </dd></dl>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -105,12 +105,11 @@ $(document).ready(function(){initNavTree('classtvg_1_1Scene.html',''); initResiz
<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#ace6c268f853a4c144076de89b7bbbe75">paints</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_1Scene.html#a19240cd5b53571da718fabef8afb7103">push</a>(std::unique_ptr&lt; Paint &gt; 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#a7b0edd52cb97da03615fe9af3ee768a9">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 &amp;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>
<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 &amp;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>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,15 +103,21 @@ Inheritance diagram for Scene:</div>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="9,5,63,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Scene:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1Scene__coll__graph.png" border="0" usemap="#aScene_coll__map" alt="Collaboration graph"/></div>
<map name="aScene_coll__map" id="aScene_coll__map">
<area shape="rect" title="A class to composite children paints." alt="" coords="5,80,67,107"/>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="9,5,63,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<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:a19240cd5b53571da718fabef8afb7103"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103">push</a> (std::unique_ptr&lt; <a class="el" href="classtvg_1_1Paint.html">Paint</a> &gt; paint) noexcept</td></tr>
<tr class="memdesc:a19240cd5b53571da718fabef8afb7103"><td class="mdescLeft">&#160;</td><td class="mdescRight">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. <a href="classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103">More...</a><br /></td></tr>
<tr class="separator:a19240cd5b53571da718fabef8afb7103"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0edd52cb97da03615fe9af3ee768a9"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9">reserve</a> (uint32_t size) noexcept</td></tr>
<tr class="memdesc:a7b0edd52cb97da03615fe9af3ee768a9"><td class="mdescLeft">&#160;</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="classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9">More...</a><br /></td></tr>
<tr class="separator:a7b0edd52cb97da03615fe9af3ee768a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace6c268f853a4c144076de89b7bbbe75"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="classtvg_1_1Paint.html">Paint</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75">paints</a> () noexcept</td></tr>
<tr class="memdesc:ace6c268f853a4c144076de89b7bbbe75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of the paints that currently held by the <a class="el" href="classtvg_1_1Scene.html" title="A class to composite children paints.">Scene</a>. <a href="classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75">More...</a><br /></td></tr>
<tr class="separator:ace6c268f853a4c144076de89b7bbbe75"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -144,7 +150,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the blending method for the paint object. <a href="classtvg_1_1Paint.html#a7e1214a5dc2f3c19ddeedc5371c4e488">More...</a><br /></td></tr>
<tr class="separator:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">bounds</a> (float *x, float *y, float *w, float *h) const noexcept</td></tr>
<tr class="memdesc:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bounding box of the paint object before any transformation. <a href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">More...</a><br /></td></tr>
<tr class="separator:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">bounds</a> (float *x, float *y, float *w, float *h, bool transformed) const noexcept</td></tr>
<tr class="memdesc:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the axis-aligned bounding box of the paint object. <a href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">More...</a><br /></td></tr>
@ -210,12 +215,6 @@ Static Public Member Functions</h2></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>
</table>
</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></dl>
<dl class="section since"><dt>Since</dt><dd>0.2 </dd></dl>
@ -345,53 +344,11 @@ Static Public Member Functions</h2></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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a> otherwise.</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="classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75" title="Returns the list of the paints that currently held by the Scene.">Scene::paints()</a> </dd>
<dd>
<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> </dd></dl>
</div>
</div>
<a id="a7b0edd52cb97da03615fe9af3ee768a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b0edd52cb97da03615fe9af3ee768a9">&#9670;&nbsp;</a></span>reserve()</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> reserve </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</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>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. </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">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><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>
</div><!-- contents -->

View file

@ -2,6 +2,5 @@ var classtvg_1_1Scene =
[
[ "clear", "classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed", null ],
[ "paints", "classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75", null ],
[ "push", "classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103", null ],
[ "reserve", "classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9", null ]
[ "push", "classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103", null ]
];

View file

@ -0,0 +1,4 @@
<map id="Scene" name="Scene">
<area shape="rect" id="node1" title="A class to composite children paints." alt="" coords="5,80,67,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="9,5,63,32"/>
</map>

View file

@ -0,0 +1 @@
e036cfb9024a5a214ab27e428762f2a6

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -135,6 +135,8 @@ $(document).ready(function(){initNavTree('classtvg_1_1Shape.html',''); initResiz
<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#ad8fb8f42c07ac68ef83383b05203ff6f">strokeMiterlimit</a>(float miterlimit) 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#a84ec91023314c914e900cade78a9095d">strokeMiterlimit</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#ac69db0796d8e184334add6b0b94b1898">strokeTrim</a>(float begin, float end, bool simultaneous=true) 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#a5e0762495957f05713a60540984fdae4">strokeTrim</a>(float *begin, float *end) 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 &amp;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>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,6 +103,15 @@ Inheritance diagram for Shape:</div>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="9,5,64,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Shape:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1Shape__coll__graph.png" border="0" usemap="#aShape_coll__map" alt="Collaboration graph"/></div>
<map name="aShape_coll__map" id="aShape_coll__map">
<area shape="rect" title="A class representing two&#45;dimensional figures and their properties." alt="" coords="5,80,68,107"/>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="9,5,64,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@ -154,6 +163,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:ad8fb8f42c07ac68ef83383b05203ff6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f">strokeMiterlimit</a> (float miterlimit) noexcept</td></tr>
<tr class="memdesc:ad8fb8f42c07ac68ef83383b05203ff6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the stroke miterlimit. <a href="classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f">More...</a><br /></td></tr>
<tr class="separator:ad8fb8f42c07ac68ef83383b05203ff6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac69db0796d8e184334add6b0b94b1898"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898">strokeTrim</a> (float begin, float end, bool simultaneous=true) noexcept</td></tr>
<tr class="memdesc:ac69db0796d8e184334add6b0b94b1898"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the trim of the stroke along the defined path segment, allowing control over which part of the stroke is visible. <a href="classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898">More...</a><br /></td></tr>
<tr class="separator:ac69db0796d8e184334add6b0b94b1898"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0552551ad67547043167f7f382174e89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a0552551ad67547043167f7f382174e89">fill</a> (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept</td></tr>
<tr class="memdesc:a0552551ad67547043167f7f382174e89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the solid color for all of the figures from the path. <a href="classtvg_1_1Shape.html#a0552551ad67547043167f7f382174e89">More...</a><br /></td></tr>
<tr class="separator:a0552551ad67547043167f7f382174e89"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -202,6 +214,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:a84ec91023314c914e900cade78a9095d"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d">strokeMiterlimit</a> () const noexcept</td></tr>
<tr class="memdesc:a84ec91023314c914e900cade78a9095d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the stroke miterlimit. <a href="classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d">More...</a><br /></td></tr>
<tr class="separator:a84ec91023314c914e900cade78a9095d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e0762495957f05713a60540984fdae4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Shape.html#a5e0762495957f05713a60540984fdae4">strokeTrim</a> (float *begin, float *end) const noexcept</td></tr>
<tr class="memdesc:a5e0762495957f05713a60540984fdae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the trim of the stroke along the defined path segment. <a href="classtvg_1_1Shape.html#a5e0762495957f05713a60540984fdae4">More...</a><br /></td></tr>
<tr class="separator:a5e0762495957f05713a60540984fdae4"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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>&#160;</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">&#160;</td><td class="mdescRight">Sets the angle by which the object is rotated. <a href="classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3">More...</a><br /></td></tr>
@ -228,7 +243,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the blending method for the paint object. <a href="classtvg_1_1Paint.html#a7e1214a5dc2f3c19ddeedc5371c4e488">More...</a><br /></td></tr>
<tr class="separator:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">bounds</a> (float *x, float *y, float *w, float *h) const noexcept</td></tr>
<tr class="memdesc:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bounding box of the paint object before any transformation. <a href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">More...</a><br /></td></tr>
<tr class="separator:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">bounds</a> (float *x, float *y, float *w, float *h, bool transformed) const noexcept</td></tr>
<tr class="memdesc:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the axis-aligned bounding box of the paint object. <a href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">More...</a><br /></td></tr>
@ -334,12 +348,6 @@ Static Public Member Functions</h2></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>
</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>
@ -403,12 +411,6 @@ Static Public Member Functions</h2></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>
</table>
</dd>
</dl>
</div>
</div>
@ -469,12 +471,6 @@ Static Public Member Functions</h2></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, <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.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The interface is designed for optimal path setting if the caller has a completed path commands already. </dd></dl>
</div>
@ -553,12 +549,6 @@ Static Public Member Functions</h2></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>
</table>
</dd>
</dl>
<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>
@ -588,12 +578,6 @@ Static Public Member Functions</h2></td></tr>
<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="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>
</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>
@ -669,12 +653,6 @@ Static Public Member Functions</h2></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>
</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>
@ -738,12 +716,6 @@ Static Public Member Functions</h2></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>
</table>
</dd>
</dl>
</div>
</div>
@ -779,12 +751,6 @@ Static Public Member Functions</h2></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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a> otherwise.</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>
@ -846,12 +812,6 @@ Static Public Member Functions</h2></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>
</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>
<dd>
ClipPath won't use the fill values. (see: enum class <a class="el" href="group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a60575a18ece363c72551a982450efd52" title="The intersection of the source and the target is determined and only the resulting pixels from the so...">CompositeMethod::ClipPath</a>) </dd></dl>
@ -1046,12 +1006,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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>
</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="classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461" title="Sets the initial point of the sub-path.">moveTo()</a> call. </dd></dl>
</div>
@ -1099,12 +1053,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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>
</table>
</dd>
</dl>
</div>
</div>
@ -1139,12 +1087,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>0.10 </dd></dl>
</div>
@ -1244,12 +1186,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
<p>Resets the properties of the shape path. </p>
<p>The transformation matrix, the color, the fill and the stroke properties are retained.</p>
<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>
</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>
@ -1298,8 +1234,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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#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 <code>dashPattern</code> is <code>nullptr</code> and <code>cnt</code> &gt; 0, <code>cnt</code> is zero, any of the dash pattern values is zero or less.</td></tr>
</table>
</dd>
@ -1340,12 +1274,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -1382,8 +1310,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a></td><td>An internal error with a memory allocation for an object to be filled. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a></td><td>In case a <code>nullptr</code> is passed as the argument. </td></tr>
</table>
</dd>
@ -1422,12 +1348,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -1463,12 +1383,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -1528,12 +1442,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -1621,12 +1529,6 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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, <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. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
@ -1783,12 +1685,113 @@ ClipPath won't use the fill values. (see: enum class <a class="el" href="group__
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported options.">Result::NonSupport</a> unsupported value, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066abc2b4181e818f2e9b52b2bc54dd55907" title="The value returned in case of unsuccessful memory allocation.">Result::FailedAllocation</a> otherwise.</td></tr>
<tr><td class="paramname">Result::InvalidArgument</td><td>for <code>miterlimit</code> values less than zero.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>0.11 </dd></dl>
</div>
</div>
<a id="a5e0762495957f05713a60540984fdae4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e0762495957f05713a60540984fdae4">&#9670;&nbsp;</a></span>strokeTrim() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool strokeTrim </td>
<td>(</td>
<td class="paramtype">float *&#160;</td>
<td class="paramname"><em>begin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float *&#160;</td>
<td class="paramname"><em>end</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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 trim of the stroke along the defined path segment. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">begin</td><td>The starting point of the segment to display along the path. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">end</td><td>Specifies the end of the segment to display along the path.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if trimming is applied simultaneously to all paths of the shape, <code>false</code> otherwise.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
</div>
<a id="ac69db0796d8e184334add6b0b94b1898"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac69db0796d8e184334add6b0b94b1898">&#9670;&nbsp;</a></span>strokeTrim() <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#ga28287671eaf7406afd604bd055ba4066">Result</a> strokeTrim </td>
<td>(</td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>begin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>end</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>simultaneous</em> = <code>true</code>&#160;</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>Sets the trim of the stroke along the defined path segment, allowing control over which part of the stroke is visible. </p>
<p>The values of the arguments <code>begin</code>, <code>end</code>, and <code>offset</code> are in the range of 0.0 to 1.0, representing the beginning of the path and the end, respectively.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">begin</td><td>Specifies the start of the segment to display along the path. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">end</td><td>Specifies the end of the segment to display along the path. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">simultaneous</td><td>Determines how to trim multiple paths within a single shape. If set to <code>true</code> (default), trimming is applied simultaneously to all paths; Otherwise, all paths are treated as a single entity with a combined length equal to the sum of their individual lengths and are trimmed as such.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
</div>
<a id="a1536ec32e91c29dd8300b0d4354773f9"></a>

View file

@ -31,5 +31,7 @@ var classtvg_1_1Shape =
[ "strokeJoin", "classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a", null ],
[ "strokeMiterlimit", "classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d", null ],
[ "strokeMiterlimit", "classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f", null ],
[ "strokeTrim", "classtvg_1_1Shape.html#a5e0762495957f05713a60540984fdae4", null ],
[ "strokeTrim", "classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898", null ],
[ "strokeWidth", "classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9", null ]
];

View file

@ -0,0 +1,4 @@
<map id="Shape" name="Shape">
<area shape="rect" id="node1" title="A class representing two&#45;dimensional figures and their properties." alt="" coords="5,80,68,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="9,5,64,32"/>
</map>

View file

@ -0,0 +1 @@
a9827c2c55561e89e0ec21823467757c

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -104,11 +104,11 @@ $(document).ready(function(){initNavTree('classtvg_1_1SwCanvas.html',''); initRe
<tr><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b">MempoolPolicy</a> enum name</td><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html">SwCanvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e">push</a>(std::unique_ptr&lt; Paint &gt; paint) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a>(uint32_t n) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5">Shareable</a> enum value</td><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html">SwCanvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc">target</a>(uint32_t *buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html">SwCanvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5">Shareable</a> enum value</td><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html">SwCanvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc">target</a>(uint32_t *buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1SwCanvas.html">SwCanvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a>(int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -104,6 +104,15 @@ Inheritance diagram for SwCanvas:</div>
<area shape="rect" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="15,5,85,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for SwCanvas:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1SwCanvas__coll__graph.png" border="0" usemap="#aSwCanvas_coll__map" alt="Collaboration graph"/></div>
<map name="aSwCanvas_coll__map" id="aSwCanvas_coll__map">
<area shape="rect" title="A class for the rendering graphical elements with a software raster engine." alt="" coords="5,80,95,107"/>
<area shape="rect" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="15,5,85,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
@ -130,9 +139,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a3486268541200559f16847cbe714a72c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set sw engine memory pool behavior policy. <a href="classtvg_1_1SwCanvas.html#a3486268541200559f16847cbe714a72c">More...</a><br /></td></tr>
<tr class="separator:a3486268541200559f16847cbe714a72c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classtvg_1_1Canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classtvg_1_1Canvas')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td></tr>
<tr class="memitem:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a> (uint32_t n) noexcept</td></tr>
<tr class="memdesc:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of the container, where all the paints pushed into the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a> are stored. <a href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">More...</a><br /></td></tr>
<tr class="separator:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="classtvg_1_1Paint.html">Paint</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a> () noexcept</td></tr>
<tr class="memdesc:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of the paints that currently held by the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a>. <a href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">More...</a><br /></td></tr>
<tr class="separator:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -148,6 +154,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">draw</a> () noexcept</td></tr>
<tr class="memdesc:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the canvas to draw the <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements.">Paint</a> objects. <a href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">More...</a><br /></td></tr>
<tr class="separator:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a> (int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td></tr>
<tr class="memdesc:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the drawing region in the canvas. <a href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">More...</a><br /></td></tr>
<tr class="separator:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a> () noexcept</td></tr>
<tr class="memdesc:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Guarantees that drawing task is finished. <a href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">More...</a><br /></td></tr>
<tr class="separator:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -278,9 +287,8 @@ Static Public Member Functions</h2></td></tr>
</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 contains some paints already. </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>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>In case the software engine is not supported.</td></tr>
</table>
</dd>
</dl>
@ -356,14 +364,16 @@ Static Public Member Functions</h2></td></tr>
</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#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a></td><td>When casting in the internal function implementation failed. </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 valid pointer is provided or the width, or the height or the stride is zero. </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>
<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 is performing rendering. Please ensure the canvas is synced. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>In case the software engine is not supported.</td></tr>
</table>
</dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>Do not access <code>buffer</code> during <a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0" title="Requests the canvas to draw the Paint objects.">Canvas::draw()</a> - <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a>. It should not be accessed while TVG is writing on it. </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>Do not access <code>buffer</code> during <a class="el" href="classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e" title="Passes drawing elements to the Canvas using Paint objects.">Canvas::push()</a> - <a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a>. It should not be accessed while the engine is writing on it.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e" title="Sets the drawing region in the canvas.">Canvas::viewport()</a> </dd>
<dd>
<a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a> </dd></dl>
</div>
</div>

View file

@ -0,0 +1,4 @@
<map id="SwCanvas" name="SwCanvas">
<area shape="rect" id="node1" title="A class for the rendering graphical elements with a software raster engine." alt="" coords="5,80,95,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="15,5,85,32"/>
</map>

View file

@ -0,0 +1 @@
9ca8dd4d52313b63c924e59e71877bcd

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -104,15 +104,16 @@ $(document).ready(function(){initNavTree('classtvg_1_1Text.html',''); initResiza
<tr><td class="entry"><a class="el" href="classtvg_1_1Text.html#a13df43a335dadaea01769a726dc9ddfd">identifier</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Text.html">Text</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#a37466e9eff2de62ff15c9df3d72b656d">tvg::Paint::identifier</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_1Text.html#a2e6612c3e7ff222151d2228b97dac1d5">load</a>(const std::string &amp;path) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Text.html">Text</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_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_1Text.html#a9dd4d33d94a639639321538338e9f9f8">text</a>(const char *text) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Text.html">Text</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4">transform</a>(const Matrix &amp;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_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8">unload</a>(const std::string &amp;path) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Text.html">Text</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Text.html#a0de92209468d6b9b09ad00e9bc4b194c">load</a>(const char *name, const char *data, uint32_t size, const std::string &amp;mimeType=&quot;ttf&quot;, bool copy=false) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Text.html">Text</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_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_1Text.html#a9dd4d33d94a639639321538338e9f9f8">text</a>(const char *text) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Text.html">Text</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 &amp;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>
<tr><td class="entry"><a class="el" href="classtvg_1_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8">unload</a>(const std::string &amp;path) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Text.html">Text</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,6 +103,15 @@ Inheritance diagram for Text:</div>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="5,5,60,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Text:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1Text__coll__graph.png" border="0" usemap="#aText_coll__map" alt="Collaboration graph"/></div>
<map name="aText_coll__map" id="aText_coll__map">
<area shape="rect" title="A class to represent text objects in a graphical context, allowing for rendering and manipulation of ..." alt="" coords="8,80,57,107"/>
<area shape="rect" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="5,5,60,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
@ -144,7 +153,6 @@ Public Member Functions</h2></td></tr>
<tr class="memdesc:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the blending method for the paint object. <a href="classtvg_1_1Paint.html#a7e1214a5dc2f3c19ddeedc5371c4e488">More...</a><br /></td></tr>
<tr class="separator:a7e1214a5dc2f3c19ddeedc5371c4e488 inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">bounds</a> (float *x, float *y, float *w, float *h) const noexcept</td></tr>
<tr class="memdesc:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bounding box of the paint object before any transformation. <a href="classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d">More...</a><br /></td></tr>
<tr class="separator:aed5a6ad8edd827a378111b590ed7755d inherit pub_methods_classtvg_1_1Paint"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">bounds</a> (float *x, float *y, float *w, float *h, bool transformed) const noexcept</td></tr>
<tr class="memdesc:a1b51b7344eac48d285c073bc488197d3 inherit pub_methods_classtvg_1_1Paint"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the axis-aligned bounding box of the paint object. <a href="classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3">More...</a><br /></td></tr>
@ -170,6 +178,9 @@ Static Public Member Functions</h2></td></tr>
<tr class="memitem:a2e6612c3e7ff222151d2228b97dac1d5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Text.html#a2e6612c3e7ff222151d2228b97dac1d5">load</a> (const std::string &amp;path) noexcept</td></tr>
<tr class="memdesc:a2e6612c3e7ff222151d2228b97dac1d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads a scalable font data (ttf) from a file. <a href="classtvg_1_1Text.html#a2e6612c3e7ff222151d2228b97dac1d5">More...</a><br /></td></tr>
<tr class="separator:a2e6612c3e7ff222151d2228b97dac1d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0de92209468d6b9b09ad00e9bc4b194c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Text.html#a0de92209468d6b9b09ad00e9bc4b194c">load</a> (const char *name, const char *data, uint32_t size, const std::string &amp;mimeType=&quot;ttf&quot;, bool copy=false) noexcept</td></tr>
<tr class="memdesc:a0de92209468d6b9b09ad00e9bc4b194c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads a scalable font data (ttf) from a memory block of a given size. <a href="classtvg_1_1Text.html#a0de92209468d6b9b09ad00e9bc4b194c">More...</a><br /></td></tr>
<tr class="separator:a0de92209468d6b9b09ad00e9bc4b194c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c3cf96821e59b74399c4c076d66fcc8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8">unload</a> (const std::string &amp;path) noexcept</td></tr>
<tr class="memdesc:a2c3cf96821e59b74399c4c076d66fcc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unloads the specified scalable font data (TTF) that was previously loaded. <a href="classtvg_1_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8">More...</a><br /></td></tr>
<tr class="separator:a2c3cf96821e59b74399c4c076d66fcc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -218,7 +229,6 @@ Static Public Member Functions</h2></td></tr>
</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, <a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6" title="The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...">Result::MemoryCorruption</a> otherwise. </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>when the font has not been set up prior to this operation.</td></tr>
</table>
</dd>
@ -281,7 +291,6 @@ Experimental API</dd></dl>
</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>when the font has not been set up prior to this operation.</td></tr>
</table>
</dd>
@ -343,7 +352,6 @@ Experimental API</dd></dl>
</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 the font properties are set successfully. </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>when the specified <code>name</code> cannot be found.</td></tr>
</table>
</dd>
@ -408,10 +416,92 @@ Experimental API</dd></dl>
<p>This method can be referred for identifying the <a class="el" href="classtvg_1_1Text.html" title="A class to represent text objects in a graphical context, allowing for rendering and manipulation of ...">Text</a> class type.</p>
<dl class="section return"><dt>Returns</dt><dd>The type id of the <a class="el" href="classtvg_1_1Text.html" title="A class to represent text objects in a graphical context, allowing for rendering and manipulation of ...">Text</a> class. </dd></dl>
</div>
</div>
<a id="a0de92209468d6b9b09ad00e9bc4b194c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0de92209468d6b9b09ad00e9bc4b194c">&#9670;&nbsp;</a></span>load() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> load </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>mimeType</em> = <code>&quot;ttf&quot;</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>copy</em> = <code>false</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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>Loads a scalable font data (ttf) from a memory block of a given size. </p>
<p>ThorVG efficiently caches the loaded font data using the specified <code>name</code> as a key. This means that loading the same fonts again will not result in duplicate operations. Instead, ThorVG will reuse the previously loaded font data.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>The name under which the font will be stored and accessible (e.x. in a <code><a class="el" href="classtvg_1_1Text.html#ae75b2b7eaa5757cfaa6620df127c0416" title="Sets the font properties for the text.">font()</a></code> API). </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A pointer to a memory location where the content of the font data 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">mimeType</td><td>Mimetype or extension of font data. In case an empty string is provided the loader will be determined automatically. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">copy</td><td>If <code>true</code> the data are copied into the engine local buffer, otherwise they are not (default).</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#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 no name is provided or if <code>size</code> is zero while <code>data</code> points to a valid memory location. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>When trying to load a file with an unsupported extension. </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 attempting to unload the font data that has not been previously loaded.</td></tr>
</table>
</dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>: It's the user responsibility to release the <code>data</code> memory.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>To unload the font data loaded using this API, pass the proper <code>name</code> and <code>nullptr</code> as <code>data</code>. </dd>
<dd>
If you are unsure about the MIME type, you can provide an empty value like <code>""</code>, and thorvg will attempt to figure it out. </dd>
<dd>
Experimental API</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Text.html#ae75b2b7eaa5757cfaa6620df127c0416" title="Sets the font properties for the text.">Text::font(const char* name, float size, const char* style)</a> </dd></dl>
</div>
</div>
<a id="a2e6612c3e7ff222151d2228b97dac1d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e6612c3e7ff222151d2228b97dac1d5">&#9670;&nbsp;</a></span>load()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#a2e6612c3e7ff222151d2228b97dac1d5">&#9670;&nbsp;</a></span>load() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
@ -444,10 +534,8 @@ Experimental API</dd></dl>
</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 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>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>When trying to load a file with an unknown extension.</td></tr>
</table>
</dd>
</dl>
@ -488,12 +576,6 @@ Experimental API</dd></dl>
</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>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API </dd></dl>
</div>
@ -532,7 +614,6 @@ Experimental API</dd></dl>
</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>Successfully unloads the font data. </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>Fails if the loader is not initialized.</td></tr>
</table>
</dd>

View file

@ -0,0 +1,4 @@
<map id="Text" name="Text">
<area shape="rect" id="node1" title="A class to represent text objects in a graphical context, allowing for rendering and manipulation of ..." alt="" coords="8,80,57,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Paint.html" title="An abstract class for managing graphical elements." alt="" coords="5,5,60,32"/>
</map>

View file

@ -0,0 +1 @@
5acf084e7e478b941c679e579ddffaf6

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -95,10 +95,10 @@ $(document).ready(function(){initNavTree('classtvg_1_1WgCanvas.html',''); initRe
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1WgCanvas.html#ac284273a5345c1b5b7010f8e35ec7a4c">gen</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1WgCanvas.html">WgCanvas</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e">push</a>(std::unique_ptr&lt; Paint &gt; paint) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a>(uint32_t n) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330">target</a>(void *window, uint32_t w, uint32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1WgCanvas.html">WgCanvas</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a>() noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a">target</a>(void *instance, void *surface, uint32_t w, uint32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1WgCanvas.html">WgCanvas</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">update</a>(Paint *paint=nullptr) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a>(int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td><td class="entry"><a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -103,16 +103,22 @@ Inheritance diagram for WgCanvas:</div>
<area shape="rect" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="15,5,86,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for WgCanvas:</div>
<div class="dyncontent">
<div class="center"><img src="classtvg_1_1WgCanvas__coll__graph.png" border="0" usemap="#aWgCanvas_coll__map" alt="Collaboration graph"/></div>
<map name="aWgCanvas_coll__map" id="aWgCanvas_coll__map">
<area shape="rect" title="A class for the rendering graphic elements with a WebGPU raster engine." alt="" coords="5,80,96,107"/>
<area shape="rect" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="15,5,86,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<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:a9b5dc178ae416c6279877c87ca0e6330"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330">target</a> (void *window, uint32_t w, uint32_t h) noexcept</td></tr>
<tr class="memdesc:a9b5dc178ae416c6279877c87ca0e6330"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the target window for the rasterization. <a href="classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330">More...</a><br /></td></tr>
<tr class="separator:a9b5dc178ae416c6279877c87ca0e6330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8374462d6f583b287a3664bee0d22c9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a">target</a> (void *instance, void *surface, uint32_t w, uint32_t h) noexcept</td></tr>
<tr class="memdesc:a8374462d6f583b287a3664bee0d22c9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the drawing target for the rasterization. <a href="classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a">More...</a><br /></td></tr>
<tr class="separator:a8374462d6f583b287a3664bee0d22c9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classtvg_1_1Canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classtvg_1_1Canvas')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classtvg_1_1Canvas.html">Canvas</a></td></tr>
<tr class="memitem:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">TVG_DEPRECATED <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">reserve</a> (uint32_t n) noexcept</td></tr>
<tr class="memdesc:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of the container, where all the paints pushed into the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a> are stored. <a href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">More...</a><br /></td></tr>
<tr class="separator:a1db0cc15b62127da865b37981402b411 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="classtvg_1_1Paint.html">Paint</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">paints</a> () noexcept</td></tr>
<tr class="memdesc:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list of the paints that currently held by the <a class="el" href="classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements.">Canvas</a>. <a href="classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75">More...</a><br /></td></tr>
<tr class="separator:ace6c268f853a4c144076de89b7bbbe75 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -128,6 +134,9 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">draw</a> () noexcept</td></tr>
<tr class="memdesc:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests the canvas to draw the <a class="el" href="classtvg_1_1Paint.html" title="An abstract class for managing graphical elements.">Paint</a> objects. <a href="classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0">More...</a><br /></td></tr>
<tr class="separator:aabf9e5a14da3b4bfd5883c2b4459abd0 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">viewport</a> (int32_t x, int32_t y, int32_t w, int32_t h) noexcept</td></tr>
<tr class="memdesc:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the drawing region in the canvas. <a href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">More...</a><br /></td></tr>
<tr class="separator:a2172bfc1790cee5dedd9cda7a2caf64e inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">sync</a> () noexcept</td></tr>
<tr class="memdesc:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Guarantees that drawing task is finished. <a href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9">More...</a><br /></td></tr>
<tr class="separator:adbca600af79f9a0b8e8366e3be7450e9 inherit pub_methods_classtvg_1_1Canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -172,8 +181,8 @@ Static Public Member Functions</h2></td></tr>
</div>
</div>
<a id="a9b5dc178ae416c6279877c87ca0e6330"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b5dc178ae416c6279877c87ca0e6330">&#9670;&nbsp;</a></span>target()</h2>
<a id="a8374462d6f583b287a3664bee0d22c9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8374462d6f583b287a3664bee0d22c9a">&#9670;&nbsp;</a></span>target()</h2>
<div class="memitem">
<div class="memproto">
@ -185,7 +194,13 @@ Static Public Member Functions</h2></td></tr>
<td class="memname"><a class="el" href="group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066">Result</a> target </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>window</em>, </td>
<td class="paramname"><em>instance</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>surface</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
@ -212,9 +227,27 @@ Static Public Member Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Sets the target window for the rasterization. </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 drawing target for the rasterization. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">instance</td><td>WGPUInstance, context for all other wgpu objects. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">surface</td><td>WGPUSurface, handle to a presentable surface. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">w</td><td>The width of the surface. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">h</td><td>The height of the surface.</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#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 is performing rendering. Please ensure the canvas is synced. </td></tr>
<tr><td class="paramname"><a class="el" href="group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29" title="The value returned in case of choosing unsupported engine features(options).">Result::NonSupport</a></td><td>In case the wg engine is not supported.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Experimental API</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e" title="Sets the drawing region in the canvas.">Canvas::viewport()</a> </dd>
<dd>
<a class="el" href="classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9" title="Guarantees that drawing task is finished.">Canvas::sync()</a> </dd></dl>
</div>
</div>

View file

@ -1,4 +1,4 @@
var classtvg_1_1WgCanvas =
[
[ "target", "classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330", null ]
[ "target", "classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a", null ]
];

View file

@ -0,0 +1,4 @@
<map id="WgCanvas" name="WgCanvas">
<area shape="rect" id="node1" title="A class for the rendering graphic elements with a WebGPU raster engine." alt="" coords="5,80,96,107"/>
<area shape="rect" id="node2" href="$classtvg_1_1Canvas.html" title="An abstract class for drawing graphical elements." alt="" coords="15,5,86,32"/>
</map>

View file

@ -0,0 +1 @@
16daebede52c9eeaa06fd3e3d5a4550f

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -204,7 +204,6 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
, <a class="el" href="classtvg_1_1Animation.html#a9f1d09061273b58fff49740abdeb1ddf">Animation</a>
, <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_1LottieAnimation.html#a295edc27ec3c8f15888e26c242d63312">LottieAnimation</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>
@ -277,9 +276,6 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
<li>order()
: <a class="el" href="classtvg_1_1Shape.html#aa7f1bade5864d60badcb5fae2b0fe034">Shape</a>
</li>
<li>override()
: <a class="el" href="classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e">LottieAnimation</a>
</li>
</ul>
@ -311,10 +307,6 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
<li>radial()
: <a class="el" href="classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030">RadialGradient</a>
</li>
<li>reserve()
: <a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">Canvas</a>
, <a class="el" href="classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9">Scene</a>
</li>
<li>reset()
: <a class="el" href="classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251">Shape</a>
</li>
@ -331,6 +323,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
<li>scale()
: <a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">Paint</a>
</li>
<li>segment()
: <a class="el" href="classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051">Animation</a>
</li>
<li>set()
: <a class="el" href="classtvg_1_1Accessor.html#a845badc349250125a45b3d90742d23d1">Accessor</a>
</li>
@ -364,6 +359,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
<li>strokeMiterlimit()
: <a class="el" href="classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f">Shape</a>
</li>
<li>strokeTrim()
: <a class="el" href="classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898">Shape</a>
</li>
<li>strokeWidth()
: <a class="el" href="classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9">Shape</a>
</li>
@ -378,7 +376,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
<li>target()
: <a class="el" href="classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad">GlCanvas</a>
, <a class="el" href="classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc">SwCanvas</a>
, <a class="el" href="classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330">WgCanvas</a>
, <a class="el" href="classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a">WgCanvas</a>
</li>
<li>term()
: <a class="el" href="classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df">Initializer</a>
@ -407,6 +405,13 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
: <a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">Canvas</a>
</li>
</ul>
<h3><a id="index_v"></a>- v -</h3><ul>
<li>viewport()
: <a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">Canvas</a>
</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -177,7 +177,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
, <a class="el" href="classtvg_1_1Animation.html#a9f1d09061273b58fff49740abdeb1ddf">Animation</a>
, <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_1LottieAnimation.html#a295edc27ec3c8f15888e26c242d63312">LottieAnimation</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>
@ -241,9 +240,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
<li>order()
: <a class="el" href="classtvg_1_1Shape.html#aa7f1bade5864d60badcb5fae2b0fe034">Shape</a>
</li>
<li>override()
: <a class="el" href="classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e">LottieAnimation</a>
</li>
</ul>
@ -272,10 +268,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
<li>radial()
: <a class="el" href="classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030">RadialGradient</a>
</li>
<li>reserve()
: <a class="el" href="classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411">Canvas</a>
, <a class="el" href="classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9">Scene</a>
</li>
<li>reset()
: <a class="el" href="classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251">Shape</a>
</li>
@ -292,6 +284,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
<li>scale()
: <a class="el" href="classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2">Paint</a>
</li>
<li>segment()
: <a class="el" href="classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051">Animation</a>
</li>
<li>set()
: <a class="el" href="classtvg_1_1Accessor.html#a845badc349250125a45b3d90742d23d1">Accessor</a>
</li>
@ -322,6 +317,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
<li>strokeMiterlimit()
: <a class="el" href="classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f">Shape</a>
</li>
<li>strokeTrim()
: <a class="el" href="classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898">Shape</a>
</li>
<li>strokeWidth()
: <a class="el" href="classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9">Shape</a>
</li>
@ -336,7 +334,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
<li>target()
: <a class="el" href="classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad">GlCanvas</a>
, <a class="el" href="classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc">SwCanvas</a>
, <a class="el" href="classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330">WgCanvas</a>
, <a class="el" href="classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a">WgCanvas</a>
</li>
<li>term()
: <a class="el" href="classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df">Initializer</a>
@ -365,6 +363,13 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
: <a class="el" href="classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3">Canvas</a>
</li>
</ul>
<h3><a id="index_v"></a>- v -</h3><ul>
<li>viewport()
: <a class="el" href="classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e">Canvas</a>
</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -388,6 +388,7 @@ Functions</h2></td></tr>
<dl class="section since"><dt>Since</dt><dd>0.9 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="ggaabdf94ada64e69d06deabc5aa6576f87a28f3dcc7d8cad65deff7d3a83031ef5a"></a>InvLumaMask&#160;</td><td class="fielddoc"><p>Alpha Masking using the grayscale (0.2125R + 0.7154G + 0.0721*B) of the complement to the compositing target's pixels. </p>
<dl class="section since"><dt>Since</dt><dd>0.11 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="ggaabdf94ada64e69d06deabc5aa6576f87a8e1e296c3f01c21b1a3db79f0ce4fe9a"></a>AddMask&#160;</td><td class="fielddoc"><p>Combines the target and source objects pixels using target alpha. (T * TA) + (S * (255 - TA)) (Experimental API) </p>
</td></tr>
@ -519,6 +520,7 @@ Functions</h2></td></tr>
</div><div class="memdoc">
<p>Enumeration specifying the result from the APIs. </p>
<p>All ThorVG APIs could potentially return one of the values in the list. Please note that some APIs may additionally specify the reasons that trigger their return values. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38"></a>Success&#160;</td><td class="fielddoc"><p>The value returned in case of a correct request execution. </p>
</td></tr>
@ -530,7 +532,7 @@ Functions</h2></td></tr>
</td></tr>
<tr><td class="fieldname"><a id="gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6"></a>MemoryCorruption&#160;</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="gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29"></a>NonSupport&#160;</td><td class="fielddoc"><p>The value returned in case of choosing unsupported options. </p>
<tr><td class="fieldname"><a id="gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29"></a>NonSupport&#160;</td><td class="fielddoc"><p>The value returned in case of choosing unsupported engine features(options). </p>
</td></tr>
<tr><td class="fieldname"><a id="gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e"></a>Unknown&#160;</td><td class="fielddoc"><p>The value returned in all other cases. </p>
</td></tr>

View file

@ -43,9 +43,9 @@ var group__ThorVG =
[ "draw", "classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0", null ],
[ "paints", "classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75", null ],
[ "push", "classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e", null ],
[ "reserve", "classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411", null ],
[ "sync", "classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9", null ],
[ "update", "classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3", null ]
[ "update", "classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3", null ],
[ "viewport", "classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e", null ]
] ],
[ "LinearGradient", "classtvg_1_1LinearGradient.html", [
[ "linear", "classtvg_1_1LinearGradient.html#a5c77e9f6e855a595945f45a6b19ee983", null ],
@ -87,6 +87,8 @@ var group__ThorVG =
[ "strokeJoin", "classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a", null ],
[ "strokeMiterlimit", "classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d", null ],
[ "strokeMiterlimit", "classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f", null ],
[ "strokeTrim", "classtvg_1_1Shape.html#a5e0762495957f05713a60540984fdae4", null ],
[ "strokeTrim", "classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898", null ],
[ "strokeWidth", "classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9", null ]
] ],
[ "Picture", "classtvg_1_1Picture.html", [
@ -102,8 +104,7 @@ var group__ThorVG =
[ "Scene", "classtvg_1_1Scene.html", [
[ "clear", "classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed", null ],
[ "paints", "classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75", null ],
[ "push", "classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103", null ],
[ "reserve", "classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9", null ]
[ "push", "classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103", null ]
] ],
[ "Text", "classtvg_1_1Text.html", [
[ "fill", "classtvg_1_1Text.html#ad0cb7b2ec8d18d7c6d366cc84741682c", null ],
@ -130,7 +131,7 @@ var group__ThorVG =
[ "target", "classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad", null ]
] ],
[ "WgCanvas", "classtvg_1_1WgCanvas.html", [
[ "target", "classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330", null ]
[ "target", "classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a", null ]
] ],
[ "Initializer", "classtvg_1_1Initializer.html", null ],
[ "Animation", "classtvg_1_1Animation.html", [
@ -138,6 +139,8 @@ var group__ThorVG =
[ "duration", "classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679", null ],
[ "frame", "classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9", null ],
[ "picture", "classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f", null ],
[ "segment", "classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb", null ],
[ "segment", "classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051", null ],
[ "totalFrame", "classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3", null ]
] ],
[ "Saver", "classtvg_1_1Saver.html", [

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -92,27 +92,26 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable();
This inheritance list is sorted roughly, but not completely, alphabetically:</div><div class="directory">
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Accessor.html" target="_self">Accessor</a></td><td class="desc">The <a class="el" href="classtvg_1_1Accessor.html" title="The Accessor is a utility class to debug the Scene structure by traversing the scene-tree.">Accessor</a> is a utility class to debug the <a class="el" href="classtvg_1_1Scene.html" title="A class to composite children paints.">Scene</a> structure by traversing the scene-tree </td></tr>
<tr id="row_1_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Animation.html" target="_self">Animation</a></td><td class="desc">Enables manipulation of animatable images </td></tr>
<tr id="row_1_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1LottieAnimation.html" target="_self">LottieAnimation</a></td><td class="desc">Enables control of advanced Lottie features </td></tr>
<tr id="row_2_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Canvas.html" target="_self">Canvas</a></td><td class="desc">An abstract class for drawing graphical elements </td></tr>
<tr id="row_2_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1GlCanvas.html" target="_self">GlCanvas</a></td><td class="desc">A class for the rendering graphic elements with a GL raster engine </td></tr>
<tr id="row_2_1_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_2_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1WgCanvas.html" target="_self">WgCanvas</a></td><td class="desc">A class for the rendering graphic elements with a WebGPU raster engine </td></tr>
<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Fill_1_1ColorStop.html" target="_self">Fill::ColorStop</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_4_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_4_" class="arrow" onclick="toggleFolder('4_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Fill.html" target="_self">Fill</a></td><td class="desc">An abstract class representing the 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_4_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1LinearGradient.html" target="_self">LinearGradient</a></td><td class="desc">A class representing the linear 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_4_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_5_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Initializer.html" target="_self">Initializer</a></td><td class="desc">A class that enables initialization and termination of the TVG engines </td></tr>
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Matrix.html" target="_self">Matrix</a></td><td class="desc">A data structure representing a three-dimensional matrix </td></tr>
<tr id="row_7_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_7_" class="arrow" onclick="toggleFolder('7_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Paint.html" target="_self">Paint</a></td><td class="desc">An abstract class for managing graphical elements </td></tr>
<tr id="row_7_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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, jpg, lottie(json) 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 &amp; draw images on the canvas </td></tr>
<tr id="row_7_1_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_7_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_7_3_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Text.html" target="_self">Text</a></td><td class="desc">A class to represent text objects in a graphical context, allowing for rendering and manipulation of unicode text </td></tr>
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</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_9_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Polygon.html" target="_self">Polygon</a></td><td class="desc">A data structure representing a triange in a texture mesh </td></tr>
<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</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_11_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Vertex.html" target="_self">Vertex</a></td><td class="desc">A data structure representing a texture mesh vertex </td></tr>
<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Animation.html" target="_self">Animation</a></td><td class="desc">Enables manipulation of animatable images </td></tr>
<tr id="row_2_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Canvas.html" target="_self">Canvas</a></td><td class="desc">An abstract class for drawing graphical elements </td></tr>
<tr id="row_2_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1GlCanvas.html" target="_self">GlCanvas</a></td><td class="desc">A class for the rendering graphic elements with a GL raster engine </td></tr>
<tr id="row_2_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_2_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1WgCanvas.html" target="_self">WgCanvas</a></td><td class="desc">A class for the rendering graphic elements with a WebGPU raster engine </td></tr>
<tr id="row_3_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Fill_1_1ColorStop.html" target="_self">Fill::ColorStop</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_4_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_4_" class="arrow" onclick="toggleFolder('4_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Fill.html" target="_self">Fill</a></td><td class="desc">An abstract class representing the 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_4_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1LinearGradient.html" target="_self">LinearGradient</a></td><td class="desc">A class representing the linear 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_4_1_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_5_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Initializer.html" target="_self">Initializer</a></td><td class="desc">A class that enables initialization and termination of the TVG engines </td></tr>
<tr id="row_6_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Matrix.html" target="_self">Matrix</a></td><td class="desc">A data structure representing a three-dimensional matrix </td></tr>
<tr id="row_7_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_7_" class="arrow" onclick="toggleFolder('7_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Paint.html" target="_self">Paint</a></td><td class="desc">An abstract class for managing graphical elements </td></tr>
<tr id="row_7_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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, jpg, lottie(json) 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 &amp; draw images on the canvas </td></tr>
<tr id="row_7_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_7_2_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</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_7_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtvg_1_1Text.html" target="_self">Text</a></td><td class="desc">A class to represent text objects in a graphical context, allowing for rendering and manipulation of unicode text </td></tr>
<tr id="row_8_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</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_9_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Polygon.html" target="_self">Polygon</a></td><td class="desc">A data structure representing a triange in a texture mesh </td></tr>
<tr id="row_10_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</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_11_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structtvg_1_1Vertex.html" target="_self">Vertex</a></td><td class="desc">A data structure representing a texture mesh vertex </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->

View file

@ -1,9 +1,7 @@
var hierarchy =
[
[ "Accessor", "classtvg_1_1Accessor.html", null ],
[ "Animation", "classtvg_1_1Animation.html", [
[ "LottieAnimation", "classtvg_1_1LottieAnimation.html", null ]
] ],
[ "Animation", "classtvg_1_1Animation.html", null ],
[ "Canvas", "classtvg_1_1Canvas.html", [
[ "GlCanvas", "classtvg_1_1GlCanvas.html", null ],
[ "SwCanvas", "classtvg_1_1SwCanvas.html", null ],

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -1,4 +1,3 @@
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
<area shape="rect" id="node1" href="$classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images." alt="" coords="5,5,95,32"/>
<area shape="rect" id="node2" href="$classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features." alt="" coords="143,5,269,32"/>
</map>

View file

@ -1 +1 @@
98f4c6fb2fb8a5062aee01789d50ad8b
68268815e2926a5e1cbe52759329f9d8

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 993 B

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>
@ -98,7 +98,6 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable();
<tr><td><img src="inherit_graph_1.png" border="0" usemap="#aAnimation" alt=""/>
<map name="aAnimation" id="aAnimation">
<area shape="rect" href="classtvg_1_1Animation.html" title="The Animation class enables manipulation of animatable images." alt="" coords="5,5,95,32"/>
<area shape="rect" href="classtvg_1_1LottieAnimation.html" title="The LottieAnimation class enables control of advanced Lottie features." alt="" coords="143,5,269,32"/>
</map>
</td></tr>
<tr><td><img src="inherit_graph_2.png" border="0" usemap="#aCanvas" alt=""/>

View file

@ -45,7 +45,8 @@ var menudata={children:[
{text:"r",url:"functions.html#index_r"},
{text:"s",url:"functions.html#index_s"},
{text:"t",url:"functions.html#index_t"},
{text:"u",url:"functions.html#index_u"}]},
{text:"u",url:"functions.html#index_u"},
{text:"v",url:"functions.html#index_v"}]},
{text:"Functions",url:"functions_func.html",children:[
{text:"a",url:"functions_func.html#index_a"},
{text:"b",url:"functions_func.html#index_b"},
@ -61,7 +62,8 @@ var menudata={children:[
{text:"r",url:"functions_func.html#index_r"},
{text:"s",url:"functions_func.html#index_s"},
{text:"t",url:"functions_func.html#index_t"},
{text:"u",url:"functions_func.html#index_u"}]},
{text:"u",url:"functions_func.html#index_u"},
{text:"v",url:"functions_func.html#index_v"}]},
{text:"Variables",url:"functions_vars.html"},
{text:"Enumerations",url:"functions_enum.html"},
{text:"Enumerator",url:"functions_eval.html"}]}]}]}

View file

@ -27,7 +27,7 @@
<td id="projectlogo"><img alt="Logo" src="small_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ThorVG
&#160;<span id="projectnumber">v0.13</span>
&#160;<span id="projectnumber">v0.14</span>
</div>
</td>
</tr>

View file

@ -7,17 +7,19 @@ var NAVTREEINDEX0 =
"classtvg_1_1Animation.html":[0,0,17],
"classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f":[0,0,17,3],
"classtvg_1_1Animation.html#a45585afc7e6dbab9fb2d5295b67c45ee":[0,0,17,0],
"classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3":[0,0,17,4],
"classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3":[0,0,17,6],
"classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679":[0,0,17,1],
"classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9":[0,0,17,2],
"classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051":[0,0,17,5],
"classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb":[0,0,17,4],
"classtvg_1_1Canvas.html":[0,0,6],
"classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411":[0,0,6,4],
"classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e":[0,0,6,6],
"classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e":[0,0,6,3],
"classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3":[0,0,6,6],
"classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3":[0,0,6,5],
"classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd":[0,0,6,0],
"classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0":[0,0,6,1],
"classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75":[0,0,6,2],
"classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9":[0,0,6,5],
"classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9":[0,0,6,4],
"classtvg_1_1Fill.html":[0,0,5],
"classtvg_1_1Fill.html#a37466e9eff2de62ff15c9df3d72b656d":[0,0,5,4],
"classtvg_1_1Fill.html#a48e358abab4478ff7f84dfb85608eaf3":[0,0,5,3],
@ -33,8 +35,6 @@ var NAVTREEINDEX0 =
"classtvg_1_1LinearGradient.html":[0,0,7],
"classtvg_1_1LinearGradient.html#a5c77e9f6e855a595945f45a6b19ee983":[0,0,7,0],
"classtvg_1_1LinearGradient.html#aa881eb89e14ade6a30bc41d7eb8eaf52":[0,0,7,1],
"classtvg_1_1LottieAnimation.html":[1,0,0,20],
"classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e":[1,0,0,20,0],
"classtvg_1_1Paint.html":[0,0,4],
"classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3":[0,0,4,3],
"classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b":[0,0,4,5],
@ -70,7 +70,6 @@ var NAVTREEINDEX0 =
"classtvg_1_1Saver.html#acda492a458f3ddc2da01df672ecd85bd":[0,0,18,2],
"classtvg_1_1Scene.html":[0,0,11],
"classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103":[0,0,11,2],
"classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9":[0,0,11,3],
"classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed":[0,0,11,0],
"classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75":[0,0,11,1],
"classtvg_1_1Shape.html":[0,0,9],
@ -78,7 +77,7 @@ var NAVTREEINDEX0 =
"classtvg_1_1Shape.html#a0552551ad67547043167f7f382174e89":[0,0,9,9],
"classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e":[0,0,9,27],
"classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674":[0,0,9,24],
"classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9":[0,0,9,31],
"classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9":[0,0,9,33],
"classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697":[0,0,9,4],
"classtvg_1_1Shape.html#a2f003a843ff42f6cee6a726f543836e3":[0,0,9,0],
"classtvg_1_1Shape.html#a3588ea30776a747a22b6ee82dadb9717":[0,0,9,2],
@ -86,6 +85,7 @@ var NAVTREEINDEX0 =
"classtvg_1_1Shape.html#a52eccb2815eaa1231da9c389cd92ffa1":[0,0,9,1],
"classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461":[0,0,9,13],
"classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73":[0,0,9,19],
"classtvg_1_1Shape.html#a5e0762495957f05713a60540984fdae4":[0,0,9,31],
"classtvg_1_1Shape.html#a6705be0d6481277e9bf17cc918597665":[0,0,9,25],
"classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29":[0,0,9,5],
"classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251":[0,0,9,17],
@ -102,6 +102,7 @@ var NAVTREEINDEX0 =
"classtvg_1_1Shape.html#ac14cd997439012e1abf6c1b8d9f3d4aa":[0,0,9,11],
"classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7":[0,0,9,15],
"classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177":[0,0,9,22],
"classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898":[0,0,9,32],
"classtvg_1_1Shape.html#ad0cb7b2ec8d18d7c6d366cc84741682c":[0,0,9,8],
"classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f":[0,0,9,30],
"classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4":[0,0,9,18],
@ -124,7 +125,7 @@ var NAVTREEINDEX0 =
"classtvg_1_1Text.html#ad0cb7b2ec8d18d7c6d366cc84741682c":[0,0,12,0],
"classtvg_1_1Text.html#ae75b2b7eaa5757cfaa6620df127c0416":[0,0,12,2],
"classtvg_1_1WgCanvas.html":[0,0,15],
"classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330":[0,0,15,0],
"classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a":[0,0,15,0],
"functions.html":[1,3,0],
"functions_enum.html":[1,3,3],
"functions_eval.html":[1,3,4],

View file

@ -1,11 +1,11 @@
var searchData=
[
['target_144',['target',['../classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc',1,'tvg::SwCanvas::target()'],['../classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad',1,'tvg::GlCanvas::target()'],['../classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330',1,'tvg::WgCanvas::target()']]],
['term_145',['term',['../classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df',1,'tvg::Initializer']]],
['text_146',['text',['../classtvg_1_1Text.html#a9dd4d33d94a639639321538338e9f9f8',1,'tvg::Text']]],
['text_147',['Text',['../classtvg_1_1Text.html',1,'tvg']]],
['thorvg_148',['ThorVG',['../group__ThorVG.html',1,'']]],
['totalframe_149',['totalFrame',['../classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3',1,'tvg::Animation']]],
['transform_150',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint::transform(const Matrix &amp;m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept'],['../classtvg_1_1Fill.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Fill::transform(const Matrix &amp;m) noexcept'],['../classtvg_1_1Fill.html#ad96ad531732975db718aaf1210d47cd7',1,'tvg::Fill::transform() const noexcept']]],
['translate_151',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]]
['target_143',['target',['../classtvg_1_1SwCanvas.html#a2d4c80a0ba45465b073ee0c279e8c8dc',1,'tvg::SwCanvas::target()'],['../classtvg_1_1GlCanvas.html#a182ae193566dbc09fc2ec5a369ad38ad',1,'tvg::GlCanvas::target()'],['../classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a',1,'tvg::WgCanvas::target()']]],
['term_144',['term',['../classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df',1,'tvg::Initializer']]],
['text_145',['text',['../classtvg_1_1Text.html#a9dd4d33d94a639639321538338e9f9f8',1,'tvg::Text']]],
['text_146',['Text',['../classtvg_1_1Text.html',1,'tvg']]],
['thorvg_147',['ThorVG',['../group__ThorVG.html',1,'']]],
['totalframe_148',['totalFrame',['../classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3',1,'tvg::Animation']]],
['transform_149',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint::transform(const Matrix &amp;m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept'],['../classtvg_1_1Fill.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Fill::transform(const Matrix &amp;m) noexcept'],['../classtvg_1_1Fill.html#ad96ad531732975db718aaf1210d47cd7',1,'tvg::Fill::transform() const noexcept']]],
['translate_150',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]]
];

View file

@ -1,6 +1,6 @@
var searchData=
[
['unknown_152',['Unknown',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e',1,'tvg']]],
['unload_153',['unload',['../classtvg_1_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8',1,'tvg::Text']]],
['update_154',['update',['../classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3',1,'tvg::Canvas']]]
['unknown_151',['Unknown',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a88183b946cc5f0e8c96b2e66e1c74a7e',1,'tvg']]],
['unload_152',['unload',['../classtvg_1_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8',1,'tvg::Text']]],
['update_153',['update',['../classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3',1,'tvg::Canvas']]]
];

View file

@ -1,4 +1,5 @@
var searchData=
[
['vertex_155',['Vertex',['../structtvg_1_1Vertex.html',1,'tvg']]]
['vertex_154',['Vertex',['../structtvg_1_1Vertex.html',1,'tvg']]],
['viewport_155',['viewport',['../classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e',1,'tvg::Canvas']]]
];

View file

@ -1,7 +1,7 @@
var searchData=
[
['g_56',['g',['../structtvg_1_1Fill_1_1ColorStop.html#a1673907d4d89d763bb7b94ec1eeb7b60',1,'tvg::Fill::ColorStop']]],
['gen_57',['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_1Text.html#a1735f0250295aba25eb12d7fa3e17044',1,'tvg::Text::gen()'],['../classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96',1,'tvg::SwCanvas::gen()'],['../classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90',1,'tvg::GlCanvas::gen()'],['../classtvg_1_1WgCanvas.html#ac284273a5345c1b5b7010f8e35ec7a4c',1,'tvg::WgCanvas::gen()'],['../classtvg_1_1Animation.html#a9f1d09061273b58fff49740abdeb1ddf',1,'tvg::Animation::gen()'],['../classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683',1,'tvg::Saver::gen()'],['../classtvg_1_1Accessor.html#a948e9f4ff06cdc9c19bcc60c1458ecc2',1,'tvg::Accessor::gen()'],['../classtvg_1_1LottieAnimation.html#a295edc27ec3c8f15888e26c242d63312',1,'tvg::LottieAnimation::gen()']]],
['gen_57',['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_1Text.html#a1735f0250295aba25eb12d7fa3e17044',1,'tvg::Text::gen()'],['../classtvg_1_1SwCanvas.html#aba83ff17ba357417c8bbe62cf5141c96',1,'tvg::SwCanvas::gen()'],['../classtvg_1_1GlCanvas.html#ad6ae7e14a4f29b7ae78ad5b92350cf90',1,'tvg::GlCanvas::gen()'],['../classtvg_1_1WgCanvas.html#ac284273a5345c1b5b7010f8e35ec7a4c',1,'tvg::WgCanvas::gen()'],['../classtvg_1_1Animation.html#a9f1d09061273b58fff49740abdeb1ddf',1,'tvg::Animation::gen()'],['../classtvg_1_1Saver.html#a938c339098e9da63f98f2b182a4cf683',1,'tvg::Saver::gen()'],['../classtvg_1_1Accessor.html#a948e9f4ff06cdc9c19bcc60c1458ecc2',1,'tvg::Accessor::gen()']]],
['gl_58',['Gl',['../group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa0f16de4274952a7184e059c5f2d048d6',1,'tvg']]],
['glcanvas_59',['GlCanvas',['../classtvg_1_1GlCanvas.html',1,'tvg']]]
];

Some files were not shown because too many files have changed in this diff Show more