From 4dfd591a7b62caceaab8ebd2038530e66b9e3a60 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 26 Jun 2024 15:24:46 +0900 Subject: [PATCH] docs: updated to v0.14 --- docs/Doxyfile | 2 +- docs/html/annotated.html | 3 +- docs/html/annotated_dup.js | 3 +- docs/html/classes.html | 4 +- docs/html/classtvg_1_1Accessor-members.html | 2 +- docs/html/classtvg_1_1Accessor.html | 2 +- docs/html/classtvg_1_1Animation-members.html | 4 +- docs/html/classtvg_1_1Animation.html | 135 +- docs/html/classtvg_1_1Animation.js | 2 + .../classtvg_1_1Animation__inherit__graph.map | 4 - .../classtvg_1_1Animation__inherit__graph.md5 | 1 - .../classtvg_1_1Animation__inherit__graph.png | Bin 2727 -> 0 bytes docs/html/classtvg_1_1Canvas-members.html | 8 +- docs/html/classtvg_1_1Canvas.html | 137 +- docs/html/classtvg_1_1Canvas.js | 4 +- docs/html/classtvg_1_1Fill-members.html | 2 +- docs/html/classtvg_1_1Fill.html | 26 +- docs/html/classtvg_1_1GlCanvas-members.html | 10 +- docs/html/classtvg_1_1GlCanvas.html | 32 +- .../classtvg_1_1GlCanvas__coll__graph.map | 4 + .../classtvg_1_1GlCanvas__coll__graph.md5 | 1 + .../classtvg_1_1GlCanvas__coll__graph.png | Bin 0 -> 2763 bytes .../html/classtvg_1_1Initializer-members.html | 2 +- docs/html/classtvg_1_1Initializer.html | 13 +- .../classtvg_1_1LinearGradient-members.html | 2 +- docs/html/classtvg_1_1LinearGradient.html | 25 +- ...lasstvg_1_1LinearGradient__coll__graph.map | 4 + ...lasstvg_1_1LinearGradient__coll__graph.md5 | 1 + ...lasstvg_1_1LinearGradient__coll__graph.png | Bin 0 -> 1985 bytes .../classtvg_1_1LottieAnimation-members.html | 109 -- docs/html/classtvg_1_1LottieAnimation.html | 227 ---- docs/html/classtvg_1_1LottieAnimation.js | 4 - ...tvg_1_1LottieAnimation__inherit__graph.map | 4 - ...tvg_1_1LottieAnimation__inherit__graph.md5 | 1 - ...tvg_1_1LottieAnimation__inherit__graph.png | Bin 2766 -> 0 bytes docs/html/classtvg_1_1Paint-members.html | 2 +- docs/html/classtvg_1_1Paint.html | 75 +- docs/html/classtvg_1_1Picture-members.html | 2 +- docs/html/classtvg_1_1Picture.html | 77 +- .../html/classtvg_1_1Picture__coll__graph.map | 4 + .../html/classtvg_1_1Picture__coll__graph.md5 | 1 + .../html/classtvg_1_1Picture__coll__graph.png | Bin 0 -> 1814 bytes .../classtvg_1_1RadialGradient-members.html | 2 +- docs/html/classtvg_1_1RadialGradient.html | 21 +- ...lasstvg_1_1RadialGradient__coll__graph.map | 4 + ...lasstvg_1_1RadialGradient__coll__graph.md5 | 1 + ...lasstvg_1_1RadialGradient__coll__graph.png | Bin 0 -> 2122 bytes docs/html/classtvg_1_1Saver-members.html | 2 +- docs/html/classtvg_1_1Saver.html | 17 +- docs/html/classtvg_1_1Scene-members.html | 13 +- docs/html/classtvg_1_1Scene.html | 63 +- docs/html/classtvg_1_1Scene.js | 3 +- docs/html/classtvg_1_1Scene__coll__graph.map | 4 + docs/html/classtvg_1_1Scene__coll__graph.md5 | 1 + docs/html/classtvg_1_1Scene__coll__graph.png | Bin 0 -> 1788 bytes docs/html/classtvg_1_1Shape-members.html | 4 +- docs/html/classtvg_1_1Shape.html | 249 ++-- docs/html/classtvg_1_1Shape.js | 2 + docs/html/classtvg_1_1Shape__coll__graph.map | 4 + docs/html/classtvg_1_1Shape__coll__graph.md5 | 1 + docs/html/classtvg_1_1Shape__coll__graph.png | Bin 0 -> 1962 bytes docs/html/classtvg_1_1SwCanvas-members.html | 12 +- docs/html/classtvg_1_1SwCanvas.html | 30 +- .../classtvg_1_1SwCanvas__coll__graph.map | 4 + .../classtvg_1_1SwCanvas__coll__graph.md5 | 1 + .../classtvg_1_1SwCanvas__coll__graph.png | Bin 0 -> 2663 bytes docs/html/classtvg_1_1Text-members.html | 21 +- docs/html/classtvg_1_1Text.html | 119 +- docs/html/classtvg_1_1Text__coll__graph.map | 4 + docs/html/classtvg_1_1Text__coll__graph.md5 | 1 + docs/html/classtvg_1_1Text__coll__graph.png | Bin 0 -> 1633 bytes docs/html/classtvg_1_1WgCanvas-members.html | 10 +- docs/html/classtvg_1_1WgCanvas.html | 59 +- docs/html/classtvg_1_1WgCanvas.js | 2 +- .../classtvg_1_1WgCanvas__coll__graph.map | 4 + .../classtvg_1_1WgCanvas__coll__graph.md5 | 1 + .../classtvg_1_1WgCanvas__coll__graph.png | Bin 0 -> 2804 bytes .../dir_bfccd401955b95cf8c75461437045ac0.html | 2 +- docs/html/functions.html | 25 +- docs/html/functions_enum.html | 2 +- docs/html/functions_eval.html | 2 +- docs/html/functions_func.html | 25 +- docs/html/functions_vars.html | 2 +- docs/html/graph_legend.html | 2 +- docs/html/group__ThorVG.html | 6 +- docs/html/group__ThorVG.js | 13 +- docs/html/hierarchy.html | 43 +- docs/html/hierarchy.js | 4 +- docs/html/index.html | 2 +- docs/html/inherit_graph_1.map | 1 - docs/html/inherit_graph_1.md5 | 2 +- docs/html/inherit_graph_1.png | Bin 2007 -> 993 bytes docs/html/inherits.html | 3 +- docs/html/menudata.js | 6 +- docs/html/modules.html | 2 +- docs/html/navtreeindex0.js | 19 +- docs/html/search/all_10.js | 16 +- docs/html/search/all_11.js | 6 +- docs/html/search/all_12.js | 3 +- docs/html/search/all_6.js | 2 +- docs/html/search/all_9.js | 5 +- docs/html/search/all_a.js | 18 +- docs/html/search/all_b.js | 6 +- docs/html/search/all_c.js | 9 +- docs/html/search/all_d.js | 22 +- docs/html/search/all_e.js | 19 +- docs/html/search/all_f.js | 58 +- docs/html/search/classes_5.js | 3 +- docs/html/search/classes_6.js | 2 +- docs/html/search/classes_7.js | 8 +- docs/html/search/classes_8.js | 2 +- docs/html/search/classes_9.js | 8 +- docs/html/search/classes_a.js | 2 +- docs/html/search/classes_b.js | 2 +- docs/html/search/classes_c.js | 2 +- docs/html/search/functions_0.js | 8 +- docs/html/search/functions_1.js | 6 +- docs/html/search/functions_2.js | 14 +- docs/html/search/functions_3.js | 6 +- docs/html/search/functions_4.js | 10 +- docs/html/search/functions_5.js | 2 +- docs/html/search/functions_6.js | 4 +- docs/html/search/functions_7.js | 6 +- docs/html/search/functions_8.js | 6 +- docs/html/search/functions_9.js | 5 +- docs/html/search/functions_a.js | 10 +- docs/html/search/functions_b.js | 7 +- docs/html/search/functions_c.js | 30 +- docs/html/search/functions_d.js | 12 +- docs/html/search/functions_e.js | 4 +- docs/html/search/functions_f.html | 37 + docs/html/search/functions_f.js | 4 + docs/html/search/searchdata.js | 2 +- ...tructtvg_1_1Fill_1_1ColorStop-members.html | 2 +- docs/html/structtvg_1_1Fill_1_1ColorStop.html | 2 +- docs/html/structtvg_1_1Matrix-members.html | 2 +- docs/html/structtvg_1_1Matrix.html | 2 +- docs/html/structtvg_1_1Point-members.html | 2 +- docs/html/structtvg_1_1Point.html | 2 +- docs/html/structtvg_1_1Polygon-members.html | 2 +- docs/html/structtvg_1_1Polygon.html | 12 +- .../structtvg_1_1Polygon__coll__graph.map | 5 + .../structtvg_1_1Polygon__coll__graph.md5 | 1 + .../structtvg_1_1Polygon__coll__graph.png | Bin 0 -> 4655 bytes docs/html/structtvg_1_1Vertex-members.html | 2 +- docs/html/structtvg_1_1Vertex.html | 11 +- .../html/structtvg_1_1Vertex__coll__graph.map | 4 + .../html/structtvg_1_1Vertex__coll__graph.md5 | 1 + .../html/structtvg_1_1Vertex__coll__graph.png | Bin 0 -> 2736 bytes docs/html/thorvg_8h_source.html | 1159 +++++++++-------- docs/html/thorvg__lottie_8h_source.html | 125 -- 151 files changed, 1598 insertions(+), 1861 deletions(-) delete mode 100644 docs/html/classtvg_1_1Animation__inherit__graph.map delete mode 100644 docs/html/classtvg_1_1Animation__inherit__graph.md5 delete mode 100644 docs/html/classtvg_1_1Animation__inherit__graph.png create mode 100644 docs/html/classtvg_1_1GlCanvas__coll__graph.map create mode 100644 docs/html/classtvg_1_1GlCanvas__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1GlCanvas__coll__graph.png create mode 100644 docs/html/classtvg_1_1LinearGradient__coll__graph.map create mode 100644 docs/html/classtvg_1_1LinearGradient__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1LinearGradient__coll__graph.png delete mode 100644 docs/html/classtvg_1_1LottieAnimation-members.html delete mode 100644 docs/html/classtvg_1_1LottieAnimation.html delete mode 100644 docs/html/classtvg_1_1LottieAnimation.js delete mode 100644 docs/html/classtvg_1_1LottieAnimation__inherit__graph.map delete mode 100644 docs/html/classtvg_1_1LottieAnimation__inherit__graph.md5 delete mode 100644 docs/html/classtvg_1_1LottieAnimation__inherit__graph.png create mode 100644 docs/html/classtvg_1_1Picture__coll__graph.map create mode 100644 docs/html/classtvg_1_1Picture__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1Picture__coll__graph.png create mode 100644 docs/html/classtvg_1_1RadialGradient__coll__graph.map create mode 100644 docs/html/classtvg_1_1RadialGradient__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1RadialGradient__coll__graph.png create mode 100644 docs/html/classtvg_1_1Scene__coll__graph.map create mode 100644 docs/html/classtvg_1_1Scene__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1Scene__coll__graph.png create mode 100644 docs/html/classtvg_1_1Shape__coll__graph.map create mode 100644 docs/html/classtvg_1_1Shape__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1Shape__coll__graph.png create mode 100644 docs/html/classtvg_1_1SwCanvas__coll__graph.map create mode 100644 docs/html/classtvg_1_1SwCanvas__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1SwCanvas__coll__graph.png create mode 100644 docs/html/classtvg_1_1Text__coll__graph.map create mode 100644 docs/html/classtvg_1_1Text__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1Text__coll__graph.png create mode 100644 docs/html/classtvg_1_1WgCanvas__coll__graph.map create mode 100644 docs/html/classtvg_1_1WgCanvas__coll__graph.md5 create mode 100644 docs/html/classtvg_1_1WgCanvas__coll__graph.png create mode 100644 docs/html/search/functions_f.html create mode 100644 docs/html/search/functions_f.js create mode 100644 docs/html/structtvg_1_1Polygon__coll__graph.map create mode 100644 docs/html/structtvg_1_1Polygon__coll__graph.md5 create mode 100644 docs/html/structtvg_1_1Polygon__coll__graph.png create mode 100644 docs/html/structtvg_1_1Vertex__coll__graph.map create mode 100644 docs/html/structtvg_1_1Vertex__coll__graph.md5 create mode 100644 docs/html/structtvg_1_1Vertex__coll__graph.png delete mode 100644 docs/html/thorvg__lottie_8h_source.html diff --git a/docs/Doxyfile b/docs/Doxyfile index e12a5ca5..1525fc93 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -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 diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 91f59e8e..10872846 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -111,7 +111,6 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();  CAnimationEnables manipulation of animatable images  CSaverA class for exporting a paint object into a specified file, from which to recover the paint data later  CAccessorThe Accessor is a utility class to debug the Scene structure by traversing the scene-tree - CLottieAnimationEnables control of advanced Lottie features diff --git a/docs/html/annotated_dup.js b/docs/html/annotated_dup.js index ce1e5f52..e85ecdcf 100644 --- a/docs/html/annotated_dup.js +++ b/docs/html/annotated_dup.js @@ -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" ] ] ] ]; \ No newline at end of file diff --git a/docs/html/classes.html b/docs/html/classes.html index 1df62ce3..0a0d162f 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
Initializer (tvg)
L
-
LinearGradient (tvg)
LottieAnimation (tvg)
+
LinearGradient (tvg)
M
Matrix (tvg)
diff --git a/docs/html/classtvg_1_1Accessor-members.html b/docs/html/classtvg_1_1Accessor-members.html index e61bfd03..5ec1ba6c 100644 --- a/docs/html/classtvg_1_1Accessor-members.html +++ b/docs/html/classtvg_1_1Accessor-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1Accessor.html b/docs/html/classtvg_1_1Accessor.html index 92a134ac..e2aecf76 100644 --- a/docs/html/classtvg_1_1Accessor.html +++ b/docs/html/classtvg_1_1Accessor.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1Animation-members.html b/docs/html/classtvg_1_1Animation-members.html index 39de3151..a3da931c 100644 --- a/docs/html/classtvg_1_1Animation-members.html +++ b/docs/html/classtvg_1_1Animation-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -95,6 +95,8 @@ $(document).ready(function(){initNavTree('classtvg_1_1Animation.html',''); initR frame(float no) noexceptAnimation gen() noexceptAnimationstatic picture() const noexceptAnimation + segment(float begin, float end) noexceptAnimation + segment(float *begin, float *end=nullptr) noexceptAnimation totalFrame() const noexceptAnimation diff --git a/docs/html/classtvg_1_1Animation.html b/docs/html/classtvg_1_1Animation.html index f33515d0..d228ff9c 100644 --- a/docs/html/classtvg_1_1Animation.html +++ b/docs/html/classtvg_1_1Animation.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -94,15 +94,6 @@ $(document).ready(function(){initNavTree('classtvg_1_1Animation.html',''); initR

The Animation class enables manipulation of animatable images. More...

-
-Inheritance diagram for Animation:
-
-
Inheritance graph
- - - - -
[legend]
@@ -121,6 +112,12 @@ Public Member Functions + + + + + +

Public Member Functions

float duration () const noexcept
 Retrieves the duration of the animation in seconds. More...
 
Result segment (float begin, float end) noexcept
 Specifies the playback segment of the animation. More...
 
Result segment (float *begin, float *end=nullptr) noexcept
 Gets the current segment. More...
 
@@ -130,7 +127,8 @@ Static Public Member Functions

Static Public Member Functions

Detailed Description

The Animation class enables manipulation of animatable images.

-

This class supports the display and control of animation frames.

+

This class supports the display and control of animation frames.

+
Since
0.13

Member Function Documentation

◆ curFrame()

@@ -226,12 +224,12 @@ Static Public Member Functions
Return values
- - +
Result::SuccessSuccessfully set the frame.
Result::InsufficientConditionif the given no is the same as the current frame value.
Result::NonSupportThe current Picture data does not support animations.
Result::NonSupportThe current Picture data does not support animations.
+
Note
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 Result::InsufficientCondition. Values less than 0.001 may be disregarded and may not be accurately retained by the Animation.
See also
totalFrame()
@@ -292,6 +290,117 @@ Static Public Member Functions
Returns
A picture instance that is tied to this animation.
Warning
The picture instance is owned by Animation. It should not be deleted manually.
+ + + +

◆ segment() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Result segment (float * begin,
float * end = nullptr 
)
+
+noexcept
+
+ +

Gets the current segment.

+
Parameters
+ + + +
[out]beginsegment start.
[out]endsegment end.
+
+
+
Return values
+ + + +
Result::InsufficientConditionIn case the animation is not loaded.
Result::NonSupportWhen it's not animatable.
+
+
+
Note
Experimental API
+ +
+
+ +

◆ segment() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Result segment (float begin,
float end 
)
+
+noexcept
+
+ +

Specifies the playback segment of the animation.

+

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.

+
Parameters
+ + + +
[in]beginsegment start.
[in]endsegment end.
+
+
+
Return values
+ + + +
Result::InsufficientConditionIn case the animation is not loaded.
Result::NonSupportWhen it's not animatable.
+
+
+
Note
Range from 0.0~1.0
+
+If a marker has been specified, its range will be disregarded.
+
See also
LottieAnimation::segment(const char* marker)
+
Note
Experimental API
+
diff --git a/docs/html/classtvg_1_1Animation.js b/docs/html/classtvg_1_1Animation.js index 33315d6e..28be329e 100644 --- a/docs/html/classtvg_1_1Animation.js +++ b/docs/html/classtvg_1_1Animation.js @@ -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 ] ]; \ No newline at end of file diff --git a/docs/html/classtvg_1_1Animation__inherit__graph.map b/docs/html/classtvg_1_1Animation__inherit__graph.map deleted file mode 100644 index d9d18071..00000000 --- a/docs/html/classtvg_1_1Animation__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/classtvg_1_1Animation__inherit__graph.md5 b/docs/html/classtvg_1_1Animation__inherit__graph.md5 deleted file mode 100644 index ef8fdbb3..00000000 --- a/docs/html/classtvg_1_1Animation__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -6202f42d11e34a9c4edb3fa295d1121e \ No newline at end of file diff --git a/docs/html/classtvg_1_1Animation__inherit__graph.png b/docs/html/classtvg_1_1Animation__inherit__graph.png deleted file mode 100644 index b85caa67c93ae60f795bfdb4e69d5e902234e7cb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2727 zcmcJR_g53!7RLuE3WBtVNC_;72qYraAfOQBQX>Womnyw;2@#bp2pAMmkg5=Rk0?kL zDUq%bA_R!EAg~Z65dvO%f8+b*-uDN*Gi&CoGc#+Sea_xzf4&JA3u6I32|fS-1WZi~ zt-wA3yz$45fX~v&?(1O3<7RGb2ps;t3fjuk0D#ZY)DVRY%~{F~K#Pt;9}c8XSQWYm z9p^@Am^=_~g2*jsikqaD8e*)lMZes*OfjgztyFPHil#Vsf>W&m*;sTbmiJg}vzUe% z3SW)2<>odB;~i0YB-YoMyX(5~`E@H+OmNBf^1#ud+uE!7)6C&4X8+&`R4S}pmbYt! zLq#-ps^EBVobs4Jvq~YBLZOgIq!_DDYC?%U)6QH;#O&;B7RygYMn-|&FF`P%F&O-% z5Gf=8$jIc&87H;B^de)etvx+F^c4x4$c2Bb6|m(M6-lpN^|vZ@b#mdVZnlVthy*Qv zZKI%b^7Cbcg*iOmB_t%AJb7~1GAvuAQ8E?Q*Vjida5XheNI4Y{tgl1Pg5AA)*HIa% zsd;y<_vzBo(&~?a@}0T4x#t(05B{F-8?AQM(b6g@DM8rPaskiM(;>pbsJ0I92ks*s zl{VG(4i33FIUCE<7t$!*ZZ&45d;$X3%+2M%h~QUdP$aCG(1WzJG>ihHHB22PWSk5Q z@b#s9{@pe!oqH8<DyT`Sr0Dn;NZZz@=w}jk%VvM`B6pCfo#ph z@OG~{4q#`(XTjGNAx5NvzLgQz)~v0qkvPV)zIkVIBnNrKBb%ChF~%D(to*$<@`%V1zQvJfouzv(&wh zaB`9|dh5jpu9=#ey0{cX38qojHa9PvKTl|aczgfo?(XjIM;BsVfT=Adh1NSMDe2(g zASou6nVzoUR|N+3wpLESWaC+Rd2MZNsBWl`TZ!UT{p}fHQPE#1zW|8?K+DfT9xg44h}D>UnBgILv^=K zG06M7hUJ`^61l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canvas-members.html @@ -27,7 +27,7 @@ Logo

ThorVG -  v0.13 +  v0.14
@@ -94,9 +94,9 @@ $(document).ready(function(){initNavTree('classtvg_1_1Canvas.html',''); initResi draw() noexceptCanvasvirtual paints() noexceptCanvas push(std::unique_ptr< Paint > paint) noexceptCanvasvirtual - reserve(uint32_t n) noexceptCanvas - sync() noexceptCanvasvirtual - update(Paint *paint=nullptr) noexceptCanvasvirtual + sync() noexceptCanvasvirtual + update(Paint *paint=nullptr) noexceptCanvasvirtual + viewport(int32_t x, int32_t y, int32_t w, int32_t h) noexceptCanvasvirtual diff --git a/docs/html/classtvg_1_1Canvas.html b/docs/html/classtvg_1_1Canvas.html index 19a114a1..dc63ed4f 100644 --- a/docs/html/classtvg_1_1Canvas.html +++ b/docs/html/classtvg_1_1Canvas.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -107,9 +107,6 @@ Inheritance diagram for Canvas: - - - @@ -125,6 +122,9 @@ Public Member Functions + + + @@ -167,12 +167,6 @@ Public Member Functions

Public Member Functions

TVG_DEPRECATED Result reserve (uint32_t n) noexcept
 Sets the size of the container, where all the paints pushed into the Canvas are stored. More...
 
std::list< Paint * > & paints () noexcept
 Returns the list of the paints that currently held by the Canvas. More...
 
virtual Result draw () noexcept
 Requests the canvas to draw the Paint objects. More...
 
virtual Result viewport (int32_t x, int32_t y, int32_t w, int32_t h) noexcept
 Sets the drawing region in the canvas. More...
 
virtual Result sync () noexcept
 Guarantees that drawing task is finished. More...
 
-
Return values
- - -
Result::Successwhen succeed, Result::InsufficientCondition otherwise.
-
-
See also
Canvas::push()
Canvas::paints()
@@ -203,12 +197,6 @@ Public Member Functions

Requests the canvas to draw the Paint objects.

-
Return values
- - -
Result::Successwhen succeed, Result::InsufficientCondition otherwise.
-
-
Note
Drawing can be asynchronous if the assigned thread number is greater than zero. To guarantee the drawing is done, call sync() afterwards.
See also
Canvas::sync()
@@ -279,9 +267,7 @@ Public Member Functions
Return values
- - - +
Result::SuccessWhen succeed.
Result::MemoryCorruptionIn case a nullptr is passed as the argument.
Result::InsufficientConditionAn internal error.
Result::MemoryCorruptionIn case a nullptr is passed as the argument.
@@ -290,42 +276,6 @@ Public Member Functions
Canvas::clear()
-
- - -

◆ reserve()

- -
-
- - - - - -
- - - - - - - - -
TVG_DEPRECATED Result reserve (uint32_t n)
-
-noexcept
-
- -

Sets the size of the container, where all the paints pushed into the Canvas are stored.

-

If the number of objects pushed into the Canvas is known in advance, calling the function prevents multiple memory reallocation, thus improving the performance.

-
Parameters
- - -
[in]nThe number of objects for which the memory is to be reserved.
-
-
-
Returns
Result::Success when succeed.
-
@@ -353,12 +303,6 @@ Public Member Functions

Guarantees that drawing task is finished.

The Canvas rendering can be performed asynchronously. To make sure that rendering is finished, the sync() must be called after the draw() regardless of threading.

-
Return values
- - -
Result::Successwhen succeed, Result::InsufficientCondition otherwise.
-
-
See also
Canvas::draw()
@@ -395,13 +339,76 @@ Public Member Functions -
Return values
- - +
Note
The Update behavior can be asynchronous if the assigned thread number is greater than zero.
+ + + + +

◆ viewport()

+ +
+
+
Result::Successwhen succeed, Result::InsufficientCondition otherwise.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual Result viewport (int32_t x,
int32_t y,
int32_t w,
int32_t h 
)
+
+virtualnoexcept
+
+ +

Sets the drawing region in the canvas.

+

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.

+
Parameters
+ + + + +
[in]xThe x-coordinate of the upper-left corner of the rectangle.
[in]yThe y-coordinate of the upper-left corner of the rectangle.
[in]wThe width of the rectangle.
[in]hThe height of the rectangle.
-
Note
The Update behavior can be asynchronous if the assigned thread number is greater than zero.
+
See also
SwCanvas::target()
+
+GlCanvas::target()
+
+WgCanvas::target()
+
Warning
It's not allowed to change the viewport during Canvas::push() - Canvas::sync() or Canvas::update() - Canvas::sync().
+
Note
When resetting the target, the viewport will also be reset to the target size.
+
+Experimental API
diff --git a/docs/html/classtvg_1_1Canvas.js b/docs/html/classtvg_1_1Canvas.js index 7f7fdc3d..70ee8dd4 100644 --- a/docs/html/classtvg_1_1Canvas.js +++ b/docs/html/classtvg_1_1Canvas.js @@ -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 ] ]; \ No newline at end of file diff --git a/docs/html/classtvg_1_1Fill-members.html b/docs/html/classtvg_1_1Fill-members.html index e8b19295..fdf2a149 100644 --- a/docs/html/classtvg_1_1Fill-members.html +++ b/docs/html/classtvg_1_1Fill-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1Fill.html b/docs/html/classtvg_1_1Fill.html index df7d25bc..e6cd7d2a 100644 --- a/docs/html/classtvg_1_1Fill.html +++ b/docs/html/classtvg_1_1Fill.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -215,13 +215,7 @@ Public Member Functions
Parameters
- -
[in]colorStopsAn array of ColorStop data structure.
[in]cntThe count of the colorStops array equal to the colors number used in the gradient.
-
-
-
Return values
- - +
Result::Successwhen succeed.
[in]cntThe count of the colorStops array equal to the colors number used in the gradient.
@@ -341,13 +335,7 @@ Public Member Functions

Sets the FillSpread value, which specifies how to fill the area outside the gradient bounds.

Parameters
- -
[in]sThe FillSpread value.
-
-
-
Return values
- - +
Result::Successwhen succeed.
[in]sThe FillSpread value.
@@ -411,13 +399,7 @@ Public Member Functions

The augmented matrix of the transformation is expected to be given.

Parameters
- -
[in]mThe 3x3 augmented matrix.
-
-
-
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]mThe 3x3 augmented matrix.
diff --git a/docs/html/classtvg_1_1GlCanvas-members.html b/docs/html/classtvg_1_1GlCanvas-members.html index e2219892..fef1a7f5 100644 --- a/docs/html/classtvg_1_1GlCanvas-members.html +++ b/docs/html/classtvg_1_1GlCanvas-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -95,10 +95,10 @@ $(document).ready(function(){initNavTree('classtvg_1_1GlCanvas.html',''); initRe gen() noexceptGlCanvasstatic paints() noexceptCanvas push(std::unique_ptr< Paint > paint) noexceptCanvasvirtual - reserve(uint32_t n) noexceptCanvas - sync() noexceptCanvasvirtual - target(int32_t id, uint32_t w, uint32_t h) noexceptGlCanvas - update(Paint *paint=nullptr) noexceptCanvasvirtual + sync() noexceptCanvasvirtual + target(int32_t id, uint32_t w, uint32_t h) noexceptGlCanvas + update(Paint *paint=nullptr) noexceptCanvasvirtual + viewport(int32_t x, int32_t y, int32_t w, int32_t h) noexceptCanvasvirtual diff --git a/docs/html/classtvg_1_1GlCanvas.html b/docs/html/classtvg_1_1GlCanvas.html index d227704e..51498412 100644 --- a/docs/html/classtvg_1_1GlCanvas.html +++ b/docs/html/classtvg_1_1GlCanvas.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,6 +103,15 @@ Inheritance diagram for GlCanvas:
[legend]
+
+Collaboration diagram for GlCanvas:
+
+
Collaboration graph
+ + + + +
[legend]
@@ -110,9 +119,6 @@ Public Member Functions - - - @@ -128,6 +134,9 @@ Public Member Functions + + + @@ -141,7 +150,7 @@ Static Public Member Functions

Detailed Description

A class for the rendering graphic elements with a GL raster engine.

Warning
Please do not use it. This class is not fully supported yet.
-
Note
Experimental API
+
Since
0.14

Member Function Documentation

◆ gen()

@@ -168,7 +177,7 @@ Static Public Member Functions

Creates a new GlCanvas object.

Returns
A new GlCanvas object.
-
Note
Experimental API
+
Since
0.14
@@ -222,9 +231,16 @@ Static Public Member Functions

Public Member Functions

 Sets the drawing target for rasterization. More...
 
- Public Member Functions inherited from Canvas
TVG_DEPRECATED Result reserve (uint32_t n) noexcept
 Sets the size of the container, where all the paints pushed into the Canvas are stored. More...
 
std::list< Paint * > & paints () noexcept
 Returns the list of the paints that currently held by the Canvas. More...
 
virtual Result draw () noexcept
 Requests the canvas to draw the Paint objects. More...
 
virtual Result viewport (int32_t x, int32_t y, int32_t w, int32_t h) noexcept
 Sets the drawing region in the canvas. More...
 
virtual Result sync () noexcept
 Guarantees that drawing task is finished. More...
 
-
Warning
This API is experimental and not officially supported. It may be modified or removed in future versions.
+
Return values
+ + + +
Result::InsufficientConditionif the canvas is performing rendering. Please ensure the canvas is synced.
Result::NonSupportIn case the gl engine is not supported.
+
+
+
See also
Canvas::viewport()
-Drawing on the main surface is currently not permitted. If the identifier (id) is set to 0, the operation will be aborted.
+Canvas::sync()
Note
Currently, this only allows the GL_RGBA8 color space format.
Experimental API
diff --git a/docs/html/classtvg_1_1GlCanvas__coll__graph.map b/docs/html/classtvg_1_1GlCanvas__coll__graph.map new file mode 100644 index 00000000..4f1669d9 --- /dev/null +++ b/docs/html/classtvg_1_1GlCanvas__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1GlCanvas__coll__graph.md5 b/docs/html/classtvg_1_1GlCanvas__coll__graph.md5 new file mode 100644 index 00000000..ad316f90 --- /dev/null +++ b/docs/html/classtvg_1_1GlCanvas__coll__graph.md5 @@ -0,0 +1 @@ +0c8d5ae7fe91720ae0ceeec156eb3f5f \ No newline at end of file diff --git a/docs/html/classtvg_1_1GlCanvas__coll__graph.png b/docs/html/classtvg_1_1GlCanvas__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..459670b782dad8c5604217ff90ccd14c1b131b9c GIT binary patch literal 2763 zcmbuBc|4SB8^=cn4HHAiHg+c&S(3758OjtnC5@%B(~y%04aO+TV8qZ+oKg%mhHOnV zWsNkHeTXavGlnwR#vXB=bIyCt=Y9WvKhNiWuFrGdf86(TUBBP=x>L?M*op|t34=f& zk<&;UM<99t;|5p|cw=gw9{_@&x1FsGX!p-2zn($@frM|Lwy|=;JetdkwwL&<$Y{J! zsty*|2NkUN*1+Cszqh_Zip{A^fcsau14g>66p zb>MW2=$9}Pv#6D}5))K476cX*#iL5AYlbzTj1bhI*A|wbw<+nx(`=r)kkC#+Re~AHs@K)kDU;guyqfvHeWva0?Ch+s`fi>&#+jL!Q8O@*Y-nhphjN5xx!i(YbWeYO z0+aH~Nc3uqythDaZ?C$EiCb9Y>1luRAh#VaB5xDSwir?!FR#s$)^!JgB!v@;c@7Q^IYuF>pPswMU!XWt zU%H=@lboNg+~%wQj=^AWF3(_iQ$m6watUp1NZ5%eNsuM@?Gl?IE-$YIZ=lhR7CCAP zio(Fo&d&UM_p)c6#Ljp5r@k-e)z{bafrv^L^DiEuN?VIglP0F81=HCXIXU3?w>{+@ z87kHZyIboEP*5{pbSps$X=i6`X9pn=2t7kX$;HKo&M(Dav5Q*^jXv!6X*p(*`rbZ1 zA)?K-t1ViNoQ5ArNac`Vb(%t6TWgceC=>J~f5F94}m0 z>NFg0>g*I5k6Blc6c(5tZ-l0uiobmu#4jLlXC@MZ!C1nx$uD0@0$a7lZNT7jeLiqT1sG+LU?9fHPe%o=;X*cCD=y4pyOueUa2)1< zL!kuJ@2wGiUe&lQ&OEu8rT;=9>E7=5@S_C6jtK4b4`=Ltp^V(fG)Gho`yB7)&ESZQ zv65EAIY-BMyr5d*^B_jS6gN!j%j{m|*RNki>Ez~$~Sx8J;Z@80p(d`HK%N|!gd`*<;BjhO}a55-$Us|D1@ ztk1MTbWjlf^1Mn1%>|QV@89Oz7vZM`S6m5=s9{&$I`&K6cllD30)wOxI7}TP`20Sw z?d16n)BaPVzlr(Zu=~Fk3^sQi#+Xc|&~OxVmPsO!Ohdv~pFU0+q89EfoBlZaX>D%A zG^Ry{MJ*|bbD(fab#-;mcgf-#bFaoT zNThh}OEpbs1Ka_hvRkzr2}EV^xOuS?9AFq^SxQ&{u&}DCs!16IRa)Rk6_b|M=vZG` zdix<;D{=6lVeqMd08OLxmYxD@V6`&nv%c35H(SeDRb8DwJ3G6WN_{)=Ha-&|V>?Mh z&D2yrGBVN#yHP1tQC==Oj@!~UkQ12--Lz$2_4BhT9UvDJ@ZoSc7n;8aHYTRFRKyb6 z7Q3;i^4L6v@cQP=@YCPt$7=aNX5DNcBF~&@UYu-M8gTXy@)H&o&dAE*S5i_!SG#>1 zu7S`l^Da7`L zwd<6ssA}vuU6!B3?c=W555ZI^k zE2(vLW-v317{I}@vNALp{U!9aZ92R1`k2WShcgMNL{Da)Uamc6ae^-$W*o<2dFR+4 z6hr8FHi3Yq%La&!f@ZuAflYTlOzP;c-(DT`n2Ru0N{yWxJ_a)mUER@9VP>})?3dHS@Ko0}Y}!d;}W7aSZMj9qG#Ho7rkNm&JWpKshvbnjU zwzl@ULy}-9l<_ivIl*GZEi~>bwzs!qmZwFwx3|UQuF3hZT44?mO)IqG)U)ecyu7-~Q#+lm*t1Xca2|wFkJJf=-`wuqj7)#{B^;P)ryA literal 0 HcmV?d00001 diff --git a/docs/html/classtvg_1_1Initializer-members.html b/docs/html/classtvg_1_1Initializer-members.html index 42fd71c1..b8718670 100644 --- a/docs/html/classtvg_1_1Initializer-members.html +++ b/docs/html/classtvg_1_1Initializer-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1Initializer.html b/docs/html/classtvg_1_1Initializer.html index 1f21a761..038fdb27 100644 --- a/docs/html/classtvg_1_1Initializer.html +++ b/docs/html/classtvg_1_1Initializer.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -151,11 +151,7 @@ Static Public Member Functions
Return values
- - - - - +
Result::SuccessWhen succeed.
Result::FailedAllocationAn internal error possibly with memory allocation.
Result::InvalidArgumentsIf unknown engine type chosen.
Result::NonSupportIn case the engine type is not supported on the system.
Result::UnknownOthers.
Result::NonSupportIn case the engine type is not supported on the system.
@@ -197,11 +193,8 @@ Static Public Member Functions
Return values
- - - - +
Result::SuccessWhen succeed.
Result::InsufficientConditionIn case there is nothing to be terminated.
Result::InvalidArgumentsIf unknown engine type chosen.
Result::NonSupportIn case the engine type is not supported on the system.
Result::UnknownOthers.
Result::NonSupportIn case the engine type is not supported on the system.
diff --git a/docs/html/classtvg_1_1LinearGradient-members.html b/docs/html/classtvg_1_1LinearGradient-members.html index 3660d8d6..df4e2970 100644 --- a/docs/html/classtvg_1_1LinearGradient-members.html +++ b/docs/html/classtvg_1_1LinearGradient-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1LinearGradient.html b/docs/html/classtvg_1_1LinearGradient.html index b61a17dc..3b8af9e1 100644 --- a/docs/html/classtvg_1_1LinearGradient.html +++ b/docs/html/classtvg_1_1LinearGradient.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,6 +103,15 @@ Inheritance diagram for LinearGradient:
[legend]
+
+Collaboration diagram for LinearGradient:
+
+
Collaboration graph
+ + + + +
[legend]
@@ -261,13 +270,7 @@ Static Public Member Functions - -

Public Member Functions

[out]x1The horizontal coordinate of the first point used to determine the gradient bounds.
[out]y1The vertical coordinate of the first point used to determine the gradient bounds.
[out]x2The horizontal coordinate of the second point used to determine the gradient bounds.
[out]y2The vertical coordinate of the second point used to determine the gradient bounds.
- - -
Return values
- - +
Result::Successwhen succeed.
[out]y2The vertical coordinate of the second point used to determine the gradient bounds.
@@ -331,12 +334,6 @@ Static Public Member Functions -
Return values
- - -
Result::Successwhen succeed.
-
-
Note
In case the first and the second points are equal, an object filled with such a gradient fill is not rendered.
diff --git a/docs/html/classtvg_1_1LinearGradient__coll__graph.map b/docs/html/classtvg_1_1LinearGradient__coll__graph.map new file mode 100644 index 00000000..6fd3e951 --- /dev/null +++ b/docs/html/classtvg_1_1LinearGradient__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1LinearGradient__coll__graph.md5 b/docs/html/classtvg_1_1LinearGradient__coll__graph.md5 new file mode 100644 index 00000000..98e77692 --- /dev/null +++ b/docs/html/classtvg_1_1LinearGradient__coll__graph.md5 @@ -0,0 +1 @@ +c3db0510d28e17e6d0f350e1e207e474 \ No newline at end of file diff --git a/docs/html/classtvg_1_1LinearGradient__coll__graph.png b/docs/html/classtvg_1_1LinearGradient__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..e54ec1473f23459fc7f966a9e4a219169ba6a5c8 GIT binary patch literal 1985 zcmbtVdpHw%A7AvgE;jNMijhkaBDGxCWL6@iS~yrzGHkibT*h2So-9c-Su?k8M_Y7T z3=JitMl&a*%noAIX6z&?dDl7TeV_Mv|2?1Y^ZS0E=ljp^d-*({??pdf577Fp>j3}& z$n!ArxGH9=UffzWm4Bj<+pG#}&K&VT0#<%n)zdpv005ZeiF8Ayl*^d0hfiP)_?3J2 z-IL!l?&&F9O}6eiU=q1GQs=@>RA<{W39tB)acyLdt+&I)60>2(eLc5g1f#$4>K4{x z*Rin~+3koE_th|#5sUzPX0MFr$SJKLCI)|#NoSRaULtJDX;evCD9`Mj@&o6Sw^hYe zsc(~R0~`PW-rb{@fNE{(g|^4^^dVV{bp>Pq!GyEk7qWPqzWTt%6Abh6I47a~2TNMg~j5 zo{~>0m>;qlU3cqgSkhiTO00A>^7OuR)8gnr-g3-aO#|U!Gi}?k6B{?a{W!4hmk~7u z--Ht+i~qW?kX=~9UaYqCrHb!1iQIY36VT?;W{Xh`S znZ-RJrVd1N_7g=w{qD0vGgY^4VUh+W%WqkD-I!i27zg1JtNI9dN7op^Z>aNtfJGva`sQx^!0D>mX`@a&=Q=Il)Zh8n`q{_tbj72?vLt3q z91f>#cGcnj>-M3caLm+>PK<_|8|p-V@QTO0_JUI+jx;XcQq&U>z*?D)H89fBdR-TQ z3>duA)#cOs3+0?W6zXUpeU~4F$EV^xg~Btb437FnOD#i#RI*>7-w7puZhW244VItI zuXzLf&*=Z!knsOE@(R?18^ z=lPg}$sR{Xg7k{(L-xtx;bEN;$b%&l(bJV&~qL86U5O?*9p< z)>S4mUDB2<7K?xU_@PiJT3TA3rhU;y+`e;%=JkOUP%ns3%14@&O63v>ZhZ6RP2`>a zW1C(~Df>mD-irN4j%`901zO8xGKij@g|#)xk`@&eb-cDjT%#iMMI`?+eL)_|^&hQd`@BlYat-V*{6`0}9{GFV3B%d+R_T z_xxG5p}hA(;elhn(X0X@Fqrz#Rvu9~>5?ojDJ>PZ5UDmha))FK?d@)KZ}Uy-iwv9) zgGy<4pBjO3}E#exMGdwYCeQF5JtaQzk%jGr} z77{!cQLT8-O`uS1nF(_l#8Lm&yGC)`kW>>Wv_$I+Cuq8H!y%#(1TymEe6R{=^oUR> z6bLko&ERk`_W%-^i_KG2RDI<5pJ-}oDkvz>vGraX#!euSVAj?Gx{pP;-tLU>@Q$C& z1%*A|Eors8xms=2a$TPfBV((iI}+-TLUn~d+@H3<4sAVkqYsw0AXo~X`Nja%)YPch zFL?GZ{HenSWHZBB$Su_3YN-j zcFseDkw`6w>fLm2Q&ZE1n3152-t9@dV6gAc^EFlMv%+1CO&QXJZY?}?BfeM6OHXsc z(n?C+KTT_BY#fS&9`f+OoI977o4a;(PI-B`Y8JJ%wPj^x9UUFXvtqkCUhF754{ky}N{tX)m#;*VX literal 0 HcmV?d00001 diff --git a/docs/html/classtvg_1_1LottieAnimation-members.html b/docs/html/classtvg_1_1LottieAnimation-members.html deleted file mode 100644 index 9f5bb5ad..00000000 --- a/docs/html/classtvg_1_1LottieAnimation-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -ThorVG: Member List - - - - - - - - - - - - - -
-
- - - - - - - -
-
ThorVG -  v0.13 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
LottieAnimation Member List
-
-
- -

This is the complete list of members for LottieAnimation, including all inherited members.

- - - - - - - - -
curFrame() const noexceptAnimation
duration() const noexceptAnimation
frame(float no) noexceptAnimation
gen() noexceptLottieAnimationstatic
override(const char *slot) noexceptLottieAnimation
picture() const noexceptAnimation
totalFrame() const noexceptAnimation
-
- - - - diff --git a/docs/html/classtvg_1_1LottieAnimation.html b/docs/html/classtvg_1_1LottieAnimation.html deleted file mode 100644 index 6d6d5225..00000000 --- a/docs/html/classtvg_1_1LottieAnimation.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - -ThorVG: LottieAnimation - - - - - - - - - - - - - -
-
- - - - - - - -
-
ThorVG -  v0.13 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- - -
- -

The LottieAnimation class enables control of advanced Lottie features. - More...

-
-Inheritance diagram for LottieAnimation:
-
-
Inheritance graph
- - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

Result override (const char *slot) noexcept
 Override Lottie properties using slot data. More...
 
- Public Member Functions inherited from Animation
Result frame (float no) noexcept
 Specifies the current frame in the animation. More...
 
Picturepicture () const noexcept
 Retrieves a picture instance associated with this animation instance. More...
 
float curFrame () const noexcept
 Retrieves the current frame number of the animation. More...
 
float totalFrame () const noexcept
 Retrieves the total number of frames in the animation. More...
 
float duration () const noexcept
 Retrieves the duration of the animation in seconds. More...
 
- - - - - - - - -

-Static Public Member Functions

static std::unique_ptr< LottieAnimationgen () noexcept
 Creates a new LottieAnimation object. More...
 
- Static Public Member Functions inherited from Animation
static std::unique_ptr< Animationgen () noexcept
 Creates a new Animation object. More...
 
-

Detailed Description

-

The LottieAnimation class enables control of advanced Lottie features.

-

This class extends the Animation and has additional interfaces.

-
See also
Animation
-
Note
Experimental API
-

Member Function Documentation

- -

◆ gen()

- -
-
- - - - - -
- - - - - - - -
static std::unique_ptr<LottieAnimation> gen ()
-
-staticnoexcept
-
- -

Creates a new LottieAnimation object.

-
Returns
A new LottieAnimation object.
-
Note
Experimental API
- -
-
- -

◆ override()

- -
-
- - - - - -
- - - - - - - - -
Result override (const char * slot)
-
-noexcept
-
- -

Override Lottie properties using slot data.

-
Parameters
- - -
[in]slotThe Lottie slot data in JSON format to override, or nullptr to reset.
-
-
-
Return values
- - - - -
Result::SuccessWhen succeed.
Result::InsufficientConditionIn case the animation is not loaded.
Result::InvalidArgumentsWhen the given parameter is invalid.
-
-
-
Note
Experimental API
- -
-
-
-
- - - - diff --git a/docs/html/classtvg_1_1LottieAnimation.js b/docs/html/classtvg_1_1LottieAnimation.js deleted file mode 100644 index cfb6fa07..00000000 --- a/docs/html/classtvg_1_1LottieAnimation.js +++ /dev/null @@ -1,4 +0,0 @@ -var classtvg_1_1LottieAnimation = -[ - [ "override", "classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e", null ] -]; \ No newline at end of file diff --git a/docs/html/classtvg_1_1LottieAnimation__inherit__graph.map b/docs/html/classtvg_1_1LottieAnimation__inherit__graph.map deleted file mode 100644 index 860e8819..00000000 --- a/docs/html/classtvg_1_1LottieAnimation__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/classtvg_1_1LottieAnimation__inherit__graph.md5 b/docs/html/classtvg_1_1LottieAnimation__inherit__graph.md5 deleted file mode 100644 index df5df5d9..00000000 --- a/docs/html/classtvg_1_1LottieAnimation__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e17331adf650c891625e9b2daf5471e8 \ No newline at end of file diff --git a/docs/html/classtvg_1_1LottieAnimation__inherit__graph.png b/docs/html/classtvg_1_1LottieAnimation__inherit__graph.png deleted file mode 100644 index ee65b79972d0e2b0881a9ef35883c06ef56e82bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2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as#jY;9-7G0l z+;m4OsLnEKra$tXjiDbEZmhm?Eys9xc*L6*5i^twMS-QQHIU%J!n&|*N5HaZ)ABOo zx)F8fM{Vt?Y{&YmgId0cfq|t&d$qG9D8r9HH~GZ$k?frRlbS}Sn8Pv+x zU<@Ew!AwB_RvBvV&*f%7*$Aok%67EvfBhT{Yu)2ed4}#wem{w=ZpJ5Ryzpt7{<1WN z8g!Mr;Ng)|RJ7MFV=-XnR(|^A$*|Vs_tkM5JT`a?EEWsQ${0Sz)pfASyCFr|wBu;I zP@jRbhAf#(K75w+gu(DFbyKyVPK=B^m`pAxD9ESN>&Kai{8uPdz!xreY~qhcO8cxc3MFIf3SRvqcInS5D_IuWrk-Ck zjg{ovquenVxo5YKN1dFV1M9}XRwXkvRmms>k(7TMy}&FU zyx{3-!ou_O^Fl&Ge2RJG%=~;>*FyW$5eNhl$$3AxSo5q&OHXR&`oFa3&xwf;x-A^d TrIPKy1{H9yb+LJ2?U(dVDo0}E diff --git a/docs/html/classtvg_1_1Paint-members.html b/docs/html/classtvg_1_1Paint-members.html index 37b3d425..130ac3ea 100644 --- a/docs/html/classtvg_1_1Paint-members.html +++ b/docs/html/classtvg_1_1Paint-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1Paint.html b/docs/html/classtvg_1_1Paint.html index 5bc35ba7..abdd97d5 100644 --- a/docs/html/classtvg_1_1Paint.html +++ b/docs/html/classtvg_1_1Paint.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -133,7 +133,6 @@ Public Member Functions  Sets the blending method for the paint object. More...
  TVG_DEPRECATED Result bounds (float *x, float *y, float *w, float *h) const noexcept - Gets the bounding box of the paint object before any transformation. More...
  Result bounds (float *x, float *y, float *w, float *h, bool transformed) const noexcept  Gets the axis-aligned bounding box of the paint object. More...
@@ -219,12 +218,6 @@ Public Member Functions -
Return values
- - -
Result::Successwhen the blending method is successfully set.
-
-
Note
Experimental API
@@ -275,20 +268,6 @@ Public Member Functions
-

Gets the bounding box of the paint object before any transformation.

-
Parameters
- - - - - -
[out]xThe x coordinate of the upper left corner of the object.
[out]yThe y coordinate of the upper left corner of the object.
[out]wThe width of the object.
[out]hThe height of the object.
-
-
-
Returns
Result::Success when succeed, Result::InsufficientCondition otherwise.
-
Note
The bounding box doesn't indicate the final rendered region. It's the smallest rectangle that encloses the object.
-
See also
Paint::bounds(float* x, float* y, float* w, float* h, bool transformed);
-
@@ -355,12 +334,6 @@ Public Member Functions -
Return values
- - -
Result::Successwhen succeed, Result::InsufficientCondition otherwise.
-
-
Note
The bounding box doesn't indicate the actual drawing region. It's the smallest rectangle that encloses the object.
@@ -439,13 +412,7 @@ Public Member Functions
Parameters
- -
[in]targetThe paint of the target object.
[in]methodThe method used to composite the source object with the target.
-
-
-
Return values
- - +
Result::Successwhen succeed, Result::InvalidArguments otherwise.
[in]methodThe method used to composite the source object with the target.
@@ -569,12 +536,6 @@ Public Member Functions -
Return values
- - -
Result::Successwhen succeed.
-
-
Note
Setting the opacity with this API may require multiple render pass for composition. It is recommended to avoid changing the opacity if possible.
ClipPath won't use the opacity value. (see: enum class CompositeMethod::ClipPath)
@@ -609,13 +570,7 @@ ClipPath won't use the opacity value. (see: enum class
Parameters
- -
[in]degreeThe value of the angle in degrees.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]degreeThe value of the angle in degrees.
@@ -649,13 +604,7 @@ ClipPath won't use the opacity value. (see: enum class
Parameters
- -
[in]factorThe value of the scaling factor. The default value is 1.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]factorThe value of the scaling factor. The default value is 1.
@@ -720,13 +669,7 @@ ClipPath won't use the opacity value. (see: enum class
Parameters
- -
[in]mThe 3x3 augmented matrix.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]mThe 3x3 augmented matrix.
@@ -772,13 +715,7 @@ ClipPath won't use the opacity value. (see: enum class
Parameters
- -
[in]xThe value of the horizontal shift.
[in]yThe value of the vertical shift.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]yThe value of the vertical shift.
diff --git a/docs/html/classtvg_1_1Picture-members.html b/docs/html/classtvg_1_1Picture-members.html index d32d101c..c7ea543f 100644 --- a/docs/html/classtvg_1_1Picture-members.html +++ b/docs/html/classtvg_1_1Picture-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1Picture.html b/docs/html/classtvg_1_1Picture.html index ca4df0e6..ae2d8275 100644 --- a/docs/html/classtvg_1_1Picture.html +++ b/docs/html/classtvg_1_1Picture.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,6 +103,15 @@ Inheritance diagram for Picture:
[legend]
+
+Collaboration diagram for Picture:
+
+
Collaboration graph
+ + + + +
[legend]
@@ -110,7 +119,6 @@ Public Member Functions - @@ -156,7 +164,6 @@ Public Member Functions - @@ -289,28 +296,6 @@ See -

Loads a picture data from a memory block of a given size.

-

ThorVG efficiently caches the loaded data using the specified data address as a key when the copy has false. This means that loading the same data again will not result in duplicate operations for the sharable data. Instead, ThorVG will reuse the previously loaded picture data.

-
Parameters
-

Public Member Functions

 Loads a picture data directly from a file. More...
 
TVG_DEPRECATED Result load (const char *data, uint32_t size, bool copy=false) noexcept
 Loads a picture data from a memory block of a given size. More...
 
Result load (const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept
 Loads a picture data from a memory block of a given size. More...
 Sets the blending method for the paint object. More...
 
TVG_DEPRECATED Result bounds (float *x, float *y, float *w, float *h) const noexcept
 Gets the bounding box of the paint object before any transformation. More...
 
Result bounds (float *x, float *y, float *w, float *h, bool transformed) const noexcept
 Gets the axis-aligned bounding box of the paint object. More...
- - - -
[in]dataA pointer to a memory location where the content of the picture file is stored.
[in]sizeThe size in bytes of the memory occupied by the data.
[in]copyDecides whether the data should be copied into the engine local buffer.
- - -
Return values
- - - - - -
Result::SuccessWhen succeed.
Result::InvalidArgumentsIn case no data are provided or the size is zero or less.
Result::NonSupportWhen trying to load a file with an unknown extension.
Result::UnknownIf an error occurs at a later stage.
-
-
-
Warning
: you have responsibility to release the data memory if the copy is true
-
See also
Result load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false) noexcept
- @@ -360,6 +345,7 @@ See

Loads a picture data from a memory block of a given size.

+

ThorVG efficiently caches the loaded data using the specified data address as a key when the copy has false. This means that loading the same data again will not result in duplicate operations for the sharable data. Instead, ThorVG will reuse the previously loaded picture data.

Parameters
@@ -371,14 +357,12 @@ See
Return values
[in]dataA pointer to a memory location where the content of the picture file is stored.
- - - +
Result::SuccessWhen succeed.
Result::InvalidArgumentsIn case no data are provided or the size is zero or less.
Result::NonSupportWhen trying to load a file with an unknown extension.
Result::UnknownIf an error occurs at a later stage.
Result::NonSupportWhen trying to load a file with an unknown extension.
-
Warning
: It's the user responsibility to release the data memory if the copy is true.
+
Warning
: It's the user responsibility to release the data memory.
Note
If you are unsure about the MIME type, you can provide an empty value like "", and thorvg will attempt to figure it out.
Since
0.5
@@ -418,10 +402,8 @@ See
Return values
- - - +
Result::SuccessWhen succeed.
Result::InvalidArgumentsIn case the path is invalid.
Result::NonSupportWhen trying to load a file with an unknown extension.
Result::UnknownIf an error occurs at a later stage.
Result::NonSupportWhen trying to load a file with an unknown extension.
@@ -480,7 +462,6 @@ See
Parameters
- @@ -489,13 +470,6 @@ See
Return values
-
[in]paintA Tvg_Paint pointer to the picture object.
[in]dataA pointer to a memory location where the content of the picture raw data is stored.
[in]wThe width of the image data in pixels.
[in]hThe height of the image data in pixels.
- - -
Result::SuccessWhen succeed, Result::InsufficientCondition otherwise.
Result::FailedAllocationAn internal error possibly with memory allocation.
-
-
Since
0.9
@@ -583,13 +557,6 @@ See
Return values
- - - -
Result::SuccessWhen succeed.
Result::UnknownIf fails
-
-
Note
The Polygons are copied internally, so modifying them after calling Mesh::mesh has no affect.
Warning
Please do not use it, this API is not official one. It could be modified in the next version.
Note
Experimental API
@@ -634,13 +601,7 @@ See
Parameters
- -
[out]wThe width of the image in pixels.
[out]hThe height of the image in pixels.
-
- -
Return values
- - +
Result::Successwhen succeed.
[out]hThe height of the image in pixels.
@@ -686,13 +647,7 @@ See
Parameters
- -
[in]wA new width of the image in pixels.
[in]hA new height of the image in pixels.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::InsufficientCondition otherwise.
[in]hA new height of the image in pixels.
diff --git a/docs/html/classtvg_1_1Picture__coll__graph.map b/docs/html/classtvg_1_1Picture__coll__graph.map new file mode 100644 index 00000000..29b29f4f --- /dev/null +++ b/docs/html/classtvg_1_1Picture__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1Picture__coll__graph.md5 b/docs/html/classtvg_1_1Picture__coll__graph.md5 new file mode 100644 index 00000000..a4416930 --- /dev/null +++ b/docs/html/classtvg_1_1Picture__coll__graph.md5 @@ -0,0 +1 @@ +000954cb73ed26fd2a3f6cc39d922ef1 \ No newline at end of file diff --git a/docs/html/classtvg_1_1Picture__coll__graph.png b/docs/html/classtvg_1_1Picture__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..10c424c0ae11a073b8d4bd56741ebb285c6f1f4b GIT binary patch literal 1814 zcmV+x2kH2UP)IlY?GWg)ive9W>m`;;%L}Eor59%Q zp$1F06bsYC?sUF~rky!+{{QQoGd(jsGmxSv5CdS#od6rN>hw5gozpm>`IgsB{-EK4*#bPmp5W}#ntgK6yF3p|* z2DaNBJ9em4s=~rT9*?(q^X6yIo&f-kA3ts~nNFQL1tHAK%cCW+DE7~`wl<2Qyk764 zM~@mC8}Hx0AF|lpyLUAj&G`8E$&)8foH#*I)Pn~Pa&vQU-@Z*z6hRQQBtx_3)YOzx zsZ35zp4|@|4ksrk=iIq-t*xygH<8QbyLazSN=lN+WLB$nbaa&7l>E@LfR@co6T$2u3ex| z_@7t*IDu9mpI;Uqp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g_1_1RadialGradient-members.html b/docs/html/classtvg_1_1RadialGradient-members.html index 2d2f9449..1a21b9eb 100644 --- a/docs/html/classtvg_1_1RadialGradient-members.html +++ b/docs/html/classtvg_1_1RadialGradient-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1RadialGradient.html b/docs/html/classtvg_1_1RadialGradient.html index 8c4ad15b..1194158a 100644 --- a/docs/html/classtvg_1_1RadialGradient.html +++ b/docs/html/classtvg_1_1RadialGradient.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,6 +103,15 @@ Inheritance diagram for RadialGradient:
[legend]
+
+Collaboration diagram for RadialGradient:
+
+
Collaboration graph
+ + + + +
[legend]
@@ -253,13 +262,7 @@ Static Public Member Functions

Public Member Functions

- -
[out]cxThe horizontal coordinate of the center of the bounding circle.
[out]cyThe vertical coordinate of the center of the bounding circle.
[out]radiusThe radius of the bounding circle.
- - -
Return values
- - +
Result::Successwhen succeed.
[out]radiusThe radius of the bounding circle.
@@ -318,7 +321,7 @@ Static Public Member Functions
Return values
- +
Result::Successwhen succeed, Result::InvalidArguments in case the radius value is zero or less.
Result::InvalidArgumentsin case the radius value is zero or less.
diff --git a/docs/html/classtvg_1_1RadialGradient__coll__graph.map b/docs/html/classtvg_1_1RadialGradient__coll__graph.map new file mode 100644 index 00000000..4de59aa6 --- /dev/null +++ b/docs/html/classtvg_1_1RadialGradient__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1RadialGradient__coll__graph.md5 b/docs/html/classtvg_1_1RadialGradient__coll__graph.md5 new file mode 100644 index 00000000..fa8af78c --- /dev/null +++ b/docs/html/classtvg_1_1RadialGradient__coll__graph.md5 @@ -0,0 +1 @@ +7d9ed750e4461d9e03c1d214d789095e \ No newline at end of file diff --git a/docs/html/classtvg_1_1RadialGradient__coll__graph.png b/docs/html/classtvg_1_1RadialGradient__coll__graph.png new file mode 100644 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F4!I(9u}9B;kOAE$C?s-QB7lG!^4|fTg8srG8rw=i=%UtoDBhHW*=X%A8Biw zj#95GKe}-I^cFThKfkT5O;T3nUf=huBl_L(8~yDGU5tsA&`@gWY-EQn{yC9Itf|q| z)@CkGzshRiHsJ!I(hZ6nGf|P8NfMciOtDG^eHa`ZTe!U+c?(fmQ&W?t<07{|1*D{` z42Q!P7Z!qACa5{ac>|1KqL&^d@z`Q-M0;Ujp^lc;dq!j!uwsz4A;^${J%!Ne^fc?B zfPk6aUMpwkY|nbG>Bsqb^pz_N`ZE_NZF<3R-{zJUQ>Y9nQ)C^F%YB`|)z#C}gTupr zZgK2uBLf2~TYr_2nc3u*-T6ZCtiI2~!zd8S!{acC`MK6XO0DG6mXI5sW=)=3+gh2) z0lDeo^&s_~os-v%;duK(QU`qT8|O>AhK7d7l}%7xZLLk6hpnBRp~8bZKeq((Aqfec zU0oRNkC6)(E=Wj7nB4qYbNDod?^@+5wSOPU=g#b#G@(!!#i9a%z~ft9HMFa8a&jnj z+Cya%YK3J_3}w$bh_p_ z+)(j9!wEJGo+Ya$*}Suwxt~f*3>6N={!Z2Tm?5iLZV{hbQlbn76ET8ykwvmVplQEv zok!<2y0&&+{3iQ+t|q0wpE-TKagC@d>I^z0Bv&(DboS@ZpTo>!TwhIp{d&pWeM8jR zy1GAbuGg>YksPY3s`MaPx&w0^<$q3J@eU;@oxZ!RprVouvUmJdOUujD_wWDJl_A7u zNVDWa;^Gw4j6$u2j~_nbxn>;^rDp7|8g5KUuUyEi?D59|9OJ585Gi&sH@io!s0C3L6 K8P#YVnED^Wq93aO literal 0 HcmV?d00001 diff --git a/docs/html/classtvg_1_1Saver-members.html b/docs/html/classtvg_1_1Saver-members.html index 8b97b02f..e5d4d03e 100644 --- a/docs/html/classtvg_1_1Saver-members.html +++ b/docs/html/classtvg_1_1Saver-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/classtvg_1_1Saver.html b/docs/html/classtvg_1_1Saver.html index 46060f32..aa761d00 100644 --- a/docs/html/classtvg_1_1Saver.html +++ b/docs/html/classtvg_1_1Saver.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -247,10 +247,8 @@ Static Public Member Functions
Return values
- - - +
Result::Successif the export succeeds.
Result::InsufficientConditionif there are ongoing resource-saving operations.
Result::NonSupportif an attempt is made to save the file with an unknown extension or in an unsupported format.
Result::MemoryCorruptionin case of an internal error.
Result::NonSupportif an attempt is made to save the file with an unknown extension or in an unsupported format.
Result::Unknownif attempting to save an empty paint.
@@ -315,10 +313,8 @@ Saving can be asynchronous if the assigned thread number is greater than zero. T
Return values
- - - +
Result::SuccessWhen succeed.
Result::InsufficientConditionIf currently saving other resources.
Result::NonSupportWhen trying to save a file with an unknown extension or in an unsupported format.
Result::MemoryCorruptionAn internal error.
Result::NonSupportWhen trying to save a file with an unknown extension or in an unsupported format.
Result::UnknownIn case an empty paint is to be saved.
@@ -354,13 +350,6 @@ Saving can be asynchronous if the assigned thread number is greater than zero. T

Guarantees that the saving task is finished.

The behavior of the Saver works on a sync/async basis, depending on the threading setting of the Initializer. Thus, if you wish to have a benefit of it, you must call sync() after the save() in the proper delayed time. Otherwise, you can call sync() immediately.

-
Return values
- - - -
Result::Successwhen succeed.
Result::InsufficientConditionotherwise.
-
-
Note
The asynchronous tasking is dependent on the Saver module implementation.
See also
Saver::save()
Since
0.5
diff --git a/docs/html/classtvg_1_1Scene-members.html b/docs/html/classtvg_1_1Scene-members.html index 995f5939..6bc70570 100644 --- a/docs/html/classtvg_1_1Scene-members.html +++ b/docs/html/classtvg_1_1Scene-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -105,12 +105,11 @@ $(document).ready(function(){initNavTree('classtvg_1_1Scene.html',''); initResiz opacity() const noexceptPaint paints() noexceptScene push(std::unique_ptr< Paint > paint) noexceptScene - reserve(uint32_t size) noexceptScene - rotate(float degree) noexceptPaint - scale(float factor) noexceptPaint - transform(const Matrix &m) noexceptPaint - transform() noexceptPaint - translate(float x, float y) noexceptPaint + rotate(float degree) noexceptPaint + scale(float factor) noexceptPaint + transform(const Matrix &m) noexceptPaint + transform() noexceptPaint + translate(float x, float y) noexceptPaint diff --git a/docs/html/classtvg_1_1Scene.html b/docs/html/classtvg_1_1Scene.html index 845a63ed..0c7a56d1 100644 --- a/docs/html/classtvg_1_1Scene.html +++ b/docs/html/classtvg_1_1Scene.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,15 +103,21 @@ Inheritance diagram for Scene:
[legend]
+
+Collaboration diagram for Scene:
+
+
Collaboration graph
+ + + + +
[legend]
- - - @@ -144,7 +150,6 @@ Public Member Functions - @@ -210,12 +215,6 @@ Static Public Member Functions

Public Member Functions

Result push (std::unique_ptr< Paint > paint) noexcept
 Passes drawing elements to the Scene using Paint objects. More...
 
TVG_DEPRECATED Result reserve (uint32_t size) noexcept
 Sets the size of the container, where all the paints pushed into the Scene are stored. More...
 
std::list< Paint * > & paints () noexcept
 Returns the list of the paints that currently held by the Scene. More...
 
 Sets the blending method for the paint object. More...
 
TVG_DEPRECATED Result bounds (float *x, float *y, float *w, float *h) const noexcept
 Gets the bounding box of the paint object before any transformation. More...
 
Result bounds (float *x, float *y, float *w, float *h, bool transformed) const noexcept
 Gets the axis-aligned bounding box of the paint object. More...
-
Return values
- - -
Result::Successwhen succeed
-
-
Warning
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 free argument only when you know how it works, otherwise it's not recommended.
Since
0.2
@@ -345,53 +344,11 @@ Static Public Member Functions -
Return values
- - -
Result::Successwhen succeed, Result::MemoryCorruption otherwise.
-
-
Note
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.
See also
Scene::paints()
Scene::clear()
- - - -

◆ reserve()

- -
-
- - - - - -
- - - - - - - - -
TVG_DEPRECATED Result reserve (uint32_t size)
-
-noexcept
-
- -

Sets the size of the container, where all the paints pushed into the Scene are stored.

-

If the number of objects pushed into the scene is known in advance, calling the function prevents multiple memory reallocation, thus improving the performance.

-
Parameters
- - -
[in]sizeThe number of objects for which the memory is to be reserved.
-
-
-
Returns
Result::Success when succeed, Result::FailedAllocation otherwise.
-
diff --git a/docs/html/classtvg_1_1Scene.js b/docs/html/classtvg_1_1Scene.js index a723d19b..16c84c91 100644 --- a/docs/html/classtvg_1_1Scene.js +++ b/docs/html/classtvg_1_1Scene.js @@ -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 ] ]; \ No newline at end of file diff --git a/docs/html/classtvg_1_1Scene__coll__graph.map b/docs/html/classtvg_1_1Scene__coll__graph.map new file mode 100644 index 00000000..363f3c1b --- /dev/null +++ b/docs/html/classtvg_1_1Scene__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1Scene__coll__graph.md5 b/docs/html/classtvg_1_1Scene__coll__graph.md5 new file mode 100644 index 00000000..ea5ca2bf --- /dev/null +++ b/docs/html/classtvg_1_1Scene__coll__graph.md5 @@ -0,0 +1 @@ +e036cfb9024a5a214ab27e428762f2a6 \ No newline at end of file diff --git a/docs/html/classtvg_1_1Scene__coll__graph.png b/docs/html/classtvg_1_1Scene__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..d4641e8249ed092a0451647921c0dd10d62a9a97 GIT binary patch literal 1788 zcmV00006VoOIv0RI60 z0RN!9r;`8x2C+#*K~#90?VC+Z6KNQLznLynYORf_#nz(W1%Dz@+qi(2%0W#eXbdW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B?6=tWE(k9YX+VWZLL zbUOF#+lOJ8+wESze*JvFx^?Ry2wL7mzTHX0+cCKR#xWa$=Er@ eiZP9h75f{wkb)&n-2OHI0000PHffy literal 0 HcmV?d00001 diff --git a/docs/html/classtvg_1_1Shape-members.html b/docs/html/classtvg_1_1Shape-members.html index 1a29c0ab..a4375ec6 100644 --- a/docs/html/classtvg_1_1Shape-members.html +++ b/docs/html/classtvg_1_1Shape-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -135,6 +135,8 @@ $(document).ready(function(){initNavTree('classtvg_1_1Shape.html',''); initResiz strokeJoin() const noexceptShape strokeMiterlimit(float miterlimit) noexceptShape strokeMiterlimit() const noexceptShape + strokeTrim(float begin, float end, bool simultaneous=true) noexceptShape + strokeTrim(float *begin, float *end) const noexceptShape strokeWidth() const noexceptShape transform(const Matrix &m) noexceptPaint transform() noexceptPaint diff --git a/docs/html/classtvg_1_1Shape.html b/docs/html/classtvg_1_1Shape.html index 297d7584..89ddd6c3 100644 --- a/docs/html/classtvg_1_1Shape.html +++ b/docs/html/classtvg_1_1Shape.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,6 +103,15 @@ Inheritance diagram for Shape:
[legend]
+
+Collaboration diagram for Shape:
+
+
Collaboration graph
+ + + + +
[legend]
@@ -154,6 +163,9 @@ Public Member Functions + + + @@ -202,6 +214,9 @@ Public Member Functions + + + @@ -228,7 +243,6 @@ Public Member Functions - @@ -334,12 +348,6 @@ Static Public Member Functions

Public Member Functions

Result strokeMiterlimit (float miterlimit) noexcept
 Sets the stroke miterlimit. More...
 
Result strokeTrim (float begin, float end, bool simultaneous=true) noexcept
 Sets the trim of the stroke along the defined path segment, allowing control over which part of the stroke is visible. More...
 
Result fill (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept
 Sets the solid color for all of the figures from the path. More...
 
float strokeMiterlimit () const noexcept
 Gets the stroke miterlimit. More...
 
bool strokeTrim (float *begin, float *end) const noexcept
 Gets the trim of the stroke along the defined path segment. More...
 
- Public Member Functions inherited from Paint
Result rotate (float degree) noexcept
 Sets the angle by which the object is rotated. More...
 Sets the blending method for the paint object. More...
 
TVG_DEPRECATED Result bounds (float *x, float *y, float *w, float *h) const noexcept
 Gets the bounding box of the paint object before any transformation. More...
 
Result bounds (float *x, float *y, float *w, float *h, bool transformed) const noexcept
 Gets the axis-aligned bounding box of the paint object. More...
-
Return values
- - -
Result::Successwhen succeed.
-
-
Note
Setting sweep value greater than 360 degrees, is equivalent to calling appendCircle(cx, cy, radius, radius).
@@ -399,13 +407,7 @@ Static Public Member Functions [in]cxThe horizontal coordinate of the center of the ellipse. [in]cyThe vertical coordinate of the center of the ellipse. [in]rxThe x-axis radius of the ellipse. - [in]ryThe y-axis radius of the ellipse. - - - -
Return values
- - +
Result::Successwhen succeed.
[in]ryThe y-axis radius of the ellipse.
@@ -469,12 +471,6 @@ Static Public Member Functions -
Return values
- - -
Result::Successwhen succeed, Result::InvalidArguments otherwise.
-
-
Note
The interface is designed for optimal path setting if the caller has a completed path commands already.
@@ -553,12 +549,6 @@ Static Public Member Functions -
Return values
- - -
Result::Successwhen succeed.
-
-
Note
For rx and ry greater than or equal to the half of w and the half of h, respectively, the shape become an ellipse.
@@ -588,12 +578,6 @@ Static Public Member Functions

Closes the current sub-path by drawing a line from the current point to the initial point of the sub-path.

The value of the current point is set to the initial point of the closed sub-path.

-
Return values
- - -
Result::Successwhen succeed.
-
-
Note
In case the sub-path does not contain any points, this function has no effect.
@@ -669,12 +653,6 @@ Static Public Member Functions -
Return values
- - -
Result::Successwhen succeed.
-
-
Note
In case this is the first command in the path, no data from the path are rendered.
@@ -734,13 +712,7 @@ Static Public Member Functions

Sets the fill rule for the Shape object.

Parameters
- -
[in]rThe fill rule value. The default value is FillRule::Winding.
-
-
-
Return values
- - +
Result::Successwhen succeed.
[in]rThe fill rule value. The default value is FillRule::Winding.
@@ -779,12 +751,6 @@ Static Public Member Functions -
Return values
- - -
Result::Successwhen succeed, Result::MemoryCorruption otherwise.
-
-
Note
Either a solid color or a gradient fill is applied, depending on what was set as last.
@@ -846,12 +812,6 @@ Static Public Member Functions -
Return values
- - -
Result::Successwhen succeed.
-
-
Note
Either a solid color or a gradient fill is applied, depending on what was set as last.
ClipPath won't use the fill values. (see: enum class CompositeMethod::ClipPath)
@@ -1046,12 +1006,6 @@ ClipPath won't use the fill values. (see: enum class
Return values
- - -
Result::Successwhen succeed.
-
-
Note
In case this is the first command in the path, it corresponds to the moveTo() call.
@@ -1095,13 +1049,7 @@ ClipPath won't use the fill values. (see: enum class
Parameters
- -
[in]xThe horizontal coordinate of the initial point of the sub-path.
[in]yThe vertical coordinate of the initial point of the sub-path.
-
- -
Return values
- - +
Result::Successwhen succeed.
[in]yThe vertical coordinate of the initial point of the sub-path.
@@ -1139,12 +1087,6 @@ ClipPath won't use the fill values. (see: enum class
Return values
- - -
Result::Successwhen succeed, Result::FailedAllocation otherwise.
-
-
Since
0.10
@@ -1244,12 +1186,6 @@ ClipPath won't use the fill values. (see: enum class
Return values
- - -
Result::Successwhen succeed.
-
-
Note
The memory, where the path data is stored, is not deallocated at this stage for caching effect.
@@ -1298,8 +1234,6 @@ ClipPath won't use the fill values. (see: enum class
Return values
- -
Result::SuccessWhen succeed.
Result::FailedAllocationAn internal error with a memory allocation for an object to be dashed.
Result::InvalidArgumentsIn case dashPattern is nullptr and cnt > 0, cnt is zero, any of the dash pattern values is zero or less.
@@ -1336,13 +1270,7 @@ ClipPath won't use the fill values. (see: enum class
Parameters
- -
[in]widthThe width of the stroke. The default value is 0.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]widthThe width of the stroke. The default value is 0.
@@ -1382,8 +1310,6 @@ ClipPath won't use the fill values. (see: enum class
Return values
- -
Result::SuccessWhen succeed.
Result::FailedAllocationAn internal error with a memory allocation for an object to be filled.
Result::MemoryCorruptionIn case a nullptr is passed as the argument.
@@ -1418,13 +1344,7 @@ ClipPath won't use the fill values. (see: enum class
Parameters
- -
[in]capThe cap style value. The default value is StrokeCap::Square.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]capThe cap style value. The default value is StrokeCap::Square.
@@ -1459,13 +1379,7 @@ ClipPath won't use the fill values. (see: enum class
Parameters
- -
[in]joinThe join style value. The default value is StrokeJoin::Bevel.
-
- -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]joinThe join style value. The default value is StrokeJoin::Bevel.
@@ -1524,13 +1438,7 @@ ClipPath won't use the fill values. (see: enum class
[in]rThe red color channel value in the range [0 ~ 255]. The default value is 0. [in]gThe green color channel value in the range [0 ~ 255]. The default value is 0. [in]bThe blue color channel value in the range [0 ~ 255]. The default value is 0. - [in]aThe alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque. The default value is 0. - - - -
Return values
- - +
Result::Successwhen succeed, Result::FailedAllocation otherwise.
[in]aThe alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque. The default value is 0.
@@ -1617,13 +1525,7 @@ ClipPath won't use the fill values. (see: enum class
[out]rThe red color channel value in the range [0 ~ 255]. [out]gThe green color channel value in the range [0 ~ 255]. [out]bThe blue color channel value in the range [0 ~ 255]. - [out]aThe alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque. - - - -
Return values
- - +
Result::Successwhen succeed, Result::InsufficientCondition otherwise.
[out]aThe alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque.
@@ -1783,12 +1685,113 @@ ClipPath won't use the fill values. (see: enum class
Return values
- +
Result::Successwhen succeed, Result::NonSupport unsupported value, Result::FailedAllocation otherwise.
Result::InvalidArgumentfor miterlimit values less than zero.
Since
0.11
+ + +
+

◆ strokeTrim() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool strokeTrim (float * begin,
float * end 
) const
+
+noexcept
+
+ +

Gets the trim of the stroke along the defined path segment.

+
Parameters
+ + + +
[out]beginThe starting point of the segment to display along the path.
[out]endSpecifies the end of the segment to display along the path.
+
+
+
Returns
true if trimming is applied simultaneously to all paths of the shape, false otherwise.
+
Note
Experimental API
+ +
+
+ +

◆ strokeTrim() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Result strokeTrim (float begin,
float end,
bool simultaneous = true 
)
+
+noexcept
+
+ +

Sets the trim of the stroke along the defined path segment, allowing control over which part of the stroke is visible.

+

The values of the arguments begin, end, and offset are in the range of 0.0 to 1.0, representing the beginning of the path and the end, respectively.

+
Parameters
+ + + + +
[in]beginSpecifies the start of the segment to display along the path.
[in]endSpecifies the end of the segment to display along the path.
[in]simultaneousDetermines how to trim multiple paths within a single shape. If set to true (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.
+
+
+
Note
Experimental API
+
diff --git a/docs/html/classtvg_1_1Shape.js b/docs/html/classtvg_1_1Shape.js index 1b53ebe8..74ed85ff 100644 --- a/docs/html/classtvg_1_1Shape.js +++ b/docs/html/classtvg_1_1Shape.js @@ -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 ] ]; \ No newline at end of file diff --git a/docs/html/classtvg_1_1Shape__coll__graph.map b/docs/html/classtvg_1_1Shape__coll__graph.map new file mode 100644 index 00000000..24d291a0 --- /dev/null +++ b/docs/html/classtvg_1_1Shape__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1Shape__coll__graph.md5 b/docs/html/classtvg_1_1Shape__coll__graph.md5 new file mode 100644 index 00000000..68f35a5b --- /dev/null +++ b/docs/html/classtvg_1_1Shape__coll__graph.md5 @@ -0,0 +1 @@ +a9827c2c55561e89e0ec21823467757c \ No newline at end of file diff --git a/docs/html/classtvg_1_1Shape__coll__graph.png b/docs/html/classtvg_1_1Shape__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..66e6e4d0c50921de656fe5f3d5a206ee57f5e6cb GIT binary patch literal 1962 zcmV;b2UYlqP)P3@#Du)X5|Ni z<0g~IP!u(r%>scSKRMetl3Q5h7gKGq9{|sWxPFo`V>Xc+1c5a zmX_Mu+J=UP1*_H7)m2wlTP&7Sr%s(bc@jm@Cr_RT1cFD89-%0TAV`#HVCMGa%NK=0 zk(`_y_`Ka&j_+P$rX^Or`~QOiN4izhE#J006h!9epyvV0JF~`t>V< zAbELtR;yJakzBuiePUw5=kuvlDzDcYMnW{qx)S!|&Fyyke7>bimnI}6APAyTslwWw z%jJ%YjD+=ZgaUiF)vH(Ey?a+8k+4`Sxm;dQP!QJcB_$=#o;_nQ7}1|60UCnF#>PcT z|4$H$#bU8IR4Fx|Bqx*`IicLh388K%vCmch;X6EyMuTCnzP^c^94>^IHE1%KcsyRn z;!qbp|Fs)aU|O0qAz?YTjV^NSCT`|2IQS=*TdYuM35!VFcx!Ea?f>ib`iO~0klXC+ zoKE)!05CQ6?d8icVuBLn*3K#KqBCTZf4WN|0M~^Ke`o4FKTv&i(Ssh}%6w zKu{vwT&|g}u6JJVod2!I#WgyU${p9hkKkT z86N(N%Vh=Lx?D4fiE(uLe?QQvDYw=7g~MTm*gI+no0X#|%Ha!cpHTkQ2&{ zoKSA$gmNP%lp8sr+{g*#MouU`4wrv~cnMF?|Zl$HA zn>TNM`0!y;Qj)=7sIRY&5jVTtK0ZEPQBlEWvjG4?p-?Ck21<=aqg*Z@8yj1;Y?(|Z z^A{-;3IstQgd7g%z<~oNPMm-c0sy2^sYoOm85#NT;lqj*D=uHYyk*N40D#-=R;$$m z0|V33(_6Q0EiNwRa5xdTg+1OO*|RMzE&KNEyLIap zilP93s;a74I2^@6OSA@;&3=V zfByVE5{lgmX(#&)YS0#d;ma7N{YWuVqziyz~k`%0D60S z>+9={M&q|{-v9vqj^~HVDskxuV24*I-S$g)9vl;7K>%$#*LxsdpsT#MU#?};^X5D2E)ABx=yEi`}VEN#j+c|Yv>mT@89Z*<>N-Vk&{?n*w;s5{u literal 0 HcmV?d00001 diff --git a/docs/html/classtvg_1_1SwCanvas-members.html b/docs/html/classtvg_1_1SwCanvas-members.html index e0806f3c..21eb033e 100644 --- a/docs/html/classtvg_1_1SwCanvas-members.html +++ b/docs/html/classtvg_1_1SwCanvas-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -104,11 +104,11 @@ $(document).ready(function(){initNavTree('classtvg_1_1SwCanvas.html',''); initRe MempoolPolicy enum nameSwCanvas paints() noexceptCanvas push(std::unique_ptr< Paint > paint) noexceptCanvasvirtual - reserve(uint32_t n) noexceptCanvas - Shareable enum valueSwCanvas - sync() noexceptCanvasvirtual - target(uint32_t *buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexceptSwCanvas - update(Paint *paint=nullptr) noexceptCanvasvirtual + Shareable enum valueSwCanvas + sync() noexceptCanvasvirtual + target(uint32_t *buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexceptSwCanvas + update(Paint *paint=nullptr) noexceptCanvasvirtual + viewport(int32_t x, int32_t y, int32_t w, int32_t h) noexceptCanvasvirtual diff --git a/docs/html/classtvg_1_1SwCanvas.html b/docs/html/classtvg_1_1SwCanvas.html index 755ad650..daab0d26 100644 --- a/docs/html/classtvg_1_1SwCanvas.html +++ b/docs/html/classtvg_1_1SwCanvas.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -104,6 +104,15 @@ Inheritance diagram for SwCanvas:
[legend]
+
+Collaboration diagram for SwCanvas:
+
+
Collaboration graph
+ + + + +
[legend]
@@ -130,9 +139,6 @@ Public Member Functions - - - @@ -148,6 +154,9 @@ Public Member Functions + + + @@ -278,9 +287,8 @@ Static Public Member Functions
Return values

Public Types

 Set sw engine memory pool behavior policy. More...
 
- Public Member Functions inherited from Canvas
TVG_DEPRECATED Result reserve (uint32_t n) noexcept
 Sets the size of the container, where all the paints pushed into the Canvas are stored. More...
 
std::list< Paint * > & paints () noexcept
 Returns the list of the paints that currently held by the Canvas. More...
 
virtual Result draw () noexcept
 Requests the canvas to draw the Paint objects. More...
 
virtual Result viewport (int32_t x, int32_t y, int32_t w, int32_t h) noexcept
 Sets the drawing region in the canvas. More...
 
virtual Result sync () noexcept
 Guarantees that drawing task is finished. More...
 
- - +
Result::SuccessWhen succeed.
Result::InsufficientConditionIf the canvas contains some paints already.
Result::NonSupportIn case the software engine is not supported.
Result::NonSupportIn case the software engine is not supported.
@@ -356,14 +364,16 @@ Static Public Member Functions
Return values
- - - + +
Result::SuccessWhen succeed.
Result::MemoryCorruptionWhen casting in the internal function implementation failed.
Result::InvalidArgumentsIn case no valid pointer is provided or the width, or the height or the stride is zero.
Result::NonSupportIn case the software engine is not supported.
Result::InsufficientConditionif the canvas is performing rendering. Please ensure the canvas is synced.
Result::NonSupportIn case the software engine is not supported.
-
Warning
Do not access buffer during Canvas::draw() - Canvas::sync(). It should not be accessed while TVG is writing on it.
+
Warning
Do not access buffer during Canvas::push() - Canvas::sync(). It should not be accessed while the engine is writing on it.
+
See also
Canvas::viewport()
+
+Canvas::sync()
diff --git a/docs/html/classtvg_1_1SwCanvas__coll__graph.map b/docs/html/classtvg_1_1SwCanvas__coll__graph.map new file mode 100644 index 00000000..4337e014 --- /dev/null +++ b/docs/html/classtvg_1_1SwCanvas__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1SwCanvas__coll__graph.md5 b/docs/html/classtvg_1_1SwCanvas__coll__graph.md5 new file mode 100644 index 00000000..b25a728e --- /dev/null +++ b/docs/html/classtvg_1_1SwCanvas__coll__graph.md5 @@ -0,0 +1 @@ +9ca8dd4d52313b63c924e59e71877bcd \ No newline at end of file diff --git a/docs/html/classtvg_1_1SwCanvas__coll__graph.png b/docs/html/classtvg_1_1SwCanvas__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..9974f75be409a8bbc5c41548f63e0e4ed79cc3c1 GIT binary patch literal 2663 zcmcImc|4Ts9)A^*CBktu=vYQ%D`ic#u^T(N_GOYe3|XUSm~@aa2n{9MV6r4Kwu~)g z9itc_LP#_*iU~1t-*eBs_j5nz|NB1QXZhpzyzl$_{(jH*_oUd_nDKE#xB&p*voJSy z0B1k2hjJYOM`S-N9h^83a5H1z@XuD<4!sFob~coh*5K1rqxmvK{Yj z3=g{pR#0Dab_GD8N~KbbURhXL3UViUs6@}T z-3o87X5;d1=Xd`1Lw)m~q}Q);m-<~z0*fyd*|;w>LpHAQcDp-uhFU1eoufv=3& zR$n7p~NC+qn;S$pb zGPkwe`0_iXIm)Z&7w>gdeOX=Q{jL_-Y%e~ozq;`YGnW1p3pXSvH$8g_U4>2B;|?Hzho@&}M(xFPOQNN@d1zFWhN|kx6yuhbmOb3SeIZuJu{h%` zp058S{9kE*-qe+eo_^!H3IubU%N~rgKRv(o$@*77N;vO;ew1+H*t)D@jGjzaH-Zg_ zjLN}L7nquuQ2#V4kuZ9n!7u}gpFFugs8-|J{er}X+1yOp-Yx{Oxyfm?azUUpTQ<|F z&c#Y3^=#$tV48WM7FV3qSO?L$1QG;O zH$aY9(Z-C_IvRV;)!sUOFTHMHXsBxZ#|uFZXZu8iONa1|9_ zfY9&sPTqn61Ki>Tmgj$k=l`>?6K%Vj)a6?r{BF%Rs_K*&=i2>}rD)5g#l=27Wtoq= z-_=_vv!^h+y*OB>r8*Hdo}i6Bp@kpEfo&1~$gf$1712)nU=mlUw!YygRJm z@Tbq7U8!`stv5eEuMdU((X)V)OshjeN!uIq8+3Zi`n0;EBW-VQ4~OH`y{3!aQ`6AU z(9+VnbZL5Mh~AUT4@$y?M{Cip)so&x>+9>k>D}hy;i)H)7QLG&_Pd&}iR_s(Dy}5xrAuy-0-;*sW@h~Z1Lo7?U3ZUx z#s@5xw6yfsH85~Y2w=Dt;RC0OPkFnTo|WSUXfkQgW09Q=pQPAI2*k zg-w3!?{}j2o9gN^8TX5d&WWT32L;86m=Wxta&jOWyCVfU?#M8)7&d_wy z;O#53$cDjSLljCQopZVmXMGr(vR2B)GX48W*qGAuwhE%E1k%GgIQ9G z=N}D&DjL?}q48Mv27UaQdvi&8oFVJ!BhBI>4SG)I+O zcNdozWO7Vwtel*jB7TTWCVRFb2>UR-QC??U2MSG z`Z`E3H#awDe?Uk`Mn(qsHnfe6jlKQo_WDd?s}2iy>Z1SicR`P=a=;qBvSJo1EYAtFWc9tMNS z&(9wlb68j3t=Iaq)Sf-7tgIZ^mHA>EG+pVp)PyYc)GnEt& z*9ygGbR+8Czkd%A69WUw_L4$T)X{NQU|~~Z^ig<3%of37A7{v JH87uqe*&B(GL--T literal 0 HcmV?d00001 diff --git a/docs/html/classtvg_1_1Text-members.html b/docs/html/classtvg_1_1Text-members.html index f6f44b23..5e5e6061 100644 --- a/docs/html/classtvg_1_1Text-members.html +++ b/docs/html/classtvg_1_1Text-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -104,15 +104,16 @@ $(document).ready(function(){initNavTree('classtvg_1_1Text.html',''); initResiza identifier() noexceptTextstatic tvg::Paint::identifier() const noexceptPaint load(const std::string &path) noexceptTextstatic - opacity(uint8_t o) noexceptPaint - opacity() const noexceptPaint - rotate(float degree) noexceptPaint - scale(float factor) noexceptPaint - text(const char *text) noexceptText - transform(const Matrix &m) noexceptPaint - transform() noexceptPaint - translate(float x, float y) noexceptPaint - unload(const std::string &path) noexceptTextstatic + load(const char *name, const char *data, uint32_t size, const std::string &mimeType="ttf", bool copy=false) noexceptTextstatic + opacity(uint8_t o) noexceptPaint + opacity() const noexceptPaint + rotate(float degree) noexceptPaint + scale(float factor) noexceptPaint + text(const char *text) noexceptText + transform(const Matrix &m) noexceptPaint + transform() noexceptPaint + translate(float x, float y) noexceptPaint + unload(const std::string &path) noexceptTextstatic diff --git a/docs/html/classtvg_1_1Text.html b/docs/html/classtvg_1_1Text.html index 3e7fa4ca..f3c17a45 100644 --- a/docs/html/classtvg_1_1Text.html +++ b/docs/html/classtvg_1_1Text.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,6 +103,15 @@ Inheritance diagram for Text:
[legend]
+
+Collaboration diagram for Text:
+
+
Collaboration graph
+ + + + +
[legend]
@@ -144,7 +153,6 @@ Public Member Functions - @@ -168,8 +176,11 @@ Public Member Functions - + + + + @@ -218,7 +229,6 @@ Static Public Member Functions
Return values

Public Member Functions

 Sets the blending method for the paint object. More...
 
TVG_DEPRECATED Result bounds (float *x, float *y, float *w, float *h) const noexcept
 Gets the bounding box of the paint object before any transformation. More...
 
Result bounds (float *x, float *y, float *w, float *h, bool transformed) const noexcept
 Gets the axis-aligned bounding box of the paint object. More...

Static Public Member Functions

static Result load (const std::string &path) noexcept
 Loads a scalable font data(ttf) from a file. More...
 Loads a scalable font data (ttf) from a file. More...
 
static Result load (const char *name, const char *data, uint32_t size, const std::string &mimeType="ttf", bool copy=false) noexcept
 Loads a scalable font data (ttf) from a memory block of a given size. More...
 
static Result unload (const std::string &path) noexcept
 Unloads the specified scalable font data (TTF) that was previously loaded. More...
 
-
Result::Successwhen succeed, Result::MemoryCorruption otherwise.
Result::InsufficientConditionwhen the font has not been set up prior to this operation.
@@ -281,7 +291,6 @@ Experimental API
Return values
-
Result::Successwhen succeed.
Result::InsufficientConditionwhen the font has not been set up prior to this operation.
@@ -343,7 +352,6 @@ Experimental API
Return values
-
Result::Successwhen the font properties are set successfully.
Result::InsufficientConditionwhen the specified name cannot be found.
@@ -408,10 +416,92 @@ Experimental API

This method can be referred for identifying the Text class type.

Returns
The type id of the Text class.
+ + + +

◆ load() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static Result load (const char * name,
const char * data,
uint32_t size,
const std::string & mimeType = "ttf",
bool copy = false 
)
+
+staticnoexcept
+
+ +

Loads a scalable font data (ttf) from a memory block of a given size.

+

ThorVG efficiently caches the loaded font data using the specified name 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.

+
Parameters
+ + + + + + +
[in]nameThe name under which the font will be stored and accessible (e.x. in a font() API).
[in]dataA pointer to a memory location where the content of the font data is stored.
[in]sizeThe size in bytes of the memory occupied by the data.
[in]mimeTypeMimetype or extension of font data. In case an empty string is provided the loader will be determined automatically.
[in]copyIf true the data are copied into the engine local buffer, otherwise they are not (default).
+
+
+
Return values
+ + + + +
Result::InvalidArgumentsIf no name is provided or if size is zero while data points to a valid memory location.
Result::NonSupportWhen trying to load a file with an unsupported extension.
Result::InsufficientConditionIf attempting to unload the font data that has not been previously loaded.
+
+
+
Warning
: It's the user responsibility to release the data memory.
+
Note
To unload the font data loaded using this API, pass the proper name and nullptr as data.
+
+If you are unsure about the MIME type, you can provide an empty value like "", and thorvg will attempt to figure it out.
+
+Experimental API
+
See also
Text::font(const char* name, float size, const char* style)
+
-

◆ load()

+

◆ load() [2/2]

@@ -434,7 +524,7 @@ Experimental API
-

Loads a scalable font data(ttf) from a file.

+

Loads a scalable font data (ttf) from a file.

ThorVG efficiently caches the loaded data using the specified path as a key. This means that loading the same file again will not result in duplicate operations; instead, ThorVG will reuse the previously loaded font data.

Parameters
@@ -444,10 +534,8 @@ Experimental API
Return values
- - - +
Result::SuccessWhen succeed.
Result::InvalidArgumentsIn case the path is invalid.
Result::NonSupportWhen trying to load a file with an unknown extension.
Result::UnknownIf an error occurs at a later stage.
Result::NonSupportWhen trying to load a file with an unknown extension.
@@ -488,12 +576,6 @@ Experimental API -
Return values
- - -
Result::Successwhen succeed.
-
-
Note
Experimental API
@@ -532,7 +614,6 @@ Experimental API
Return values
-
Result::SuccessSuccessfully unloads the font data.
Result::InsufficientConditionFails if the loader is not initialized.
@@ -540,7 +621,7 @@ Experimental API
Note
If the font data is currently in use, it will not be immediately unloaded.
Experimental API
-
See also
Text::load(const std::string& path)
+
See also
Text::load(const std::string& path)
diff --git a/docs/html/classtvg_1_1Text__coll__graph.map b/docs/html/classtvg_1_1Text__coll__graph.map new file mode 100644 index 00000000..23295c70 --- /dev/null +++ b/docs/html/classtvg_1_1Text__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1Text__coll__graph.md5 b/docs/html/classtvg_1_1Text__coll__graph.md5 new file mode 100644 index 00000000..c662c56a --- /dev/null +++ b/docs/html/classtvg_1_1Text__coll__graph.md5 @@ -0,0 +1 @@ +5acf084e7e478b941c679e579ddffaf6 \ No newline at end of file diff --git a/docs/html/classtvg_1_1Text__coll__graph.png b/docs/html/classtvg_1_1Text__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..b93f264f91b79eb53697ade6fe975375d71b5be4 GIT binary patch literal 1633 zcmV-n2A=teP)hiwlNiY~(%^ z1VSOiN=R62YlYy;hwSZ3Ae2RvZKi3YWMV3@E02489>b+RJQ*~ba}>UW)4kmLd|238 zcaeAZgu)4Z@!23@83Hdj$fYA`k-mr>2$`Hh`-;-ZnyuceE6W(>*GpNVLT8AJRlA~ zL2+?$b8|D&5PTdo8V!UHLYR?}v2WkLfq{V^>`c>iWo6}$8!Rd+x^w3ak4&QQ{2q)( zBg?WgGczics;sPRZf=fu2Fa6DUy{jW4Gj%TOG{3tQ>)cN2q}u%xpQZ2ZSC5UKDI9v z6cku2mXeYZnM}5O_wMJ{Y&CPxI@FAH5qVROMcI_I3FfT7}czC#@ zqa!yr*KW7(*|SF~l|l%OMx)2$;jAc^%cF17)6)R}fk1#?0s(W6HK1{fId9yp+YP_PC)9?!OI+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