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 b85caa67..00000000 Binary files a/docs/html/classtvg_1_1Animation__inherit__graph.png and /dev/null differ diff --git a/docs/html/classtvg_1_1Canvas-members.html b/docs/html/classtvg_1_1Canvas-members.html index e9eb1c58..9aa1ba98 100644 --- a/docs/html/classtvg_1_1Canvas-members.html +++ b/docs/html/classtvg_1_1Canvas-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 00000000..459670b7 Binary files /dev/null and b/docs/html/classtvg_1_1GlCanvas__coll__graph.png differ 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 00000000..e54ec147 Binary files /dev/null and b/docs/html/classtvg_1_1LinearGradient__coll__graph.png differ 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 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
LottieAnimationfinal
-
-
- -

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 ee65b799..00000000 Binary files a/docs/html/classtvg_1_1LottieAnimation__inherit__graph.png and /dev/null differ 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 00000000..10c424c0 Binary files /dev/null and b/docs/html/classtvg_1_1Picture__coll__graph.png differ diff --git a/docs/html/classtvg_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 index 00000000..8c3c728a Binary files /dev/null and b/docs/html/classtvg_1_1RadialGradient__coll__graph.png differ 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 00000000..d4641e82 Binary files /dev/null and b/docs/html/classtvg_1_1Scene__coll__graph.png differ 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 00000000..66e6e4d0 Binary files /dev/null and b/docs/html/classtvg_1_1Shape__coll__graph.png differ 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 00000000..9974f75b Binary files /dev/null and b/docs/html/classtvg_1_1SwCanvas__coll__graph.png differ 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 00000000..b93f264f Binary files /dev/null and b/docs/html/classtvg_1_1Text__coll__graph.png differ diff --git a/docs/html/classtvg_1_1WgCanvas-members.html b/docs/html/classtvg_1_1WgCanvas-members.html index 46f21531..e16d43fa 100644 --- a/docs/html/classtvg_1_1WgCanvas-members.html +++ b/docs/html/classtvg_1_1WgCanvas-members.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -95,10 +95,10 @@ $(document).ready(function(){initNavTree('classtvg_1_1WgCanvas.html',''); initRe gen() noexceptWgCanvasstatic paints() noexceptCanvas push(std::unique_ptr< Paint > paint) noexceptCanvasvirtual - reserve(uint32_t n) noexceptCanvas - sync() noexceptCanvasvirtual - target(void *window, uint32_t w, uint32_t h) noexceptWgCanvas - update(Paint *paint=nullptr) noexceptCanvasvirtual + sync() noexceptCanvasvirtual + target(void *instance, void *surface, uint32_t w, uint32_t h) noexceptWgCanvas + 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_1WgCanvas.html b/docs/html/classtvg_1_1WgCanvas.html index d83b6fc7..81746710 100644 --- a/docs/html/classtvg_1_1WgCanvas.html +++ b/docs/html/classtvg_1_1WgCanvas.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -103,16 +103,22 @@ Inheritance diagram for WgCanvas:
[legend]
+
+Collaboration diagram for WgCanvas:
+
+
Collaboration graph
+ + + + +
[legend]
- - - + + + - - - @@ -128,6 +134,9 @@ Public Member Functions + + + @@ -172,8 +181,8 @@ Static Public Member Functions - -

◆ target()

+ +

◆ target()

@@ -185,7 +194,13 @@ Static Public Member Functions
- + + + + + + + @@ -212,9 +227,27 @@ Static Public Member Functions

Public Member Functions

Result target (void *window, uint32_t w, uint32_t h) noexcept
 Sets the target window for the rasterization. More...
 
Result target (void *instance, void *surface, uint32_t w, uint32_t h) noexcept
 Sets the drawing target for the 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...
 
Result target ( void * window, instance,
void * surface,
-

Sets the target window for the rasterization.

-
Warning
Please do not use it, this API is not official one. It could be modified in the next version.
-
Note
Experimental API
+

Sets the drawing target for the rasterization.

+
Parameters
+ + + + + +
[in]instanceWGPUInstance, context for all other wgpu objects.
[in]surfaceWGPUSurface, handle to a presentable surface.
[in]wThe width of the surface.
[in]hThe height of the surface.
+
+
+
Return values
+ + + +
Result::InsufficientConditionif the canvas is performing rendering. Please ensure the canvas is synced.
Result::NonSupportIn case the wg engine is not supported.
+
+
+
Note
Experimental API
+
See also
Canvas::viewport()
+
+Canvas::sync()
diff --git a/docs/html/classtvg_1_1WgCanvas.js b/docs/html/classtvg_1_1WgCanvas.js index 1af5dae3..eab7fb32 100644 --- a/docs/html/classtvg_1_1WgCanvas.js +++ b/docs/html/classtvg_1_1WgCanvas.js @@ -1,4 +1,4 @@ var classtvg_1_1WgCanvas = [ - [ "target", "classtvg_1_1WgCanvas.html#a9b5dc178ae416c6279877c87ca0e6330", null ] + [ "target", "classtvg_1_1WgCanvas.html#a8374462d6f583b287a3664bee0d22c9a", null ] ]; \ No newline at end of file diff --git a/docs/html/classtvg_1_1WgCanvas__coll__graph.map b/docs/html/classtvg_1_1WgCanvas__coll__graph.map new file mode 100644 index 00000000..daa932f0 --- /dev/null +++ b/docs/html/classtvg_1_1WgCanvas__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classtvg_1_1WgCanvas__coll__graph.md5 b/docs/html/classtvg_1_1WgCanvas__coll__graph.md5 new file mode 100644 index 00000000..395c831e --- /dev/null +++ b/docs/html/classtvg_1_1WgCanvas__coll__graph.md5 @@ -0,0 +1 @@ +16daebede52c9eeaa06fd3e3d5a4550f \ No newline at end of file diff --git a/docs/html/classtvg_1_1WgCanvas__coll__graph.png b/docs/html/classtvg_1_1WgCanvas__coll__graph.png new file mode 100644 index 00000000..2e6e18c5 Binary files /dev/null and b/docs/html/classtvg_1_1WgCanvas__coll__graph.png differ diff --git a/docs/html/dir_bfccd401955b95cf8c75461437045ac0.html b/docs/html/dir_bfccd401955b95cf8c75461437045ac0.html index 6bf97894..19fda501 100644 --- a/docs/html/dir_bfccd401955b95cf8c75461437045ac0.html +++ b/docs/html/dir_bfccd401955b95cf8c75461437045ac0.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
diff --git a/docs/html/functions.html b/docs/html/functions.html index 0e0b54d2..508fe2da 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -27,7 +27,7 @@ Logo
ThorVG -  v0.13 +  v0.14
@@ -204,7 +204,6 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable(); , Animation , GlCanvas , LinearGradient -, LottieAnimation , Picture , RadialGradient , Saver @@ -277,9 +276,6 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • order() : Shape
  • -
  • override() -: LottieAnimation -
  • @@ -311,10 +307,6 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • radial() : RadialGradient
  • -
  • reserve() -: Canvas -, Scene -
  • reset() : Shape
  • @@ -331,6 +323,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • scale() : Paint
  • +
  • segment() +: Animation +
  • set() : Accessor
  • @@ -364,6 +359,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • strokeMiterlimit() : Shape
  • +
  • strokeTrim() +: Shape +
  • strokeWidth() : Shape
  • @@ -378,7 +376,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • target() : GlCanvas , SwCanvas -, WgCanvas +, WgCanvas
  • term() : Initializer @@ -407,6 +405,13 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable(); : Canvas
  • + + +

    - v -

    diff --git a/docs/html/functions_enum.html b/docs/html/functions_enum.html index 84012807..d3f3c89d 100644 --- a/docs/html/functions_enum.html +++ b/docs/html/functions_enum.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/functions_eval.html b/docs/html/functions_eval.html index 0c5d8f1c..30c1dff9 100644 --- a/docs/html/functions_eval.html +++ b/docs/html/functions_eval.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index ec992505..f365a81c 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    @@ -177,7 +177,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl , Animation , GlCanvas , LinearGradient -, LottieAnimation , Picture , RadialGradient , Saver @@ -241,9 +240,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • order() : Shape
  • -
  • override() -: LottieAnimation -
  • @@ -272,10 +268,6 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • radial() : RadialGradient
  • -
  • reserve() -: Canvas -, Scene -
  • reset() : Shape
  • @@ -292,6 +284,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • scale() : Paint
  • +
  • segment() +: Animation +
  • set() : Accessor
  • @@ -322,6 +317,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • strokeMiterlimit() : Shape
  • +
  • strokeTrim() +: Shape +
  • strokeWidth() : Shape
  • @@ -336,7 +334,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • target() : GlCanvas , SwCanvas -, WgCanvas +, WgCanvas
  • term() : Initializer @@ -365,6 +363,13 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl : Canvas
  • + + +

    - v -

    diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index 32b4be75..89679c2f 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/graph_legend.html b/docs/html/graph_legend.html index 558591da..c0d98c82 100644 --- a/docs/html/graph_legend.html +++ b/docs/html/graph_legend.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/group__ThorVG.html b/docs/html/group__ThorVG.html index 2121c6b1..204944c8 100644 --- a/docs/html/group__ThorVG.html +++ b/docs/html/group__ThorVG.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    @@ -388,6 +388,7 @@ Functions
    Since
    0.9
    InvLumaMask 

    Alpha Masking using the grayscale (0.2125R + 0.7154G + 0.0721*B) of the complement to the compositing target's pixels.

    +
    Since
    0.11
    AddMask 

    Combines the target and source objects pixels using target alpha. (T * TA) + (S * (255 - TA)) (Experimental API)

    @@ -519,6 +520,7 @@ Functions

    Enumeration specifying the result from the APIs.

    +

    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.

    @@ -530,7 +532,7 @@ Functions - diff --git a/docs/html/group__ThorVG.js b/docs/html/group__ThorVG.js index e55c8d91..6b46bba6 100644 --- a/docs/html/group__ThorVG.js +++ b/docs/html/group__ThorVG.js @@ -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", [ diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 015b3fd8..b012b2bf 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -27,7 +27,7 @@ @@ -92,27 +92,26 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable(); This inheritance list is sorted roughly, but not completely, alphabetically:
    [detail level 12]
    Enumerator
    Success 

    The value returned in case of a correct request execution.

    MemoryCorruption 

    The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting.

    NonSupport 

    The value returned in case of choosing unsupported options.

    +
    NonSupport 

    The value returned in case of choosing unsupported engine features(options).

    Unknown 

    The value returned in all other cases.

    ThorVG -  v0.13 +  v0.14
    - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +
     CAccessorThe Accessor is a utility class to debug the Scene structure by traversing the scene-tree
     CAnimationEnables manipulation of animatable images
     CLottieAnimationEnables control of advanced Lottie features
     CCanvasAn abstract class for drawing graphical elements
     CGlCanvasA class for the rendering graphic elements with a GL raster engine
     CSwCanvasA class for the rendering graphical elements with a software raster engine
     CWgCanvasA class for the rendering graphic elements with a WebGPU raster engine
     CFill::ColorStopA data structure storing the information about the color and its relative position inside the gradient bounds
     CFillAn abstract class representing the gradient fill of the Shape object
     CLinearGradientA class representing the linear gradient fill of the Shape object
     CRadialGradientA class representing the radial gradient fill of the Shape object
     CInitializerA class that enables initialization and termination of the TVG engines
     CMatrixA data structure representing a three-dimensional matrix
     CPaintAn abstract class for managing graphical elements
     CPictureA 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 Paint, it provides methods to load & draw images on the canvas
     CSceneA class to composite children paints
     CShapeA class representing two-dimensional figures and their properties
     CTextA class to represent text objects in a graphical context, allowing for rendering and manipulation of unicode text
     CPointA data structure representing a point in two-dimensional space
     CPolygonA data structure representing a triange in a texture mesh
     CSaverA class for exporting a paint object into a specified file, from which to recover the paint data later
     CVertexA data structure representing a texture mesh vertex
     CAnimationEnables manipulation of animatable images
     CCanvasAn abstract class for drawing graphical elements
     CGlCanvasA class for the rendering graphic elements with a GL raster engine
     CSwCanvasA class for the rendering graphical elements with a software raster engine
     CWgCanvasA class for the rendering graphic elements with a WebGPU raster engine
     CFill::ColorStopA data structure storing the information about the color and its relative position inside the gradient bounds
     CFillAn abstract class representing the gradient fill of the Shape object
     CLinearGradientA class representing the linear gradient fill of the Shape object
     CRadialGradientA class representing the radial gradient fill of the Shape object
     CInitializerA class that enables initialization and termination of the TVG engines
     CMatrixA data structure representing a three-dimensional matrix
     CPaintAn abstract class for managing graphical elements
     CPictureA 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 Paint, it provides methods to load & draw images on the canvas
     CSceneA class to composite children paints
     CShapeA class representing two-dimensional figures and their properties
     CTextA class to represent text objects in a graphical context, allowing for rendering and manipulation of unicode text
     CPointA data structure representing a point in two-dimensional space
     CPolygonA data structure representing a triange in a texture mesh
     CSaverA class for exporting a paint object into a specified file, from which to recover the paint data later
     CVertexA data structure representing a texture mesh vertex
    diff --git a/docs/html/hierarchy.js b/docs/html/hierarchy.js index 0c90f866..da5ad661 100644 --- a/docs/html/hierarchy.js +++ b/docs/html/hierarchy.js @@ -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 ], diff --git a/docs/html/index.html b/docs/html/index.html index 06a9dd32..37efccc7 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/inherit_graph_1.map b/docs/html/inherit_graph_1.map index b7cf1714..bbe2a29a 100644 --- a/docs/html/inherit_graph_1.map +++ b/docs/html/inherit_graph_1.map @@ -1,4 +1,3 @@ - diff --git a/docs/html/inherit_graph_1.md5 b/docs/html/inherit_graph_1.md5 index a526ed43..ee6e4e94 100644 --- a/docs/html/inherit_graph_1.md5 +++ b/docs/html/inherit_graph_1.md5 @@ -1 +1 @@ -98f4c6fb2fb8a5062aee01789d50ad8b \ No newline at end of file +68268815e2926a5e1cbe52759329f9d8 \ No newline at end of file diff --git a/docs/html/inherit_graph_1.png b/docs/html/inherit_graph_1.png index e09543e6..40c8c732 100644 Binary files a/docs/html/inherit_graph_1.png and b/docs/html/inherit_graph_1.png differ diff --git a/docs/html/inherits.html b/docs/html/inherits.html index eb7dda7d..6ee0938a 100644 --- a/docs/html/inherits.html +++ b/docs/html/inherits.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    @@ -98,7 +98,6 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable(); - diff --git a/docs/html/menudata.js b/docs/html/menudata.js index 95fc91b1..5657a1db 100644 --- a/docs/html/menudata.js +++ b/docs/html/menudata.js @@ -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"}]}]}]} diff --git a/docs/html/modules.html b/docs/html/modules.html index 0862a8eb..7965edc3 100644 --- a/docs/html/modules.html +++ b/docs/html/modules.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/navtreeindex0.js b/docs/html/navtreeindex0.js index 73954529..04d4bfc3 100644 --- a/docs/html/navtreeindex0.js +++ b/docs/html/navtreeindex0.js @@ -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], diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js index 48f09f93..2e93b104 100644 --- a/docs/html/search/all_10.js +++ b/docs/html/search/all_10.js @@ -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 &m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept'],['../classtvg_1_1Fill.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Fill::transform(const Matrix &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 &m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept'],['../classtvg_1_1Fill.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Fill::transform(const Matrix &m) noexcept'],['../classtvg_1_1Fill.html#ad96ad531732975db718aaf1210d47cd7',1,'tvg::Fill::transform() const noexcept']]], + ['translate_150',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]] ]; diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js index f7908c57..c0e0d00f 100644 --- a/docs/html/search/all_11.js +++ b/docs/html/search/all_11.js @@ -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']]] ]; diff --git a/docs/html/search/all_12.js b/docs/html/search/all_12.js index f90ee040..db5cfbca 100644 --- a/docs/html/search/all_12.js +++ b/docs/html/search/all_12.js @@ -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']]] ]; diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js index 4fb9f8fa..ae01a052 100644 --- a/docs/html/search/all_6.js +++ b/docs/html/search/all_6.js @@ -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']]] ]; diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js index c2e1af2a..8fb302b3 100644 --- a/docs/html/search/all_9.js +++ b/docs/html/search/all_9.js @@ -5,7 +5,6 @@ var searchData= ['lineargradient_72',['LinearGradient',['../classtvg_1_1LinearGradient.html',1,'tvg']]], ['lineto_73',['lineTo',['../classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd',1,'tvg::Shape']]], ['lineto_74',['LineTo',['../group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1a5dc59cf06f56c730c0a4bfe69c9bf689',1,'tvg']]], - ['load_75',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce',1,'tvg::Picture::load(const char *data, uint32_t size, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767',1,'tvg::Picture::load(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept'],['../classtvg_1_1Text.html#a2e6612c3e7ff222151d2228b97dac1d5',1,'tvg::Text::load()']]], - ['lottieanimation_76',['LottieAnimation',['../classtvg_1_1LottieAnimation.html',1,'tvg']]], - ['lumamask_77',['LumaMask',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a4dae6fdfeb902e322a7bc9122c4e4cb4',1,'tvg']]] + ['load_75',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce',1,'tvg::Picture::load(const char *data, uint32_t size, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767',1,'tvg::Picture::load(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept'],['../classtvg_1_1Text.html#a2e6612c3e7ff222151d2228b97dac1d5',1,'tvg::Text::load(const std::string &path) noexcept'],['../classtvg_1_1Text.html#a0de92209468d6b9b09ad00e9bc4b194c',1,'tvg::Text::load(const char *name, const char *data, uint32_t size, const std::string &mimeType="ttf", bool copy=false) noexcept']]], + ['lumamask_76',['LumaMask',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a4dae6fdfeb902e322a7bc9122c4e4cb4',1,'tvg']]] ]; diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js index c0cbe600..9cf03dd1 100644 --- a/docs/html/search/all_a.js +++ b/docs/html/search/all_a.js @@ -1,12 +1,12 @@ var searchData= [ - ['matrix_78',['Matrix',['../structtvg_1_1Matrix.html',1,'tvg']]], - ['memorycorruption_79',['MemoryCorruption',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6',1,'tvg']]], - ['mempool_80',['mempool',['../classtvg_1_1SwCanvas.html#a3486268541200559f16847cbe714a72c',1,'tvg::SwCanvas']]], - ['mempoolpolicy_81',['MempoolPolicy',['../classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b',1,'tvg::SwCanvas']]], - ['mesh_82',['mesh',['../classtvg_1_1Picture.html#a761d19e78330e8ce73add01cbf1cd2e9',1,'tvg::Picture::mesh(const Polygon *triangles, uint32_t triangleCnt) noexcept'],['../classtvg_1_1Picture.html#ae4d1479dbae28f521da8e90f91a97caa',1,'tvg::Picture::mesh(const Polygon **triangles) const noexcept']]], - ['miter_83',['Miter',['../group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51ae4396f81cd926bb129ccf3c147c64514',1,'tvg']]], - ['moveto_84',['moveTo',['../classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461',1,'tvg::Shape']]], - ['moveto_85',['MoveTo',['../group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad9046d3b1ebf3889943b3be3ca477613',1,'tvg']]], - ['multiply_86',['Multiply',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02ae257376d913f3b53cbb4a9b19d770648',1,'tvg']]] + ['matrix_77',['Matrix',['../structtvg_1_1Matrix.html',1,'tvg']]], + ['memorycorruption_78',['MemoryCorruption',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066ae8c0c653fcac575c31470f0f800991c6',1,'tvg']]], + ['mempool_79',['mempool',['../classtvg_1_1SwCanvas.html#a3486268541200559f16847cbe714a72c',1,'tvg::SwCanvas']]], + ['mempoolpolicy_80',['MempoolPolicy',['../classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22b',1,'tvg::SwCanvas']]], + ['mesh_81',['mesh',['../classtvg_1_1Picture.html#a761d19e78330e8ce73add01cbf1cd2e9',1,'tvg::Picture::mesh(const Polygon *triangles, uint32_t triangleCnt) noexcept'],['../classtvg_1_1Picture.html#ae4d1479dbae28f521da8e90f91a97caa',1,'tvg::Picture::mesh(const Polygon **triangles) const noexcept']]], + ['miter_82',['Miter',['../group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51ae4396f81cd926bb129ccf3c147c64514',1,'tvg']]], + ['moveto_83',['moveTo',['../classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461',1,'tvg::Shape']]], + ['moveto_84',['MoveTo',['../group__ThorVG.html#gga6876ed676934f4dbcc19b1b53c153cc1ad9046d3b1ebf3889943b3be3ca477613',1,'tvg']]], + ['multiply_85',['Multiply',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02ae257376d913f3b53cbb4a9b19d770648',1,'tvg']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 505ee004..726fbcf8 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -1,6 +1,6 @@ var searchData= [ - ['none_87',['None',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a6adf97f83acf6453d4a6a4b1070f3754',1,'tvg']]], - ['nonsupport_88',['NonSupport',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29',1,'tvg']]], - ['normal_89',['Normal',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a960b44c579bc2f6818d2daaf9e4c16f0',1,'tvg']]] + ['none_86',['None',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a6adf97f83acf6453d4a6a4b1070f3754',1,'tvg']]], + ['nonsupport_87',['NonSupport',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066aa0cfd518e4385f31d38720579321ed29',1,'tvg']]], + ['normal_88',['Normal',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a960b44c579bc2f6818d2daaf9e4c16f0',1,'tvg']]] ]; diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js index 023397e5..050d1fcb 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,8 +1,7 @@ var searchData= [ - ['offset_90',['offset',['../structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'tvg::Fill::ColorStop']]], - ['opacity_91',['opacity',['../classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf',1,'tvg::Paint::opacity(uint8_t o) noexcept'],['../classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e',1,'tvg::Paint::opacity() const noexcept']]], - ['order_92',['order',['../classtvg_1_1Shape.html#aa7f1bade5864d60badcb5fae2b0fe034',1,'tvg::Shape']]], - ['overlay_93',['Overlay',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a6b551379c3c0b59326abdaf3b4395bd3',1,'tvg']]], - ['override_94',['override',['../classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e',1,'tvg::LottieAnimation']]] + ['offset_89',['offset',['../structtvg_1_1Fill_1_1ColorStop.html#a3e60b3c561be982d7c8e23f14c01fd5b',1,'tvg::Fill::ColorStop']]], + ['opacity_90',['opacity',['../classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf',1,'tvg::Paint::opacity(uint8_t o) noexcept'],['../classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e',1,'tvg::Paint::opacity() const noexcept']]], + ['order_91',['order',['../classtvg_1_1Shape.html#aa7f1bade5864d60badcb5fae2b0fe034',1,'tvg::Shape']]], + ['overlay_92',['Overlay',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a6b551379c3c0b59326abdaf3b4395bd3',1,'tvg']]] ]; diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js index cfcddd4f..cd99116a 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,14 +1,14 @@ var searchData= [ - ['pad_95',['Pad',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daade43468adaf6acb2c38ebc0c1176f82f',1,'tvg']]], - ['paint_96',['Paint',['../classtvg_1_1Paint.html',1,'tvg']]], - ['paints_97',['paints',['../classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Canvas::paints()'],['../classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Scene::paints()']]], - ['pathcommand_98',['PathCommand',['../group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1',1,'tvg']]], - ['pathcommands_99',['pathCommands',['../classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7',1,'tvg::Shape']]], - ['pathcoords_100',['pathCoords',['../classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923',1,'tvg::Shape']]], - ['picture_101',['picture',['../classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f',1,'tvg::Animation']]], - ['picture_102',['Picture',['../classtvg_1_1Picture.html',1,'tvg']]], - ['point_103',['Point',['../structtvg_1_1Point.html',1,'tvg']]], - ['polygon_104',['Polygon',['../structtvg_1_1Polygon.html',1,'tvg']]], - ['push_105',['push',['../classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e',1,'tvg::Canvas::push()'],['../classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103',1,'tvg::Scene::push()']]] + ['pad_93',['Pad',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daade43468adaf6acb2c38ebc0c1176f82f',1,'tvg']]], + ['paint_94',['Paint',['../classtvg_1_1Paint.html',1,'tvg']]], + ['paints_95',['paints',['../classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Canvas::paints()'],['../classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Scene::paints()']]], + ['pathcommand_96',['PathCommand',['../group__ThorVG.html#ga6876ed676934f4dbcc19b1b53c153cc1',1,'tvg']]], + ['pathcommands_97',['pathCommands',['../classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7',1,'tvg::Shape']]], + ['pathcoords_98',['pathCoords',['../classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923',1,'tvg::Shape']]], + ['picture_99',['picture',['../classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f',1,'tvg::Animation']]], + ['picture_100',['Picture',['../classtvg_1_1Picture.html',1,'tvg']]], + ['point_101',['Point',['../structtvg_1_1Point.html',1,'tvg']]], + ['polygon_102',['Polygon',['../structtvg_1_1Polygon.html',1,'tvg']]], + ['push_103',['push',['../classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e',1,'tvg::Canvas::push()'],['../classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103',1,'tvg::Scene::push()']]] ]; diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index c02aa2e0..07e8bda5 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -1,13 +1,12 @@ var searchData= [ - ['r_106',['r',['../structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'tvg::Fill::ColorStop']]], - ['radial_107',['radial',['../classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030',1,'tvg::RadialGradient::radial(float cx, float cy, float radius) noexcept'],['../classtvg_1_1RadialGradient.html#a706e9ec51bf12483b1d59f99c6fe045e',1,'tvg::RadialGradient::radial(float *cx, float *cy, float *radius) const noexcept']]], - ['radialgradient_108',['RadialGradient',['../classtvg_1_1RadialGradient.html',1,'tvg']]], - ['reflect_109',['Reflect',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa74de3e45e4491e956e8dc18d841d9b00',1,'tvg']]], - ['repeat_110',['Repeat',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa7020426cfb0a204051be4b3053d2acc8',1,'tvg']]], - ['reserve_111',['reserve',['../classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411',1,'tvg::Canvas::reserve()'],['../classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9',1,'tvg::Scene::reserve()']]], - ['reset_112',['reset',['../classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251',1,'tvg::Shape']]], - ['result_113',['Result',['../group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066',1,'tvg']]], - ['rotate_114',['rotate',['../classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3',1,'tvg::Paint']]], - ['round_115',['Round',['../group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c',1,'Round()tvg'],['../group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51ab7f41fc1412ad2ee75e9b2635d3b9d5c',1,'Round()tvg']]] + ['r_104',['r',['../structtvg_1_1Fill_1_1ColorStop.html#a4c5c6ceb8ed33456261fa907136e0c3a',1,'tvg::Fill::ColorStop']]], + ['radial_105',['radial',['../classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030',1,'tvg::RadialGradient::radial(float cx, float cy, float radius) noexcept'],['../classtvg_1_1RadialGradient.html#a706e9ec51bf12483b1d59f99c6fe045e',1,'tvg::RadialGradient::radial(float *cx, float *cy, float *radius) const noexcept']]], + ['radialgradient_106',['RadialGradient',['../classtvg_1_1RadialGradient.html',1,'tvg']]], + ['reflect_107',['Reflect',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa74de3e45e4491e956e8dc18d841d9b00',1,'tvg']]], + ['repeat_108',['Repeat',['../group__ThorVG.html#gga0cfa2c92260cca776292cc9e8964f2daa7020426cfb0a204051be4b3053d2acc8',1,'tvg']]], + ['reset_109',['reset',['../classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251',1,'tvg::Shape']]], + ['result_110',['Result',['../group__ThorVG.html#ga28287671eaf7406afd604bd055ba4066',1,'tvg']]], + ['rotate_111',['rotate',['../classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3',1,'tvg::Paint']]], + ['round_112',['Round',['../group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96ab7f41fc1412ad2ee75e9b2635d3b9d5c',1,'Round()tvg'],['../group__ThorVG.html#ggaba8b7236c41a171289aef2f3c71eef51ab7f41fc1412ad2ee75e9b2635d3b9d5c',1,'Round()tvg']]] ]; diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js index 8d1b6cc2..13cf543b 100644 --- a/docs/html/search/all_f.js +++ b/docs/html/search/all_f.js @@ -1,31 +1,33 @@ var searchData= [ - ['save_116',['save',['../classtvg_1_1Saver.html#acda492a458f3ddc2da01df672ecd85bd',1,'tvg::Saver::save(std::unique_ptr< Paint > paint, const std::string &path, bool compress=true) noexcept'],['../classtvg_1_1Saver.html#a4d421f31d37ea28b650ad0331735710a',1,'tvg::Saver::save(std::unique_ptr< Animation > animation, const std::string &path, uint32_t quality=100, uint32_t fps=0) noexcept']]], - ['saver_117',['Saver',['../classtvg_1_1Saver.html',1,'tvg']]], - ['scale_118',['scale',['../classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2',1,'tvg::Paint']]], - ['scene_119',['Scene',['../classtvg_1_1Scene.html',1,'tvg']]], - ['screen_120',['Screen',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a2fc3359e12b2a9104121dcf04246f6a0',1,'tvg']]], - ['set_121',['set',['../classtvg_1_1Accessor.html#a845badc349250125a45b3d90742d23d1',1,'tvg::Accessor']]], - ['shape_122',['Shape',['../classtvg_1_1Shape.html',1,'tvg']]], - ['shareable_123',['Shareable',['../classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5',1,'tvg::SwCanvas']]], - ['size_124',['size',['../classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40',1,'tvg::Picture::size(float w, float h) noexcept'],['../classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad',1,'tvg::Picture::size(float *w, float *h) const noexcept']]], - ['softlight_125',['SoftLight',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a0110233d77ea3a1b09b5a5a5e3e48ec3',1,'tvg']]], - ['spread_126',['spread',['../classtvg_1_1Fill.html#aed49d00ca09e69fdf97aaae235f8e950',1,'tvg::Fill::spread(FillSpread s) noexcept'],['../classtvg_1_1Fill.html#a55f6de063e5ac8023243c9cef5cb9a12',1,'tvg::Fill::spread() const noexcept']]], - ['square_127',['Square',['../group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96aceb46ca115d05c51aa5a16a8867c3304',1,'tvg']]], - ['srcover_128',['SrcOver',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a9d8c3c91bdcdae522fb3e0cf921ee4ef',1,'tvg']]], - ['stroke_129',['stroke',['../classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1',1,'tvg::Shape::stroke(std::unique_ptr< Fill > f) noexcept'],['../classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177',1,'tvg::Shape::stroke(StrokeJoin join) noexcept'],['../classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375',1,'tvg::Shape::stroke(StrokeCap cap) noexcept'],['../classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4',1,'tvg::Shape::stroke(const float *dashPattern, uint32_t cnt) noexcept'],['../classtvg_1_1Shape.html#aad81d8f86d9432eac25b00cc675c8d7f',1,'tvg::Shape::stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept'],['../classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73',1,'tvg::Shape::stroke(float width) noexcept']]], - ['strokecap_130',['StrokeCap',['../group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96',1,'tvg']]], - ['strokecap_131',['strokeCap',['../classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674',1,'tvg::Shape']]], - ['strokecolor_132',['strokeColor',['../classtvg_1_1Shape.html#a6705be0d6481277e9bf17cc918597665',1,'tvg::Shape']]], - ['strokedash_133',['strokeDash',['../classtvg_1_1Shape.html#afbc1e469219ee86df47d216f58af282a',1,'tvg::Shape']]], - ['strokefill_134',['strokeFill',['../classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e',1,'tvg::Shape']]], - ['strokejoin_135',['strokeJoin',['../classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a',1,'tvg::Shape']]], - ['strokejoin_136',['StrokeJoin',['../group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51',1,'tvg']]], - ['strokemiterlimit_137',['strokeMiterlimit',['../classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f',1,'tvg::Shape::strokeMiterlimit(float miterlimit) noexcept'],['../classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d',1,'tvg::Shape::strokeMiterlimit() const noexcept']]], - ['strokewidth_138',['strokeWidth',['../classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9',1,'tvg::Shape']]], - ['subtractmask_139',['SubtractMask',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a9d512562eaac237c0cb5119d202decb1',1,'tvg']]], - ['success_140',['Success',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38',1,'tvg']]], - ['sw_141',['Sw',['../group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa1f030517f6d25e8607a2a9a7f6227ebc',1,'tvg']]], - ['swcanvas_142',['SwCanvas',['../classtvg_1_1SwCanvas.html',1,'tvg']]], - ['sync_143',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas::sync()'],['../classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778',1,'tvg::Saver::sync()']]] + ['save_113',['save',['../classtvg_1_1Saver.html#acda492a458f3ddc2da01df672ecd85bd',1,'tvg::Saver::save(std::unique_ptr< Paint > paint, const std::string &path, bool compress=true) noexcept'],['../classtvg_1_1Saver.html#a4d421f31d37ea28b650ad0331735710a',1,'tvg::Saver::save(std::unique_ptr< Animation > animation, const std::string &path, uint32_t quality=100, uint32_t fps=0) noexcept']]], + ['saver_114',['Saver',['../classtvg_1_1Saver.html',1,'tvg']]], + ['scale_115',['scale',['../classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2',1,'tvg::Paint']]], + ['scene_116',['Scene',['../classtvg_1_1Scene.html',1,'tvg']]], + ['screen_117',['Screen',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a2fc3359e12b2a9104121dcf04246f6a0',1,'tvg']]], + ['segment_118',['segment',['../classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051',1,'tvg::Animation::segment(float begin, float end) noexcept'],['../classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb',1,'tvg::Animation::segment(float *begin, float *end=nullptr) noexcept']]], + ['set_119',['set',['../classtvg_1_1Accessor.html#a845badc349250125a45b3d90742d23d1',1,'tvg::Accessor']]], + ['shape_120',['Shape',['../classtvg_1_1Shape.html',1,'tvg']]], + ['shareable_121',['Shareable',['../classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22ba4652dcff02024c6e4cba53124ddb5dd5',1,'tvg::SwCanvas']]], + ['size_122',['size',['../classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40',1,'tvg::Picture::size(float w, float h) noexcept'],['../classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad',1,'tvg::Picture::size(float *w, float *h) const noexcept']]], + ['softlight_123',['SoftLight',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a0110233d77ea3a1b09b5a5a5e3e48ec3',1,'tvg']]], + ['spread_124',['spread',['../classtvg_1_1Fill.html#aed49d00ca09e69fdf97aaae235f8e950',1,'tvg::Fill::spread(FillSpread s) noexcept'],['../classtvg_1_1Fill.html#a55f6de063e5ac8023243c9cef5cb9a12',1,'tvg::Fill::spread() const noexcept']]], + ['square_125',['Square',['../group__ThorVG.html#gga6239974a858100e129f1e0b8ffac4f96aceb46ca115d05c51aa5a16a8867c3304',1,'tvg']]], + ['srcover_126',['SrcOver',['../group__ThorVG.html#gga4dd2f3776540c10b565e0446aa8e9e02a9d8c3c91bdcdae522fb3e0cf921ee4ef',1,'tvg']]], + ['stroke_127',['stroke',['../classtvg_1_1Shape.html#aad81d8f86d9432eac25b00cc675c8d7f',1,'tvg::Shape::stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept'],['../classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177',1,'tvg::Shape::stroke(StrokeJoin join) noexcept'],['../classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375',1,'tvg::Shape::stroke(StrokeCap cap) noexcept'],['../classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4',1,'tvg::Shape::stroke(const float *dashPattern, uint32_t cnt) noexcept'],['../classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1',1,'tvg::Shape::stroke(std::unique_ptr< Fill > f) noexcept'],['../classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73',1,'tvg::Shape::stroke(float width) noexcept']]], + ['strokecap_128',['StrokeCap',['../group__ThorVG.html#ga6239974a858100e129f1e0b8ffac4f96',1,'tvg']]], + ['strokecap_129',['strokeCap',['../classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674',1,'tvg::Shape']]], + ['strokecolor_130',['strokeColor',['../classtvg_1_1Shape.html#a6705be0d6481277e9bf17cc918597665',1,'tvg::Shape']]], + ['strokedash_131',['strokeDash',['../classtvg_1_1Shape.html#afbc1e469219ee86df47d216f58af282a',1,'tvg::Shape']]], + ['strokefill_132',['strokeFill',['../classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e',1,'tvg::Shape']]], + ['strokejoin_133',['strokeJoin',['../classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a',1,'tvg::Shape']]], + ['strokejoin_134',['StrokeJoin',['../group__ThorVG.html#gaba8b7236c41a171289aef2f3c71eef51',1,'tvg']]], + ['strokemiterlimit_135',['strokeMiterlimit',['../classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f',1,'tvg::Shape::strokeMiterlimit(float miterlimit) noexcept'],['../classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d',1,'tvg::Shape::strokeMiterlimit() const noexcept']]], + ['stroketrim_136',['strokeTrim',['../classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898',1,'tvg::Shape::strokeTrim(float begin, float end, bool simultaneous=true) noexcept'],['../classtvg_1_1Shape.html#a5e0762495957f05713a60540984fdae4',1,'tvg::Shape::strokeTrim(float *begin, float *end) const noexcept']]], + ['strokewidth_137',['strokeWidth',['../classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9',1,'tvg::Shape']]], + ['subtractmask_138',['SubtractMask',['../group__ThorVG.html#ggaabdf94ada64e69d06deabc5aa6576f87a9d512562eaac237c0cb5119d202decb1',1,'tvg']]], + ['success_139',['Success',['../group__ThorVG.html#gga28287671eaf7406afd604bd055ba4066a505a83f220c02df2f85c3810cd9ceb38',1,'tvg']]], + ['sw_140',['Sw',['../group__ThorVG.html#gga3dfc0651e85484b1011772dd9f8300dfa1f030517f6d25e8607a2a9a7f6227ebc',1,'tvg']]], + ['swcanvas_141',['SwCanvas',['../classtvg_1_1SwCanvas.html',1,'tvg']]], + ['sync_142',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas::sync()'],['../classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778',1,'tvg::Saver::sync()']]] ]; diff --git a/docs/html/search/classes_5.js b/docs/html/search/classes_5.js index 862544c1..8bf48c31 100644 --- a/docs/html/search/classes_5.js +++ b/docs/html/search/classes_5.js @@ -1,5 +1,4 @@ var searchData= [ - ['lineargradient_166',['LinearGradient',['../classtvg_1_1LinearGradient.html',1,'tvg']]], - ['lottieanimation_167',['LottieAnimation',['../classtvg_1_1LottieAnimation.html',1,'tvg']]] + ['lineargradient_166',['LinearGradient',['../classtvg_1_1LinearGradient.html',1,'tvg']]] ]; diff --git a/docs/html/search/classes_6.js b/docs/html/search/classes_6.js index 8fb433d1..ca510fcb 100644 --- a/docs/html/search/classes_6.js +++ b/docs/html/search/classes_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['matrix_168',['Matrix',['../structtvg_1_1Matrix.html',1,'tvg']]] + ['matrix_167',['Matrix',['../structtvg_1_1Matrix.html',1,'tvg']]] ]; diff --git a/docs/html/search/classes_7.js b/docs/html/search/classes_7.js index 18a62d9c..6961589a 100644 --- a/docs/html/search/classes_7.js +++ b/docs/html/search/classes_7.js @@ -1,7 +1,7 @@ var searchData= [ - ['paint_169',['Paint',['../classtvg_1_1Paint.html',1,'tvg']]], - ['picture_170',['Picture',['../classtvg_1_1Picture.html',1,'tvg']]], - ['point_171',['Point',['../structtvg_1_1Point.html',1,'tvg']]], - ['polygon_172',['Polygon',['../structtvg_1_1Polygon.html',1,'tvg']]] + ['paint_168',['Paint',['../classtvg_1_1Paint.html',1,'tvg']]], + ['picture_169',['Picture',['../classtvg_1_1Picture.html',1,'tvg']]], + ['point_170',['Point',['../structtvg_1_1Point.html',1,'tvg']]], + ['polygon_171',['Polygon',['../structtvg_1_1Polygon.html',1,'tvg']]] ]; diff --git a/docs/html/search/classes_8.js b/docs/html/search/classes_8.js index fea3d14a..22ab15c6 100644 --- a/docs/html/search/classes_8.js +++ b/docs/html/search/classes_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['radialgradient_173',['RadialGradient',['../classtvg_1_1RadialGradient.html',1,'tvg']]] + ['radialgradient_172',['RadialGradient',['../classtvg_1_1RadialGradient.html',1,'tvg']]] ]; diff --git a/docs/html/search/classes_9.js b/docs/html/search/classes_9.js index 1be30c54..562d4816 100644 --- a/docs/html/search/classes_9.js +++ b/docs/html/search/classes_9.js @@ -1,7 +1,7 @@ var searchData= [ - ['saver_174',['Saver',['../classtvg_1_1Saver.html',1,'tvg']]], - ['scene_175',['Scene',['../classtvg_1_1Scene.html',1,'tvg']]], - ['shape_176',['Shape',['../classtvg_1_1Shape.html',1,'tvg']]], - ['swcanvas_177',['SwCanvas',['../classtvg_1_1SwCanvas.html',1,'tvg']]] + ['saver_173',['Saver',['../classtvg_1_1Saver.html',1,'tvg']]], + ['scene_174',['Scene',['../classtvg_1_1Scene.html',1,'tvg']]], + ['shape_175',['Shape',['../classtvg_1_1Shape.html',1,'tvg']]], + ['swcanvas_176',['SwCanvas',['../classtvg_1_1SwCanvas.html',1,'tvg']]] ]; diff --git a/docs/html/search/classes_a.js b/docs/html/search/classes_a.js index 1d09950c..403799d9 100644 --- a/docs/html/search/classes_a.js +++ b/docs/html/search/classes_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['text_178',['Text',['../classtvg_1_1Text.html',1,'tvg']]] + ['text_177',['Text',['../classtvg_1_1Text.html',1,'tvg']]] ]; diff --git a/docs/html/search/classes_b.js b/docs/html/search/classes_b.js index f89c4457..7ea833b0 100644 --- a/docs/html/search/classes_b.js +++ b/docs/html/search/classes_b.js @@ -1,4 +1,4 @@ var searchData= [ - ['vertex_179',['Vertex',['../structtvg_1_1Vertex.html',1,'tvg']]] + ['vertex_178',['Vertex',['../structtvg_1_1Vertex.html',1,'tvg']]] ]; diff --git a/docs/html/search/classes_c.js b/docs/html/search/classes_c.js index 908939c1..945df572 100644 --- a/docs/html/search/classes_c.js +++ b/docs/html/search/classes_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['wgcanvas_180',['WgCanvas',['../classtvg_1_1WgCanvas.html',1,'tvg']]] + ['wgcanvas_179',['WgCanvas',['../classtvg_1_1WgCanvas.html',1,'tvg']]] ]; diff --git a/docs/html/search/functions_0.js b/docs/html/search/functions_0.js index d3d852c1..b0ed29b9 100644 --- a/docs/html/search/functions_0.js +++ b/docs/html/search/functions_0.js @@ -1,7 +1,7 @@ var searchData= [ - ['appendarc_181',['appendArc',['../classtvg_1_1Shape.html#a2f003a843ff42f6cee6a726f543836e3',1,'tvg::Shape']]], - ['appendcircle_182',['appendCircle',['../classtvg_1_1Shape.html#a52eccb2815eaa1231da9c389cd92ffa1',1,'tvg::Shape']]], - ['appendpath_183',['appendPath',['../classtvg_1_1Shape.html#a3588ea30776a747a22b6ee82dadb9717',1,'tvg::Shape']]], - ['appendrect_184',['appendRect',['../classtvg_1_1Shape.html#a8ef2587269a01153c9ea4ca4a8d31b49',1,'tvg::Shape']]] + ['appendarc_180',['appendArc',['../classtvg_1_1Shape.html#a2f003a843ff42f6cee6a726f543836e3',1,'tvg::Shape']]], + ['appendcircle_181',['appendCircle',['../classtvg_1_1Shape.html#a52eccb2815eaa1231da9c389cd92ffa1',1,'tvg::Shape']]], + ['appendpath_182',['appendPath',['../classtvg_1_1Shape.html#a3588ea30776a747a22b6ee82dadb9717',1,'tvg::Shape']]], + ['appendrect_183',['appendRect',['../classtvg_1_1Shape.html#a8ef2587269a01153c9ea4ca4a8d31b49',1,'tvg::Shape']]] ]; diff --git a/docs/html/search/functions_1.js b/docs/html/search/functions_1.js index 6fd522a9..957a7cb9 100644 --- a/docs/html/search/functions_1.js +++ b/docs/html/search/functions_1.js @@ -1,6 +1,6 @@ var searchData= [ - ['background_185',['background',['../classtvg_1_1Saver.html#a8e3b775984e506f816d6998ca12fd3fb',1,'tvg::Saver']]], - ['blend_186',['blend',['../classtvg_1_1Paint.html#a7e1214a5dc2f3c19ddeedc5371c4e488',1,'tvg::Paint::blend(BlendMethod method) const noexcept'],['../classtvg_1_1Paint.html#a4bd3efb580822b2db64034e3f3cd18ad',1,'tvg::Paint::blend() const noexcept']]], - ['bounds_187',['bounds',['../classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d',1,'tvg::Paint::bounds(float *x, float *y, float *w, float *h) const noexcept'],['../classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3',1,'tvg::Paint::bounds(float *x, float *y, float *w, float *h, bool transformed) const noexcept']]] + ['background_184',['background',['../classtvg_1_1Saver.html#a8e3b775984e506f816d6998ca12fd3fb',1,'tvg::Saver']]], + ['blend_185',['blend',['../classtvg_1_1Paint.html#a7e1214a5dc2f3c19ddeedc5371c4e488',1,'tvg::Paint::blend(BlendMethod method) const noexcept'],['../classtvg_1_1Paint.html#a4bd3efb580822b2db64034e3f3cd18ad',1,'tvg::Paint::blend() const noexcept']]], + ['bounds_186',['bounds',['../classtvg_1_1Paint.html#aed5a6ad8edd827a378111b590ed7755d',1,'tvg::Paint::bounds(float *x, float *y, float *w, float *h) const noexcept'],['../classtvg_1_1Paint.html#a1b51b7344eac48d285c073bc488197d3',1,'tvg::Paint::bounds(float *x, float *y, float *w, float *h, bool transformed) const noexcept']]] ]; diff --git a/docs/html/search/functions_2.js b/docs/html/search/functions_2.js index 7ca8d2cd..a60e3284 100644 --- a/docs/html/search/functions_2.js +++ b/docs/html/search/functions_2.js @@ -1,10 +1,10 @@ var searchData= [ - ['cast_188',['cast',['../group__ThorVG.html#ga18826bfb9bff2e77bdafce9a510be57f',1,'tvg::cast(Paint *paint)'],['../group__ThorVG.html#ga151ac90e5e41b7dcbea2265cfd6a54ca',1,'tvg::cast(Fill *fill)']]], - ['clear_189',['clear',['../classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd',1,'tvg::Canvas::clear()'],['../classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed',1,'tvg::Scene::clear()']]], - ['close_190',['close',['../classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697',1,'tvg::Shape']]], - ['colorstops_191',['colorStops',['../classtvg_1_1Fill.html#a92717fc84a7d5df56e42e3bc863fce1a',1,'tvg::Fill::colorStops(const ColorStop *colorStops, uint32_t cnt) noexcept'],['../classtvg_1_1Fill.html#addbc9de36b4427639f3cc1dceeccb734',1,'tvg::Fill::colorStops(const ColorStop **colorStops) const noexcept']]], - ['composite_192',['composite',['../classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b',1,'tvg::Paint::composite(std::unique_ptr< Paint > target, CompositeMethod method) noexcept'],['../classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee',1,'tvg::Paint::composite(const Paint **target) const noexcept']]], - ['cubicto_193',['cubicTo',['../classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29',1,'tvg::Shape']]], - ['curframe_194',['curFrame',['../classtvg_1_1Animation.html#a45585afc7e6dbab9fb2d5295b67c45ee',1,'tvg::Animation']]] + ['cast_187',['cast',['../group__ThorVG.html#ga18826bfb9bff2e77bdafce9a510be57f',1,'tvg::cast(Paint *paint)'],['../group__ThorVG.html#ga151ac90e5e41b7dcbea2265cfd6a54ca',1,'tvg::cast(Fill *fill)']]], + ['clear_188',['clear',['../classtvg_1_1Canvas.html#a99cdb01cd893f4199b521b754d21aefd',1,'tvg::Canvas::clear()'],['../classtvg_1_1Scene.html#ac020ea777be697067c6f5c8b18f6a4ed',1,'tvg::Scene::clear()']]], + ['close_189',['close',['../classtvg_1_1Shape.html#a2765987a2641ac1db76d5c64f00da697',1,'tvg::Shape']]], + ['colorstops_190',['colorStops',['../classtvg_1_1Fill.html#a92717fc84a7d5df56e42e3bc863fce1a',1,'tvg::Fill::colorStops(const ColorStop *colorStops, uint32_t cnt) noexcept'],['../classtvg_1_1Fill.html#addbc9de36b4427639f3cc1dceeccb734',1,'tvg::Fill::colorStops(const ColorStop **colorStops) const noexcept']]], + ['composite_191',['composite',['../classtvg_1_1Paint.html#a2e2d077b820d1cfd6502a86e0221638b',1,'tvg::Paint::composite(std::unique_ptr< Paint > target, CompositeMethod method) noexcept'],['../classtvg_1_1Paint.html#aefe4ade5b1b6bc13d518bd5f968af3ee',1,'tvg::Paint::composite(const Paint **target) const noexcept']]], + ['cubicto_192',['cubicTo',['../classtvg_1_1Shape.html#a7b71316176172fa052373bdb7c9efd29',1,'tvg::Shape']]], + ['curframe_193',['curFrame',['../classtvg_1_1Animation.html#a45585afc7e6dbab9fb2d5295b67c45ee',1,'tvg::Animation']]] ]; diff --git a/docs/html/search/functions_3.js b/docs/html/search/functions_3.js index 7b983707..d665c389 100644 --- a/docs/html/search/functions_3.js +++ b/docs/html/search/functions_3.js @@ -1,6 +1,6 @@ var searchData= [ - ['draw_195',['draw',['../classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0',1,'tvg::Canvas']]], - ['duplicate_196',['duplicate',['../classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635',1,'tvg::Paint::duplicate()'],['../classtvg_1_1Fill.html#a48e358abab4478ff7f84dfb85608eaf3',1,'tvg::Fill::duplicate()']]], - ['duration_197',['duration',['../classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679',1,'tvg::Animation']]] + ['draw_194',['draw',['../classtvg_1_1Canvas.html#aabf9e5a14da3b4bfd5883c2b4459abd0',1,'tvg::Canvas']]], + ['duplicate_195',['duplicate',['../classtvg_1_1Paint.html#a71afac69fe1e7c352460be5878812635',1,'tvg::Paint::duplicate()'],['../classtvg_1_1Fill.html#a48e358abab4478ff7f84dfb85608eaf3',1,'tvg::Fill::duplicate()']]], + ['duration_196',['duration',['../classtvg_1_1Animation.html#a90ab38b7a2cb72d6b9de4492ff3e6679',1,'tvg::Animation']]] ]; diff --git a/docs/html/search/functions_4.js b/docs/html/search/functions_4.js index 18d4fca4..30dac8ae 100644 --- a/docs/html/search/functions_4.js +++ b/docs/html/search/functions_4.js @@ -1,8 +1,8 @@ var searchData= [ - ['fill_198',['fill',['../classtvg_1_1Shape.html#a0552551ad67547043167f7f382174e89',1,'tvg::Shape::fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept'],['../classtvg_1_1Shape.html#ad0cb7b2ec8d18d7c6d366cc84741682c',1,'tvg::Shape::fill(std::unique_ptr< Fill > f) noexcept'],['../classtvg_1_1Shape.html#a02b95c15d0c2006134a95cdadf64e3f4',1,'tvg::Shape::fill(FillRule r) noexcept'],['../classtvg_1_1Shape.html#a989edf4b4f68532ff25004fc0c7fe826',1,'tvg::Shape::fill() const noexcept'],['../classtvg_1_1Text.html#ab82934b0e19f300568f0aaab976e56fa',1,'tvg::Text::fill(uint8_t r, uint8_t g, uint8_t b) noexcept'],['../classtvg_1_1Text.html#ad0cb7b2ec8d18d7c6d366cc84741682c',1,'tvg::Text::fill(std::unique_ptr< Fill > f) noexcept']]], - ['fillcolor_199',['fillColor',['../classtvg_1_1Shape.html#a8b4f00f01c2d24d6be2962ddf04a70ca',1,'tvg::Shape']]], - ['fillrule_200',['fillRule',['../classtvg_1_1Shape.html#ac14cd997439012e1abf6c1b8d9f3d4aa',1,'tvg::Shape']]], - ['font_201',['font',['../classtvg_1_1Text.html#ae75b2b7eaa5757cfaa6620df127c0416',1,'tvg::Text']]], - ['frame_202',['frame',['../classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9',1,'tvg::Animation']]] + ['fill_197',['fill',['../classtvg_1_1Shape.html#a0552551ad67547043167f7f382174e89',1,'tvg::Shape::fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept'],['../classtvg_1_1Shape.html#ad0cb7b2ec8d18d7c6d366cc84741682c',1,'tvg::Shape::fill(std::unique_ptr< Fill > f) noexcept'],['../classtvg_1_1Shape.html#a02b95c15d0c2006134a95cdadf64e3f4',1,'tvg::Shape::fill(FillRule r) noexcept'],['../classtvg_1_1Shape.html#a989edf4b4f68532ff25004fc0c7fe826',1,'tvg::Shape::fill() const noexcept'],['../classtvg_1_1Text.html#ab82934b0e19f300568f0aaab976e56fa',1,'tvg::Text::fill(uint8_t r, uint8_t g, uint8_t b) noexcept'],['../classtvg_1_1Text.html#ad0cb7b2ec8d18d7c6d366cc84741682c',1,'tvg::Text::fill(std::unique_ptr< Fill > f) noexcept']]], + ['fillcolor_198',['fillColor',['../classtvg_1_1Shape.html#a8b4f00f01c2d24d6be2962ddf04a70ca',1,'tvg::Shape']]], + ['fillrule_199',['fillRule',['../classtvg_1_1Shape.html#ac14cd997439012e1abf6c1b8d9f3d4aa',1,'tvg::Shape']]], + ['font_200',['font',['../classtvg_1_1Text.html#ae75b2b7eaa5757cfaa6620df127c0416',1,'tvg::Text']]], + ['frame_201',['frame',['../classtvg_1_1Animation.html#a974f03b024a8beed5c8bfe32b56ac2c9',1,'tvg::Animation']]] ]; diff --git a/docs/html/search/functions_5.js b/docs/html/search/functions_5.js index e51ca689..c5cad19d 100644 --- a/docs/html/search/functions_5.js +++ b/docs/html/search/functions_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['gen_203',['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_202',['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()']]] ]; diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js index ea46f73a..6626040a 100644 --- a/docs/html/search/functions_6.js +++ b/docs/html/search/functions_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['identifier_204',['identifier',['../classtvg_1_1Paint.html#a37466e9eff2de62ff15c9df3d72b656d',1,'tvg::Paint::identifier()'],['../classtvg_1_1Fill.html#a37466e9eff2de62ff15c9df3d72b656d',1,'tvg::Fill::identifier()'],['../classtvg_1_1LinearGradient.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::LinearGradient::identifier()'],['../classtvg_1_1RadialGradient.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::RadialGradient::identifier()'],['../classtvg_1_1Shape.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Shape::identifier()'],['../classtvg_1_1Picture.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Picture::identifier()'],['../classtvg_1_1Scene.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Scene::identifier()'],['../classtvg_1_1Text.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Text::identifier()']]], - ['init_205',['init',['../classtvg_1_1Initializer.html#aecd30dc028635b645b0dac5b6facea73',1,'tvg::Initializer']]] + ['identifier_203',['identifier',['../classtvg_1_1Paint.html#a37466e9eff2de62ff15c9df3d72b656d',1,'tvg::Paint::identifier()'],['../classtvg_1_1Fill.html#a37466e9eff2de62ff15c9df3d72b656d',1,'tvg::Fill::identifier()'],['../classtvg_1_1LinearGradient.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::LinearGradient::identifier()'],['../classtvg_1_1RadialGradient.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::RadialGradient::identifier()'],['../classtvg_1_1Shape.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Shape::identifier()'],['../classtvg_1_1Picture.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Picture::identifier()'],['../classtvg_1_1Scene.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Scene::identifier()'],['../classtvg_1_1Text.html#a13df43a335dadaea01769a726dc9ddfd',1,'tvg::Text::identifier()']]], + ['init_204',['init',['../classtvg_1_1Initializer.html#aecd30dc028635b645b0dac5b6facea73',1,'tvg::Initializer']]] ]; diff --git a/docs/html/search/functions_7.js b/docs/html/search/functions_7.js index 7bd8337c..507ac23f 100644 --- a/docs/html/search/functions_7.js +++ b/docs/html/search/functions_7.js @@ -1,6 +1,6 @@ var searchData= [ - ['linear_206',['linear',['../classtvg_1_1LinearGradient.html#aa881eb89e14ade6a30bc41d7eb8eaf52',1,'tvg::LinearGradient::linear(float x1, float y1, float x2, float y2) noexcept'],['../classtvg_1_1LinearGradient.html#a5c77e9f6e855a595945f45a6b19ee983',1,'tvg::LinearGradient::linear(float *x1, float *y1, float *x2, float *y2) const noexcept']]], - ['lineto_207',['lineTo',['../classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd',1,'tvg::Shape']]], - ['load_208',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce',1,'tvg::Picture::load(const char *data, uint32_t size, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767',1,'tvg::Picture::load(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept'],['../classtvg_1_1Text.html#a2e6612c3e7ff222151d2228b97dac1d5',1,'tvg::Text::load()']]] + ['linear_205',['linear',['../classtvg_1_1LinearGradient.html#aa881eb89e14ade6a30bc41d7eb8eaf52',1,'tvg::LinearGradient::linear(float x1, float y1, float x2, float y2) noexcept'],['../classtvg_1_1LinearGradient.html#a5c77e9f6e855a595945f45a6b19ee983',1,'tvg::LinearGradient::linear(float *x1, float *y1, float *x2, float *y2) const noexcept']]], + ['lineto_206',['lineTo',['../classtvg_1_1Shape.html#a9c28e9bbc6bd22dc62e891ffb3fa02cd',1,'tvg::Shape']]], + ['load_207',['load',['../classtvg_1_1Picture.html#aaf06be7d0b572c5ce35315cbddd7d318',1,'tvg::Picture::load(const std::string &path) noexcept'],['../classtvg_1_1Picture.html#a3e487c0b236a6eea853c5ccb7665cdce',1,'tvg::Picture::load(const char *data, uint32_t size, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a95979a7c4ce51445c7ef9d6461c34767',1,'tvg::Picture::load(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexcept'],['../classtvg_1_1Picture.html#a1fdf75092cebaa7cde48d6a7d4946368',1,'tvg::Picture::load(uint32_t *data, uint32_t w, uint32_t h, bool copy) noexcept'],['../classtvg_1_1Text.html#a2e6612c3e7ff222151d2228b97dac1d5',1,'tvg::Text::load(const std::string &path) noexcept'],['../classtvg_1_1Text.html#a0de92209468d6b9b09ad00e9bc4b194c',1,'tvg::Text::load(const char *name, const char *data, uint32_t size, const std::string &mimeType="ttf", bool copy=false) noexcept']]] ]; diff --git a/docs/html/search/functions_8.js b/docs/html/search/functions_8.js index 76ba97ca..05e6a5c7 100644 --- a/docs/html/search/functions_8.js +++ b/docs/html/search/functions_8.js @@ -1,6 +1,6 @@ var searchData= [ - ['mempool_209',['mempool',['../classtvg_1_1SwCanvas.html#a3486268541200559f16847cbe714a72c',1,'tvg::SwCanvas']]], - ['mesh_210',['mesh',['../classtvg_1_1Picture.html#a761d19e78330e8ce73add01cbf1cd2e9',1,'tvg::Picture::mesh(const Polygon *triangles, uint32_t triangleCnt) noexcept'],['../classtvg_1_1Picture.html#ae4d1479dbae28f521da8e90f91a97caa',1,'tvg::Picture::mesh(const Polygon **triangles) const noexcept']]], - ['moveto_211',['moveTo',['../classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461',1,'tvg::Shape']]] + ['mempool_208',['mempool',['../classtvg_1_1SwCanvas.html#a3486268541200559f16847cbe714a72c',1,'tvg::SwCanvas']]], + ['mesh_209',['mesh',['../classtvg_1_1Picture.html#a761d19e78330e8ce73add01cbf1cd2e9',1,'tvg::Picture::mesh(const Polygon *triangles, uint32_t triangleCnt) noexcept'],['../classtvg_1_1Picture.html#ae4d1479dbae28f521da8e90f91a97caa',1,'tvg::Picture::mesh(const Polygon **triangles) const noexcept']]], + ['moveto_210',['moveTo',['../classtvg_1_1Shape.html#a59f97aaa973af7c58081690433286461',1,'tvg::Shape']]] ]; diff --git a/docs/html/search/functions_9.js b/docs/html/search/functions_9.js index 6c805bb8..3a5d00cb 100644 --- a/docs/html/search/functions_9.js +++ b/docs/html/search/functions_9.js @@ -1,6 +1,5 @@ var searchData= [ - ['opacity_212',['opacity',['../classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf',1,'tvg::Paint::opacity(uint8_t o) noexcept'],['../classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e',1,'tvg::Paint::opacity() const noexcept']]], - ['order_213',['order',['../classtvg_1_1Shape.html#aa7f1bade5864d60badcb5fae2b0fe034',1,'tvg::Shape']]], - ['override_214',['override',['../classtvg_1_1LottieAnimation.html#a4494026fda156de49129751764f36f1e',1,'tvg::LottieAnimation']]] + ['opacity_211',['opacity',['../classtvg_1_1Paint.html#a2f25b71fed3ae390eb8051c7ea65aebf',1,'tvg::Paint::opacity(uint8_t o) noexcept'],['../classtvg_1_1Paint.html#a2ee7517b8bfad47e0f999ba3450e0e3e',1,'tvg::Paint::opacity() const noexcept']]], + ['order_212',['order',['../classtvg_1_1Shape.html#aa7f1bade5864d60badcb5fae2b0fe034',1,'tvg::Shape']]] ]; diff --git a/docs/html/search/functions_a.js b/docs/html/search/functions_a.js index 54e1659b..2836808e 100644 --- a/docs/html/search/functions_a.js +++ b/docs/html/search/functions_a.js @@ -1,8 +1,8 @@ var searchData= [ - ['paints_215',['paints',['../classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Canvas::paints()'],['../classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Scene::paints()']]], - ['pathcommands_216',['pathCommands',['../classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7',1,'tvg::Shape']]], - ['pathcoords_217',['pathCoords',['../classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923',1,'tvg::Shape']]], - ['picture_218',['picture',['../classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f',1,'tvg::Animation']]], - ['push_219',['push',['../classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e',1,'tvg::Canvas::push()'],['../classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103',1,'tvg::Scene::push()']]] + ['paints_213',['paints',['../classtvg_1_1Canvas.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Canvas::paints()'],['../classtvg_1_1Scene.html#ace6c268f853a4c144076de89b7bbbe75',1,'tvg::Scene::paints()']]], + ['pathcommands_214',['pathCommands',['../classtvg_1_1Shape.html#ac14d90c2c0130b66a9a33eb7d08101b7',1,'tvg::Shape']]], + ['pathcoords_215',['pathCoords',['../classtvg_1_1Shape.html#a818b1b358f0ed7ba448b6d804e087923',1,'tvg::Shape']]], + ['picture_216',['picture',['../classtvg_1_1Animation.html#a004ba625c58005c931b244fb2515624f',1,'tvg::Animation']]], + ['push_217',['push',['../classtvg_1_1Canvas.html#a82c5ec1c1ba93cf7671642400074201e',1,'tvg::Canvas::push()'],['../classtvg_1_1Scene.html#a19240cd5b53571da718fabef8afb7103',1,'tvg::Scene::push()']]] ]; diff --git a/docs/html/search/functions_b.js b/docs/html/search/functions_b.js index 2c2c8237..09897aca 100644 --- a/docs/html/search/functions_b.js +++ b/docs/html/search/functions_b.js @@ -1,7 +1,6 @@ var searchData= [ - ['radial_220',['radial',['../classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030',1,'tvg::RadialGradient::radial(float cx, float cy, float radius) noexcept'],['../classtvg_1_1RadialGradient.html#a706e9ec51bf12483b1d59f99c6fe045e',1,'tvg::RadialGradient::radial(float *cx, float *cy, float *radius) const noexcept']]], - ['reserve_221',['reserve',['../classtvg_1_1Canvas.html#a1db0cc15b62127da865b37981402b411',1,'tvg::Canvas::reserve()'],['../classtvg_1_1Scene.html#a7b0edd52cb97da03615fe9af3ee768a9',1,'tvg::Scene::reserve()']]], - ['reset_222',['reset',['../classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251',1,'tvg::Shape']]], - ['rotate_223',['rotate',['../classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3',1,'tvg::Paint']]] + ['radial_218',['radial',['../classtvg_1_1RadialGradient.html#a3688387d86ebd5003ee98d90f24a6030',1,'tvg::RadialGradient::radial(float cx, float cy, float radius) noexcept'],['../classtvg_1_1RadialGradient.html#a706e9ec51bf12483b1d59f99c6fe045e',1,'tvg::RadialGradient::radial(float *cx, float *cy, float *radius) const noexcept']]], + ['reset_219',['reset',['../classtvg_1_1Shape.html#a8014640e362066901c2e2ebe6ddd1251',1,'tvg::Shape']]], + ['rotate_220',['rotate',['../classtvg_1_1Paint.html#a7841fa0c14643e09735d48042ead68f3',1,'tvg::Paint']]] ]; diff --git a/docs/html/search/functions_c.js b/docs/html/search/functions_c.js index eb6a66d3..1613f948 100644 --- a/docs/html/search/functions_c.js +++ b/docs/html/search/functions_c.js @@ -1,17 +1,19 @@ var searchData= [ - ['save_224',['save',['../classtvg_1_1Saver.html#a4d421f31d37ea28b650ad0331735710a',1,'tvg::Saver::save(std::unique_ptr< Animation > animation, const std::string &path, uint32_t quality=100, uint32_t fps=0) noexcept'],['../classtvg_1_1Saver.html#acda492a458f3ddc2da01df672ecd85bd',1,'tvg::Saver::save(std::unique_ptr< Paint > paint, const std::string &path, bool compress=true) noexcept']]], - ['scale_225',['scale',['../classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2',1,'tvg::Paint']]], - ['set_226',['set',['../classtvg_1_1Accessor.html#a845badc349250125a45b3d90742d23d1',1,'tvg::Accessor']]], - ['size_227',['size',['../classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40',1,'tvg::Picture::size(float w, float h) noexcept'],['../classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad',1,'tvg::Picture::size(float *w, float *h) const noexcept']]], - ['spread_228',['spread',['../classtvg_1_1Fill.html#aed49d00ca09e69fdf97aaae235f8e950',1,'tvg::Fill::spread(FillSpread s) noexcept'],['../classtvg_1_1Fill.html#a55f6de063e5ac8023243c9cef5cb9a12',1,'tvg::Fill::spread() const noexcept']]], - ['stroke_229',['stroke',['../classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375',1,'tvg::Shape::stroke(StrokeCap cap) noexcept'],['../classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177',1,'tvg::Shape::stroke(StrokeJoin join) noexcept'],['../classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4',1,'tvg::Shape::stroke(const float *dashPattern, uint32_t cnt) noexcept'],['../classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1',1,'tvg::Shape::stroke(std::unique_ptr< Fill > f) noexcept'],['../classtvg_1_1Shape.html#aad81d8f86d9432eac25b00cc675c8d7f',1,'tvg::Shape::stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept'],['../classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73',1,'tvg::Shape::stroke(float width) noexcept']]], - ['strokecap_230',['strokeCap',['../classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674',1,'tvg::Shape']]], - ['strokecolor_231',['strokeColor',['../classtvg_1_1Shape.html#a6705be0d6481277e9bf17cc918597665',1,'tvg::Shape']]], - ['strokedash_232',['strokeDash',['../classtvg_1_1Shape.html#afbc1e469219ee86df47d216f58af282a',1,'tvg::Shape']]], - ['strokefill_233',['strokeFill',['../classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e',1,'tvg::Shape']]], - ['strokejoin_234',['strokeJoin',['../classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a',1,'tvg::Shape']]], - ['strokemiterlimit_235',['strokeMiterlimit',['../classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f',1,'tvg::Shape::strokeMiterlimit(float miterlimit) noexcept'],['../classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d',1,'tvg::Shape::strokeMiterlimit() const noexcept']]], - ['strokewidth_236',['strokeWidth',['../classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9',1,'tvg::Shape']]], - ['sync_237',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas::sync()'],['../classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778',1,'tvg::Saver::sync()']]] + ['save_221',['save',['../classtvg_1_1Saver.html#a4d421f31d37ea28b650ad0331735710a',1,'tvg::Saver::save(std::unique_ptr< Animation > animation, const std::string &path, uint32_t quality=100, uint32_t fps=0) noexcept'],['../classtvg_1_1Saver.html#acda492a458f3ddc2da01df672ecd85bd',1,'tvg::Saver::save(std::unique_ptr< Paint > paint, const std::string &path, bool compress=true) noexcept']]], + ['scale_222',['scale',['../classtvg_1_1Paint.html#a5c057876185525c5723215f95a3984f2',1,'tvg::Paint']]], + ['segment_223',['segment',['../classtvg_1_1Animation.html#aa05e5a4df917f934ba9b6233d39b4051',1,'tvg::Animation::segment(float begin, float end) noexcept'],['../classtvg_1_1Animation.html#aa972943b6a0d53d9868dcf70915ec0cb',1,'tvg::Animation::segment(float *begin, float *end=nullptr) noexcept']]], + ['set_224',['set',['../classtvg_1_1Accessor.html#a845badc349250125a45b3d90742d23d1',1,'tvg::Accessor']]], + ['size_225',['size',['../classtvg_1_1Picture.html#a065e47b46c791ee4d93ed3252d581a40',1,'tvg::Picture::size(float w, float h) noexcept'],['../classtvg_1_1Picture.html#af80639ef3460a5cf06278fdc03c13aad',1,'tvg::Picture::size(float *w, float *h) const noexcept']]], + ['spread_226',['spread',['../classtvg_1_1Fill.html#aed49d00ca09e69fdf97aaae235f8e950',1,'tvg::Fill::spread(FillSpread s) noexcept'],['../classtvg_1_1Fill.html#a55f6de063e5ac8023243c9cef5cb9a12',1,'tvg::Fill::spread() const noexcept']]], + ['stroke_227',['stroke',['../classtvg_1_1Shape.html#a39068c9686211de862844dacabf92375',1,'tvg::Shape::stroke(StrokeCap cap) noexcept'],['../classtvg_1_1Shape.html#ac416cad0d9e15079a112b1f609d19177',1,'tvg::Shape::stroke(StrokeJoin join) noexcept'],['../classtvg_1_1Shape.html#ae79102d63897ad86a96afb4436c731e4',1,'tvg::Shape::stroke(const float *dashPattern, uint32_t cnt) noexcept'],['../classtvg_1_1Shape.html#ab0b09b5064dff4931db9ea898b36dcc1',1,'tvg::Shape::stroke(std::unique_ptr< Fill > f) noexcept'],['../classtvg_1_1Shape.html#aad81d8f86d9432eac25b00cc675c8d7f',1,'tvg::Shape::stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) noexcept'],['../classtvg_1_1Shape.html#a5ce764cd1970c7a7d76b209c4441bc73',1,'tvg::Shape::stroke(float width) noexcept']]], + ['strokecap_228',['strokeCap',['../classtvg_1_1Shape.html#a0948989a7f0a9e253234cd9f53784674',1,'tvg::Shape']]], + ['strokecolor_229',['strokeColor',['../classtvg_1_1Shape.html#a6705be0d6481277e9bf17cc918597665',1,'tvg::Shape']]], + ['strokedash_230',['strokeDash',['../classtvg_1_1Shape.html#afbc1e469219ee86df47d216f58af282a',1,'tvg::Shape']]], + ['strokefill_231',['strokeFill',['../classtvg_1_1Shape.html#a08ce41b2d01d2d43980e5c26f4df111e',1,'tvg::Shape']]], + ['strokejoin_232',['strokeJoin',['../classtvg_1_1Shape.html#aac0235df4172e9c079689e5291c7ad5a',1,'tvg::Shape']]], + ['strokemiterlimit_233',['strokeMiterlimit',['../classtvg_1_1Shape.html#ad8fb8f42c07ac68ef83383b05203ff6f',1,'tvg::Shape::strokeMiterlimit(float miterlimit) noexcept'],['../classtvg_1_1Shape.html#a84ec91023314c914e900cade78a9095d',1,'tvg::Shape::strokeMiterlimit() const noexcept']]], + ['stroketrim_234',['strokeTrim',['../classtvg_1_1Shape.html#ac69db0796d8e184334add6b0b94b1898',1,'tvg::Shape::strokeTrim(float begin, float end, bool simultaneous=true) noexcept'],['../classtvg_1_1Shape.html#a5e0762495957f05713a60540984fdae4',1,'tvg::Shape::strokeTrim(float *begin, float *end) const noexcept']]], + ['strokewidth_235',['strokeWidth',['../classtvg_1_1Shape.html#a1536ec32e91c29dd8300b0d4354773f9',1,'tvg::Shape']]], + ['sync_236',['sync',['../classtvg_1_1Canvas.html#adbca600af79f9a0b8e8366e3be7450e9',1,'tvg::Canvas::sync()'],['../classtvg_1_1Saver.html#a2fdf9b2208358ea10f912b1877733778',1,'tvg::Saver::sync()']]] ]; diff --git a/docs/html/search/functions_d.js b/docs/html/search/functions_d.js index b1c43927..965c59f6 100644 --- a/docs/html/search/functions_d.js +++ b/docs/html/search/functions_d.js @@ -1,9 +1,9 @@ var searchData= [ - ['target_238',['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_239',['term',['../classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df',1,'tvg::Initializer']]], - ['text_240',['text',['../classtvg_1_1Text.html#a9dd4d33d94a639639321538338e9f9f8',1,'tvg::Text']]], - ['totalframe_241',['totalFrame',['../classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3',1,'tvg::Animation']]], - ['transform_242',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint::transform(const Matrix &m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept'],['../classtvg_1_1Fill.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Fill::transform(const Matrix &m) noexcept'],['../classtvg_1_1Fill.html#ad96ad531732975db718aaf1210d47cd7',1,'tvg::Fill::transform() const noexcept']]], - ['translate_243',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]] + ['target_237',['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_238',['term',['../classtvg_1_1Initializer.html#ace5ab49a2678becae6e7230420a003df',1,'tvg::Initializer']]], + ['text_239',['text',['../classtvg_1_1Text.html#a9dd4d33d94a639639321538338e9f9f8',1,'tvg::Text']]], + ['totalframe_240',['totalFrame',['../classtvg_1_1Animation.html#a624e4fdeebf70f286188685e769125f3',1,'tvg::Animation']]], + ['transform_241',['transform',['../classtvg_1_1Paint.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Paint::transform(const Matrix &m) noexcept'],['../classtvg_1_1Paint.html#ad1e49b6eb81e87bd860f19e1b92c574b',1,'tvg::Paint::transform() noexcept'],['../classtvg_1_1Fill.html#ac9f6ba428afe884bcc2861de0a2a96f4',1,'tvg::Fill::transform(const Matrix &m) noexcept'],['../classtvg_1_1Fill.html#ad96ad531732975db718aaf1210d47cd7',1,'tvg::Fill::transform() const noexcept']]], + ['translate_242',['translate',['../classtvg_1_1Paint.html#ae896f56bfa51c98a50eee3f2bb62e41e',1,'tvg::Paint']]] ]; diff --git a/docs/html/search/functions_e.js b/docs/html/search/functions_e.js index f3dc7d2d..732d9c5b 100644 --- a/docs/html/search/functions_e.js +++ b/docs/html/search/functions_e.js @@ -1,5 +1,5 @@ var searchData= [ - ['unload_244',['unload',['../classtvg_1_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8',1,'tvg::Text']]], - ['update_245',['update',['../classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3',1,'tvg::Canvas']]] + ['unload_243',['unload',['../classtvg_1_1Text.html#a2c3cf96821e59b74399c4c076d66fcc8',1,'tvg::Text']]], + ['update_244',['update',['../classtvg_1_1Canvas.html#a89ac8a85a8c22723af9fb07c098472b3',1,'tvg::Canvas']]] ]; diff --git a/docs/html/search/functions_f.html b/docs/html/search/functions_f.html new file mode 100644 index 00000000..54b7dee0 --- /dev/null +++ b/docs/html/search/functions_f.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/docs/html/search/functions_f.js b/docs/html/search/functions_f.js new file mode 100644 index 00000000..b01911e2 --- /dev/null +++ b/docs/html/search/functions_f.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['viewport_245',['viewport',['../classtvg_1_1Canvas.html#a2172bfc1790cee5dedd9cda7a2caf64e',1,'tvg::Canvas']]] +]; diff --git a/docs/html/search/searchdata.js b/docs/html/search/searchdata.js index b96dcdc7..5e5d35a7 100644 --- a/docs/html/search/searchdata.js +++ b/docs/html/search/searchdata.js @@ -2,7 +2,7 @@ var indexSectionsWithContent = { 0: "abcdefghilmnoprstuvw", 1: "acfgilmprstvw", - 2: "abcdfgilmoprstu", + 2: "abcdfgilmoprstuv", 3: "abgor", 4: "bcfmprs", 5: "abcdefghilmnoprsuw", diff --git a/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html b/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html index f39476ac..916ac662 100644 --- a/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html +++ b/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Fill_1_1ColorStop.html b/docs/html/structtvg_1_1Fill_1_1ColorStop.html index 92f11c00..cebdf838 100644 --- a/docs/html/structtvg_1_1Fill_1_1ColorStop.html +++ b/docs/html/structtvg_1_1Fill_1_1ColorStop.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Matrix-members.html b/docs/html/structtvg_1_1Matrix-members.html index 01e850a7..e136dbb9 100644 --- a/docs/html/structtvg_1_1Matrix-members.html +++ b/docs/html/structtvg_1_1Matrix-members.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Matrix.html b/docs/html/structtvg_1_1Matrix.html index c354f22d..6528e16c 100644 --- a/docs/html/structtvg_1_1Matrix.html +++ b/docs/html/structtvg_1_1Matrix.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Point-members.html b/docs/html/structtvg_1_1Point-members.html index 453a8dbc..8b4b60a9 100644 --- a/docs/html/structtvg_1_1Point-members.html +++ b/docs/html/structtvg_1_1Point-members.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Point.html b/docs/html/structtvg_1_1Point.html index d9f4ea09..e7d8d39f 100644 --- a/docs/html/structtvg_1_1Point.html +++ b/docs/html/structtvg_1_1Point.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Polygon-members.html b/docs/html/structtvg_1_1Polygon-members.html index a091e1b3..dae22c70 100644 --- a/docs/html/structtvg_1_1Polygon-members.html +++ b/docs/html/structtvg_1_1Polygon-members.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Polygon.html b/docs/html/structtvg_1_1Polygon.html index 7d2dbffc..62abf587 100644 --- a/docs/html/structtvg_1_1Polygon.html +++ b/docs/html/structtvg_1_1Polygon.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    @@ -92,6 +92,16 @@ $(document).ready(function(){initNavTree('structtvg_1_1Polygon.html',''); initRe

    A data structure representing a triange in a texture mesh. More...

    +
    +Collaboration diagram for Polygon:
    +
    +
    Collaboration graph
    + + + + + +
    [legend]

    Detailed Description

    A data structure representing a triange in a texture mesh.

    Parameters
    diff --git a/docs/html/structtvg_1_1Polygon__coll__graph.map b/docs/html/structtvg_1_1Polygon__coll__graph.map new file mode 100644 index 00000000..85744e89 --- /dev/null +++ b/docs/html/structtvg_1_1Polygon__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/html/structtvg_1_1Polygon__coll__graph.md5 b/docs/html/structtvg_1_1Polygon__coll__graph.md5 new file mode 100644 index 00000000..75e14e0c --- /dev/null +++ b/docs/html/structtvg_1_1Polygon__coll__graph.md5 @@ -0,0 +1 @@ +1dbf6c7992e255f8b408a725d119d317 \ No newline at end of file diff --git a/docs/html/structtvg_1_1Polygon__coll__graph.png b/docs/html/structtvg_1_1Polygon__coll__graph.png new file mode 100644 index 00000000..a6967a72 Binary files /dev/null and b/docs/html/structtvg_1_1Polygon__coll__graph.png differ diff --git a/docs/html/structtvg_1_1Vertex-members.html b/docs/html/structtvg_1_1Vertex-members.html index 77c6ce56..9c2e85b1 100644 --- a/docs/html/structtvg_1_1Vertex-members.html +++ b/docs/html/structtvg_1_1Vertex-members.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    diff --git a/docs/html/structtvg_1_1Vertex.html b/docs/html/structtvg_1_1Vertex.html index 6b288339..5c05b362 100644 --- a/docs/html/structtvg_1_1Vertex.html +++ b/docs/html/structtvg_1_1Vertex.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    @@ -92,6 +92,15 @@ $(document).ready(function(){initNavTree('structtvg_1_1Vertex.html',''); initRes

    A data structure representing a texture mesh vertex. More...

    +
    +Collaboration diagram for Vertex:
    +
    +
    Collaboration graph
    + + + + +
    [legend]

    Detailed Description

    A data structure representing a texture mesh vertex.

    Parameters
    diff --git a/docs/html/structtvg_1_1Vertex__coll__graph.map b/docs/html/structtvg_1_1Vertex__coll__graph.map new file mode 100644 index 00000000..70640b39 --- /dev/null +++ b/docs/html/structtvg_1_1Vertex__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/structtvg_1_1Vertex__coll__graph.md5 b/docs/html/structtvg_1_1Vertex__coll__graph.md5 new file mode 100644 index 00000000..5700c27b --- /dev/null +++ b/docs/html/structtvg_1_1Vertex__coll__graph.md5 @@ -0,0 +1 @@ +56114fdc7caa1832eb9e606fd178649c \ No newline at end of file diff --git a/docs/html/structtvg_1_1Vertex__coll__graph.png b/docs/html/structtvg_1_1Vertex__coll__graph.png new file mode 100644 index 00000000..08e668e0 Binary files /dev/null and b/docs/html/structtvg_1_1Vertex__coll__graph.png differ diff --git a/docs/html/thorvg_8h_source.html b/docs/html/thorvg_8h_source.html index 66c81b9c..37a0d78f 100644 --- a/docs/html/thorvg_8h_source.html +++ b/docs/html/thorvg_8h_source.html @@ -27,7 +27,7 @@ Logo
    ThorVG -  v0.13 +  v0.14
    @@ -152,630 +152,637 @@ $(document).ready(function(){initNavTree('thorvg_8h_source.html',''); initResiza
    63 class RenderMethod;
    64 class Animation;
    65 
    -
    76 enum class Result
    -
    77 {
    -
    78  Success = 0,
    - - - - -
    83  NonSupport,
    -
    84  Unknown
    -
    85 };
    -
    86 
    -
    87 
    -
    94 enum class PathCommand
    -
    95 {
    -
    96  Close = 0,
    -
    97  MoveTo,
    -
    98  LineTo,
    -
    99  CubicTo
    -
    100 };
    -
    101 
    -
    102 
    -
    106 enum class StrokeCap
    -
    107 {
    -
    108  Square = 0,
    -
    109  Round,
    -
    110  Butt
    -
    111 };
    -
    112 
    -
    113 
    -
    117 enum class StrokeJoin
    -
    118 {
    -
    119  Bevel = 0,
    -
    120  Round,
    -
    121  Miter
    -
    122 };
    -
    123 
    -
    124 
    -
    128 enum class FillSpread
    -
    129 {
    -
    130  Pad = 0,
    -
    131  Reflect,
    -
    132  Repeat
    -
    133 };
    -
    134 
    -
    135 
    -
    139 enum class FillRule
    -
    140 {
    -
    141  Winding = 0,
    -
    142  EvenOdd
    -
    143 };
    -
    144 
    -
    145 
    -
    153 enum class CompositeMethod
    -
    154 {
    -
    155  None = 0,
    -
    156  ClipPath,
    -
    157  AlphaMask,
    -
    158  InvAlphaMask,
    -
    159  LumaMask,
    -
    160  InvLumaMask,
    -
    161  AddMask,
    -
    162  SubtractMask,
    -
    163  IntersectMask,
    - -
    165 };
    -
    166 
    -
    167 
    -
    177 enum class BlendMethod : uint8_t
    -
    178 {
    -
    179  Normal = 0,
    -
    180  Add,
    -
    181  Screen,
    -
    182  Multiply,
    -
    183  Overlay,
    -
    184  Difference,
    -
    185  Exclusion,
    -
    186  SrcOver,
    -
    187  Darken,
    -
    188  Lighten,
    -
    189  ColorDodge,
    -
    190  ColorBurn,
    -
    191  HardLight,
    -
    192  SoftLight
    -
    193 };
    -
    194 
    -
    195 
    -
    199 enum class CanvasEngine
    -
    200 {
    -
    201  Sw = (1 << 1),
    -
    202  Gl = (1 << 2),
    -
    203  Wg = (1 << 3),
    -
    204 };
    -
    205 
    -
    206 
    -
    210 struct Point
    -
    211 {
    -
    212  float x, y;
    -
    213 };
    -
    214 
    -
    215 
    -
    223 struct Matrix
    -
    224 {
    -
    225  float e11, e12, e13;
    -
    226  float e21, e22, e23;
    -
    227  float e31, e32, e33;
    -
    228 };
    -
    229 
    -
    230 
    -
    239 struct Vertex
    -
    240 {
    -
    241  Point pt;
    -
    242  Point uv;
    -
    243 };
    -
    244 
    -
    245 
    -
    253 struct Polygon
    -
    254 {
    -
    255  Vertex vertex[3];
    -
    256 };
    -
    257 
    -
    258 
    -
    268 class TVG_API Paint
    -
    269 {
    -
    270 public:
    -
    271  virtual ~Paint();
    -
    272 
    -
    283  Result rotate(float degree) noexcept;
    -
    284 
    +
    80 enum class Result
    +
    81 {
    +
    82  Success = 0,
    + + + + +
    87  NonSupport,
    +
    88  Unknown
    +
    89 };
    +
    90 
    +
    91 
    +
    98 enum class PathCommand
    +
    99 {
    +
    100  Close = 0,
    +
    101  MoveTo,
    +
    102  LineTo,
    +
    103  CubicTo
    +
    104 };
    +
    105 
    +
    106 
    +
    110 enum class StrokeCap
    +
    111 {
    +
    112  Square = 0,
    +
    113  Round,
    +
    114  Butt
    +
    115 };
    +
    116 
    +
    117 
    +
    121 enum class StrokeJoin
    +
    122 {
    +
    123  Bevel = 0,
    +
    124  Round,
    +
    125  Miter
    +
    126 };
    +
    127 
    +
    128 
    +
    132 enum class FillSpread
    +
    133 {
    +
    134  Pad = 0,
    +
    135  Reflect,
    +
    136  Repeat
    +
    137 };
    +
    138 
    +
    139 
    +
    143 enum class FillRule
    +
    144 {
    +
    145  Winding = 0,
    +
    146  EvenOdd
    +
    147 };
    +
    148 
    +
    149 
    +
    157 enum class CompositeMethod
    +
    158 {
    +
    159  None = 0,
    +
    160  ClipPath,
    +
    161  AlphaMask,
    +
    162  InvAlphaMask,
    +
    163  LumaMask,
    +
    164  InvLumaMask,
    +
    165  AddMask,
    +
    166  SubtractMask,
    +
    167  IntersectMask,
    + +
    169 };
    +
    170 
    +
    171 
    +
    181 enum class BlendMethod : uint8_t
    +
    182 {
    +
    183  Normal = 0,
    +
    184  Add,
    +
    185  Screen,
    +
    186  Multiply,
    +
    187  Overlay,
    +
    188  Difference,
    +
    189  Exclusion,
    +
    190  SrcOver,
    +
    191  Darken,
    +
    192  Lighten,
    +
    193  ColorDodge,
    +
    194  ColorBurn,
    +
    195  HardLight,
    +
    196  SoftLight
    +
    197 };
    +
    198 
    +
    199 
    +
    203 enum class CanvasEngine
    +
    204 {
    +
    205  Sw = (1 << 1),
    +
    206  Gl = (1 << 2),
    +
    207  Wg = (1 << 3),
    +
    208 };
    +
    209 
    +
    210 
    +
    214 struct Point
    +
    215 {
    +
    216  float x, y;
    +
    217 };
    +
    218 
    +
    219 
    +
    227 struct Matrix
    +
    228 {
    +
    229  float e11, e12, e13;
    +
    230  float e21, e22, e23;
    +
    231  float e31, e32, e33;
    +
    232 };
    +
    233 
    +
    234 
    +
    243 struct Vertex
    +
    244 {
    +
    245  Point pt;
    +
    246  Point uv;
    +
    247 };
    +
    248 
    +
    249 
    +
    257 struct Polygon
    +
    258 {
    +
    259  Vertex vertex[3];
    +
    260 };
    +
    261 
    +
    262 
    +
    272 class TVG_API Paint
    +
    273 {
    +
    274 public:
    +
    275  virtual ~Paint();
    +
    276 
    +
    285  Result rotate(float degree) noexcept;
    +
    286 
    292  Result scale(float factor) noexcept;
    293 
    -
    305  Result translate(float x, float y) noexcept;
    -
    306 
    -
    316  Result transform(const Matrix& m) noexcept;
    -
    317 
    -
    328  Matrix transform() noexcept;
    -
    329 
    -
    340  Result opacity(uint8_t o) noexcept;
    -
    341 
    -
    350  Result composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept;
    -
    351 
    -
    365  Result blend(BlendMethod method) const noexcept;
    -
    366 
    -
    381  TVG_DEPRECATED Result bounds(float* x, float* y, float* w, float* h) const noexcept;
    -
    382 
    -
    398  Result bounds(float* x, float* y, float* w, float* h, bool transformed) const noexcept;
    -
    399 
    -
    407  Paint* duplicate() const noexcept;
    -
    408 
    -
    414  uint8_t opacity() const noexcept;
    -
    415 
    -
    425  CompositeMethod composite(const Paint** target) const noexcept;
    -
    426 
    -
    434  BlendMethod blend() const noexcept;
    -
    435 
    -
    443  uint32_t identifier() const noexcept;
    -
    444 
    -
    445  _TVG_DECLARE_PRIVATE(Paint);
    -
    446 };
    -
    447 
    -
    448 
    -
    460 class TVG_API Fill
    -
    461 {
    -
    462 public:
    -
    466  struct ColorStop
    -
    467  {
    -
    468  float offset;
    -
    469  uint8_t r;
    -
    470  uint8_t g;
    -
    471  uint8_t b;
    -
    472  uint8_t a;
    -
    473  };
    -
    474 
    -
    475  virtual ~Fill();
    -
    476 
    -
    485  Result colorStops(const ColorStop* colorStops, uint32_t cnt) noexcept;
    +
    303  Result translate(float x, float y) noexcept;
    +
    304 
    +
    312  Result transform(const Matrix& m) noexcept;
    +
    313 
    +
    324  Matrix transform() noexcept;
    +
    325 
    +
    334  Result opacity(uint8_t o) noexcept;
    +
    335 
    +
    342  Result composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept;
    +
    343 
    +
    355  Result blend(BlendMethod method) const noexcept;
    +
    356 
    +
    360  TVG_DEPRECATED Result bounds(float* x, float* y, float* w, float* h) const noexcept;
    +
    361 
    +
    375  Result bounds(float* x, float* y, float* w, float* h, bool transformed) const noexcept;
    +
    376 
    +
    384  Paint* duplicate() const noexcept;
    +
    385 
    +
    391  uint8_t opacity() const noexcept;
    +
    392 
    +
    402  CompositeMethod composite(const Paint** target) const noexcept;
    +
    403 
    +
    411  BlendMethod blend() const noexcept;
    +
    412 
    +
    420  uint32_t identifier() const noexcept;
    +
    421 
    +
    422  _TVG_DECLARE_PRIVATE(Paint);
    +
    423 };
    +
    424 
    +
    425 
    +
    437 class TVG_API Fill
    +
    438 {
    +
    439 public:
    +
    443  struct ColorStop
    +
    444  {
    +
    445  float offset;
    +
    446  uint8_t r;
    +
    447  uint8_t g;
    +
    448  uint8_t b;
    +
    449  uint8_t a;
    +
    450  };
    +
    451 
    +
    452  virtual ~Fill();
    +
    453 
    +
    460  Result colorStops(const ColorStop* colorStops, uint32_t cnt) noexcept;
    +
    461 
    +
    467  Result spread(FillSpread s) noexcept;
    +
    468 
    +
    476  Result transform(const Matrix& m) noexcept;
    +
    477 
    +
    485  uint32_t colorStops(const ColorStop** colorStops) const noexcept;
    486 
    -
    494  Result spread(FillSpread s) noexcept;
    -
    495 
    -
    505  Result transform(const Matrix& m) noexcept;
    -
    506 
    -
    514  uint32_t colorStops(const ColorStop** colorStops) const noexcept;
    -
    515 
    -
    521  FillSpread spread() const noexcept;
    -
    522 
    -
    530  Matrix transform() const noexcept;
    -
    531 
    -
    539  Fill* duplicate() const noexcept;
    +
    492  FillSpread spread() const noexcept;
    +
    493 
    +
    501  Matrix transform() const noexcept;
    +
    502 
    +
    510  Fill* duplicate() const noexcept;
    +
    511 
    +
    519  uint32_t identifier() const noexcept;
    +
    520 
    +
    521  _TVG_DECLARE_PRIVATE(Fill);
    +
    522 };
    +
    523 
    +
    524 
    +
    535 class TVG_API Canvas
    +
    536 {
    +
    537 public:
    +
    538  Canvas(RenderMethod*);
    +
    539  virtual ~Canvas();
    540 
    -
    548  uint32_t identifier() const noexcept;
    -
    549 
    -
    550  _TVG_DECLARE_PRIVATE(Fill);
    -
    551 };
    -
    552 
    -
    553 
    -
    564 class TVG_API Canvas
    -
    565 {
    -
    566 public:
    -
    567  Canvas(RenderMethod*);
    -
    568  virtual ~Canvas();
    -
    569 
    -
    580  TVG_DEPRECATED Result reserve(uint32_t n) noexcept;
    -
    581 
    -
    592  std::list<Paint*>& paints() noexcept;
    -
    593 
    -
    610  virtual Result push(std::unique_ptr<Paint> paint) noexcept;
    -
    611 
    -
    626  virtual Result clear(bool free = true) noexcept;
    +
    541  TVG_DEPRECATED Result reserve(uint32_t n) noexcept;
    +
    542 
    +
    553  std::list<Paint*>& paints() noexcept;
    +
    554 
    +
    569  virtual Result push(std::unique_ptr<Paint> paint) noexcept;
    +
    570 
    +
    584  virtual Result clear(bool free = true) noexcept;
    +
    585 
    +
    596  virtual Result update(Paint* paint = nullptr) noexcept;
    +
    597 
    +
    604  virtual Result draw() noexcept;
    +
    605 
    +
    626  virtual Result viewport(int32_t x, int32_t y, int32_t w, int32_t h) noexcept;
    627 
    -
    640  virtual Result update(Paint* paint = nullptr) noexcept;
    +
    636  virtual Result sync() noexcept;
    +
    637 
    +
    638  _TVG_DECLARE_PRIVATE(Canvas);
    +
    639 };
    +
    640 
    641 
    -
    650  virtual Result draw() noexcept;
    -
    651 
    -
    661  virtual Result sync() noexcept;
    -
    662 
    -
    663  _TVG_DECLARE_PRIVATE(Canvas);
    -
    664 };
    -
    665 
    -
    666 
    -
    675 class TVG_API LinearGradient final : public Fill
    -
    676 {
    -
    677 public:
    -
    678  ~LinearGradient();
    -
    679 
    -
    696  Result linear(float x1, float y1, float x2, float y2) noexcept;
    -
    697 
    -
    712  Result linear(float* x1, float* y1, float* x2, float* y2) const noexcept;
    -
    713 
    -
    719  static std::unique_ptr<LinearGradient> gen() noexcept;
    -
    720 
    -
    728  static uint32_t identifier() noexcept;
    -
    729 
    -
    730  _TVG_DECLARE_PRIVATE(LinearGradient);
    -
    731 };
    -
    732 
    -
    733 
    -
    740 class TVG_API RadialGradient final : public Fill
    -
    741 {
    -
    742 public:
    -
    743  ~RadialGradient();
    -
    744 
    -
    756  Result radial(float cx, float cy, float radius) noexcept;
    -
    757 
    -
    769  Result radial(float* cx, float* cy, float* radius) const noexcept;
    -
    770 
    -
    776  static std::unique_ptr<RadialGradient> gen() noexcept;
    +
    650 class TVG_API LinearGradient final : public Fill
    +
    651 {
    +
    652 public:
    +
    653  ~LinearGradient();
    +
    654 
    +
    669  Result linear(float x1, float y1, float x2, float y2) noexcept;
    +
    670 
    +
    683  Result linear(float* x1, float* y1, float* x2, float* y2) const noexcept;
    +
    684 
    +
    690  static std::unique_ptr<LinearGradient> gen() noexcept;
    +
    691 
    +
    699  static uint32_t identifier() noexcept;
    +
    700 
    +
    701  _TVG_DECLARE_PRIVATE(LinearGradient);
    +
    702 };
    +
    703 
    +
    704 
    +
    711 class TVG_API RadialGradient final : public Fill
    +
    712 {
    +
    713 public:
    +
    714  ~RadialGradient();
    +
    715 
    +
    727  Result radial(float cx, float cy, float radius) noexcept;
    +
    728 
    +
    739  Result radial(float* cx, float* cy, float* radius) const noexcept;
    +
    740 
    +
    746  static std::unique_ptr<RadialGradient> gen() noexcept;
    +
    747 
    +
    755  static uint32_t identifier() noexcept;
    +
    756 
    +
    757  _TVG_DECLARE_PRIVATE(RadialGradient);
    +
    758 };
    +
    759 
    +
    760 
    +
    773 class TVG_API Shape final : public Paint
    +
    774 {
    +
    775 public:
    +
    776  ~Shape();
    777 
    -
    785  static uint32_t identifier() noexcept;
    +
    785  Result reset() noexcept;
    786 
    -
    787  _TVG_DECLARE_PRIVATE(RadialGradient);
    -
    788 };
    -
    789 
    -
    790 
    -
    803 class TVG_API Shape final : public Paint
    -
    804 {
    -
    805 public:
    -
    806  ~Shape();
    -
    807 
    -
    817  Result reset() noexcept;
    -
    818 
    -
    829  Result moveTo(float x, float y) noexcept;
    -
    830 
    -
    843  Result lineTo(float x, float y) noexcept;
    -
    844 
    -
    862  Result cubicTo(float cx1, float cy1, float cx2, float cy2, float x, float y) noexcept;
    -
    863 
    -
    873  Result close() noexcept;
    -
    874 
    -
    899  Result appendRect(float x, float y, float w, float h, float rx = 0, float ry = 0) noexcept;
    -
    900 
    -
    917  Result appendCircle(float cx, float cy, float rx, float ry) noexcept;
    -
    918 
    -
    936  Result appendArc(float cx, float cy, float radius, float startAngle, float sweep, bool pie) noexcept;
    -
    937 
    -
    954  Result appendPath(const PathCommand* cmds, uint32_t cmdCnt, const Point* pts, uint32_t ptsCnt) noexcept;
    -
    955 
    -
    963  Result stroke(float width) noexcept;
    -
    964 
    -
    975  Result stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
    -
    976 
    -
    986  Result stroke(std::unique_ptr<Fill> f) noexcept;
    -
    987 
    -
    1001  Result stroke(const float* dashPattern, uint32_t cnt) noexcept;
    -
    1002 
    -
    1010  Result stroke(StrokeCap cap) noexcept;
    -
    1011 
    -
    1021  Result stroke(StrokeJoin join) noexcept;
    -
    1022 
    -
    1023 
    -
    1033  Result strokeMiterlimit(float miterlimit) noexcept;
    +
    795  Result moveTo(float x, float y) noexcept;
    +
    796 
    +
    807  Result lineTo(float x, float y) noexcept;
    +
    808 
    +
    824  Result cubicTo(float cx1, float cy1, float cx2, float cy2, float x, float y) noexcept;
    +
    825 
    +
    833  Result close() noexcept;
    +
    834 
    +
    857  Result appendRect(float x, float y, float w, float h, float rx = 0, float ry = 0) noexcept;
    +
    858 
    +
    874  Result appendCircle(float cx, float cy, float rx, float ry) noexcept;
    +
    875 
    +
    891  Result appendArc(float cx, float cy, float radius, float startAngle, float sweep, bool pie) noexcept;
    +
    892 
    +
    907  Result appendPath(const PathCommand* cmds, uint32_t cmdCnt, const Point* pts, uint32_t ptsCnt) noexcept;
    +
    908 
    +
    915  Result stroke(float width) noexcept;
    +
    916 
    +
    926  Result stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
    +
    927 
    +
    935  Result stroke(std::unique_ptr<Fill> f) noexcept;
    +
    936 
    +
    948  Result stroke(const float* dashPattern, uint32_t cnt) noexcept;
    +
    949 
    +
    956  Result stroke(StrokeCap cap) noexcept;
    +
    957 
    +
    966  Result stroke(StrokeJoin join) noexcept;
    +
    967 
    +
    977  Result strokeMiterlimit(float miterlimit) noexcept;
    +
    978 
    +
    991  Result strokeTrim(float begin, float end, bool simultaneous = true) noexcept;
    +
    992 
    +
    1006  Result fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
    +
    1007 
    +
    1017  Result fill(std::unique_ptr<Fill> f) noexcept;
    +
    1018 
    +
    1024  Result fill(FillRule r) noexcept;
    +
    1025 
    +
    1033  Result order(bool strokeFirst) noexcept;
    1034 
    -
    1050  Result fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
    -
    1051 
    -
    1063  Result fill(std::unique_ptr<Fill> f) noexcept;
    -
    1064 
    -
    1072  Result fill(FillRule r) noexcept;
    -
    1073 
    -
    1074 
    -
    1084  Result order(bool strokeFirst) noexcept;
    +
    1042  uint32_t pathCommands(const PathCommand** cmds) const noexcept;
    +
    1043 
    +
    1051  uint32_t pathCoords(const Point** pts) const noexcept;
    +
    1052 
    +
    1058  const Fill* fill() const noexcept;
    +
    1059 
    +
    1070  Result fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a = nullptr) const noexcept;
    +
    1071 
    +
    1077  FillRule fillRule() const noexcept;
    +
    1078 
    +
    1084  float strokeWidth() const noexcept;
    1085 
    -
    1086 
    -
    1094  uint32_t pathCommands(const PathCommand** cmds) const noexcept;
    -
    1095 
    -
    1103  uint32_t pathCoords(const Point** pts) const noexcept;
    -
    1104 
    -
    1110  const Fill* fill() const noexcept;
    -
    1111 
    -
    1122  Result fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a = nullptr) const noexcept;
    -
    1123 
    -
    1129  FillRule fillRule() const noexcept;
    -
    1130 
    -
    1136  float strokeWidth() const noexcept;
    -
    1137 
    -
    1148  Result strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a = nullptr) const noexcept;
    -
    1149 
    -
    1155  const Fill* strokeFill() const noexcept;
    -
    1156 
    -
    1164  uint32_t strokeDash(const float** dashPattern) const noexcept;
    -
    1165 
    -
    1171  StrokeCap strokeCap() const noexcept;
    -
    1172 
    -
    1178  StrokeJoin strokeJoin() const noexcept;
    -
    1179 
    -
    1187  float strokeMiterlimit() const noexcept;
    -
    1188 
    -
    1194  static std::unique_ptr<Shape> gen() noexcept;
    -
    1195 
    -
    1203  static uint32_t identifier() noexcept;
    -
    1204 
    -
    1205  _TVG_DECLARE_PRIVATE(Shape);
    -
    1206 };
    -
    1207 
    -
    1208 
    -
    1218 class TVG_API Picture final : public Paint
    -
    1219 {
    -
    1220 public:
    -
    1221  ~Picture();
    -
    1222 
    -
    1240  Result load(const std::string& path) noexcept;
    -
    1241 
    -
    1262  TVG_DEPRECATED Result load(const char* data, uint32_t size, bool copy = false) noexcept;
    +
    1095  Result strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a = nullptr) const noexcept;
    +
    1096 
    +
    1102  const Fill* strokeFill() const noexcept;
    +
    1103 
    +
    1111  uint32_t strokeDash(const float** dashPattern) const noexcept;
    +
    1112 
    +
    1118  StrokeCap strokeCap() const noexcept;
    +
    1119 
    +
    1125  StrokeJoin strokeJoin() const noexcept;
    +
    1126 
    +
    1134  float strokeMiterlimit() const noexcept;
    +
    1135 
    +
    1146  bool strokeTrim(float* begin, float* end) const noexcept;
    +
    1147 
    +
    1153  static std::unique_ptr<Shape> gen() noexcept;
    +
    1154 
    +
    1162  static uint32_t identifier() noexcept;
    +
    1163 
    +
    1164  _TVG_DECLARE_PRIVATE(Shape);
    +
    1165 };
    +
    1166 
    +
    1167 
    +
    1177 class TVG_API Picture final : public Paint
    +
    1178 {
    +
    1179 public:
    +
    1180  ~Picture();
    +
    1181 
    +
    1197  Result load(const std::string& path) noexcept;
    +
    1198 
    +
    1202  TVG_DEPRECATED Result load(const char* data, uint32_t size, bool copy = false) noexcept;
    +
    1203 
    +
    1224  Result load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false) noexcept;
    +
    1225 
    +
    1236  Result size(float w, float h) noexcept;
    +
    1237 
    +
    1245  Result size(float* w, float* h) const noexcept;
    +
    1246 
    +
    1262  Result load(uint32_t* data, uint32_t w, uint32_t h, bool copy) noexcept;
    1263 
    -
    1282  Result load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false) noexcept;
    -
    1283 
    -
    1295  Result size(float w, float h) noexcept;
    -
    1296 
    -
    1305  Result size(float* w, float* h) const noexcept;
    -
    1306 
    -
    1326  Result load(uint32_t* data, uint32_t w, uint32_t h, bool copy) noexcept;
    -
    1327 
    -
    1350  Result mesh(const Polygon* triangles, uint32_t triangleCnt) noexcept;
    +
    1283  Result mesh(const Polygon* triangles, uint32_t triangleCnt) noexcept;
    +
    1284 
    +
    1297  uint32_t mesh(const Polygon** triangles) const noexcept;
    +
    1298 
    +
    1304  static std::unique_ptr<Picture> gen() noexcept;
    +
    1305 
    +
    1313  static uint32_t identifier() noexcept;
    +
    1314 
    +
    1315  _TVG_DECLARE_ACCESSOR(Animation);
    +
    1316  _TVG_DECLARE_PRIVATE(Picture);
    +
    1317 };
    +
    1318 
    +
    1319 
    +
    1331 class TVG_API Scene final : public Paint
    +
    1332 {
    +
    1333 public:
    +
    1334  ~Scene();
    +
    1335 
    +
    1348  Result push(std::unique_ptr<Paint> paint) noexcept;
    +
    1349 
    +
    1350  TVG_DEPRECATED Result reserve(uint32_t size) noexcept;
    1351 
    -
    1364  uint32_t mesh(const Polygon** triangles) const noexcept;
    +
    1364  std::list<Paint*>& paints() noexcept;
    1365 
    -
    1371  static std::unique_ptr<Picture> gen() noexcept;
    -
    1372 
    -
    1380  static uint32_t identifier() noexcept;
    -
    1381 
    -
    1382  _TVG_DECLARE_ACCESSOR(Animation);
    -
    1383  _TVG_DECLARE_PRIVATE(Picture);
    -
    1384 };
    -
    1385 
    -
    1386 
    -
    1398 class TVG_API Scene final : public Paint
    -
    1399 {
    -
    1400 public:
    -
    1401  ~Scene();
    -
    1402 
    -
    1417  Result push(std::unique_ptr<Paint> paint) noexcept;
    -
    1418 
    -
    1429  TVG_DEPRECATED Result reserve(uint32_t size) noexcept;
    -
    1430 
    -
    1443  std::list<Paint*>& paints() noexcept;
    -
    1444 
    -
    1457  Result clear(bool free = true) noexcept;
    -
    1458 
    -
    1464  static std::unique_ptr<Scene> gen() noexcept;
    -
    1465 
    -
    1473  static uint32_t identifier() noexcept;
    -
    1474 
    -
    1475  _TVG_DECLARE_PRIVATE(Scene);
    -
    1476 };
    -
    1477 
    -
    1478 
    -
    1486 class TVG_API Text final : public Paint
    -
    1487 {
    -
    1488 public:
    -
    1489  ~Text();
    -
    1490 
    -
    1507  Result font(const char* name, float size, const char* style = nullptr) noexcept;
    -
    1508 
    -
    1521  Result text(const char* text) noexcept;
    -
    1522 
    -
    1537  Result fill(uint8_t r, uint8_t g, uint8_t b) noexcept;
    -
    1538 
    -
    1554  Result fill(std::unique_ptr<Fill> f) noexcept;
    -
    1555 
    -
    1574  static Result load(const std::string& path) noexcept;
    -
    1575 
    -
    1591  static Result unload(const std::string& path) noexcept;
    -
    1592 
    -
    1600  static std::unique_ptr<Text> gen() noexcept;
    -
    1601 
    -
    1609  static uint32_t identifier() noexcept;
    -
    1610 
    -
    1611  _TVG_DECLARE_PRIVATE(Text);
    -
    1612 };
    -
    1613 
    -
    1614 
    -
    1620 class TVG_API SwCanvas final : public Canvas
    -
    1621 {
    -
    1622 public:
    -
    1623  ~SwCanvas();
    -
    1624 
    - -
    1629  {
    -
    1630  ABGR8888 = 0,
    - - - -
    1634  };
    -
    1635 
    - -
    1641  {
    -
    1642  Default = 0,
    - -
    1644  Individual
    -
    1645  };
    -
    1646 
    -
    1665  Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept;
    -
    1666 
    -
    1690  Result mempool(MempoolPolicy policy) noexcept;
    -
    1691 
    -
    1696  static std::unique_ptr<SwCanvas> gen() noexcept;
    -
    1697 
    -
    1698  _TVG_DECLARE_PRIVATE(SwCanvas);
    -
    1699 };
    -
    1700 
    -
    1701 
    -
    1711 class TVG_API GlCanvas final : public Canvas
    -
    1712 {
    -
    1713 public:
    -
    1714  ~GlCanvas();
    -
    1715 
    -
    1732  Result target(int32_t id, uint32_t w, uint32_t h) noexcept;
    +
    1376  Result clear(bool free = true) noexcept;
    +
    1377 
    +
    1383  static std::unique_ptr<Scene> gen() noexcept;
    +
    1384 
    +
    1392  static uint32_t identifier() noexcept;
    +
    1393 
    +
    1394  _TVG_DECLARE_PRIVATE(Scene);
    +
    1395 };
    +
    1396 
    +
    1397 
    +
    1405 class TVG_API Text final : public Paint
    +
    1406 {
    +
    1407 public:
    +
    1408  ~Text();
    +
    1409 
    +
    1425  Result font(const char* name, float size, const char* style = nullptr) noexcept;
    +
    1426 
    +
    1437  Result text(const char* text) noexcept;
    +
    1438 
    +
    1452  Result fill(uint8_t r, uint8_t g, uint8_t b) noexcept;
    +
    1453 
    +
    1468  Result fill(std::unique_ptr<Fill> f) noexcept;
    +
    1469 
    +
    1486  static Result load(const std::string& path) noexcept;
    +
    1487 
    +
    1513  static Result load(const char* name, const char* data, uint32_t size, const std::string& mimeType = "ttf", bool copy = false) noexcept;
    +
    1514 
    +
    1529  static Result unload(const std::string& path) noexcept;
    +
    1530 
    +
    1538  static std::unique_ptr<Text> gen() noexcept;
    +
    1539 
    +
    1547  static uint32_t identifier() noexcept;
    +
    1548 
    +
    1549  _TVG_DECLARE_PRIVATE(Text);
    +
    1550 };
    +
    1551 
    +
    1552 
    +
    1558 class TVG_API SwCanvas final : public Canvas
    +
    1559 {
    +
    1560 public:
    +
    1561  ~SwCanvas();
    +
    1562 
    + +
    1567  {
    +
    1568  ABGR8888 = 0,
    + + + +
    1572  };
    +
    1573 
    + +
    1579  {
    +
    1580  Default = 0,
    + +
    1582  Individual
    +
    1583  };
    +
    1584 
    +
    1605  Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept;
    +
    1606 
    +
    1629  Result mempool(MempoolPolicy policy) noexcept;
    +
    1630 
    +
    1635  static std::unique_ptr<SwCanvas> gen() noexcept;
    +
    1636 
    +
    1637  _TVG_DECLARE_PRIVATE(SwCanvas);
    +
    1638 };
    +
    1639 
    +
    1640 
    +
    1650 class TVG_API GlCanvas final : public Canvas
    +
    1651 {
    +
    1652 public:
    +
    1653  ~GlCanvas();
    +
    1654 
    +
    1674  Result target(int32_t id, uint32_t w, uint32_t h) noexcept;
    +
    1675 
    +
    1683  static std::unique_ptr<GlCanvas> gen() noexcept;
    +
    1684 
    +
    1685  _TVG_DECLARE_PRIVATE(GlCanvas);
    +
    1686 };
    +
    1687 
    +
    1688 
    +
    1698 class TVG_API WgCanvas final : public Canvas
    +
    1699 {
    +
    1700 public:
    +
    1701  ~WgCanvas();
    +
    1702 
    +
    1719  Result target(void* instance, void* surface, uint32_t w, uint32_t h) noexcept;
    +
    1720 
    +
    1728  static std::unique_ptr<WgCanvas> gen() noexcept;
    +
    1729 
    +
    1730  _TVG_DECLARE_PRIVATE(WgCanvas);
    +
    1731 };
    +
    1732 
    1733 
    -
    1741  static std::unique_ptr<GlCanvas> gen() noexcept;
    -
    1742 
    -
    1743  _TVG_DECLARE_PRIVATE(GlCanvas);
    -
    1744 };
    -
    1745 
    -
    1746 
    -
    1756 class TVG_API WgCanvas final : public Canvas
    -
    1757 {
    -
    1758 public:
    -
    1759  ~WgCanvas();
    -
    1760 
    -
    1768  Result target(void* window, uint32_t w, uint32_t h) noexcept;
    -
    1769 
    -
    1777  static std::unique_ptr<WgCanvas> gen() noexcept;
    -
    1778 
    -
    1779  _TVG_DECLARE_PRIVATE(WgCanvas);
    -
    1780 };
    -
    1781 
    -
    1782 
    -
    1788 class TVG_API Initializer final
    -
    1789 {
    -
    1790 public:
    -
    1811  static Result init(CanvasEngine engine, uint32_t threads) noexcept;
    -
    1812 
    -
    1827  static Result term(CanvasEngine engine) noexcept;
    -
    1828 
    -
    1829  _TVG_DISABLE_CTOR(Initializer);
    -
    1830 };
    -
    1831 
    -
    1832 
    -
    1842 class TVG_API Animation
    -
    1843 {
    -
    1844 public:
    -
    1845  ~Animation();
    +
    1739 class TVG_API Initializer final
    +
    1740 {
    +
    1741 public:
    +
    1758  static Result init(CanvasEngine engine, uint32_t threads) noexcept;
    +
    1759 
    +
    1771  static Result term(CanvasEngine engine) noexcept;
    +
    1772 
    +
    1773  _TVG_DISABLE_CTOR(Initializer);
    +
    1774 };
    +
    1775 
    +
    1776 
    +
    1787 class TVG_API Animation
    +
    1788 {
    +
    1789 public:
    +
    1790  ~Animation();
    +
    1791 
    +
    1807  Result frame(float no) noexcept;
    +
    1808 
    +
    1821  Picture* picture() const noexcept;
    +
    1822 
    +
    1834  float curFrame() const noexcept;
    +
    1835 
    +
    1845  float totalFrame() const noexcept;
    1846 
    -
    1859  Result frame(float no) noexcept;
    -
    1860 
    -
    1873  Picture* picture() const noexcept;
    -
    1874 
    -
    1886  float curFrame() const noexcept;
    -
    1887 
    -
    1897  float totalFrame() const noexcept;
    +
    1855  float duration() const noexcept;
    +
    1856 
    +
    1876  Result segment(float begin, float end) noexcept;
    +
    1877 
    +
    1889  Result segment(float* begin, float* end = nullptr) noexcept;
    +
    1890 
    +
    1897  static std::unique_ptr<Animation> gen() noexcept;
    1898 
    -
    1907  float duration() const noexcept;
    -
    1908 
    -
    1915  static std::unique_ptr<Animation> gen() noexcept;
    -
    1916 
    -
    1917  _TVG_DECLARE_PRIVATE(Animation);
    -
    1918 };
    -
    1919 
    -
    1920 
    -
    1938 class TVG_API Saver final
    -
    1939 {
    -
    1940 public:
    -
    1941  ~Saver();
    -
    1942 
    -
    1950  Result background(std::unique_ptr<Paint> paint) noexcept;
    -
    1951 
    -
    1974  Result save(std::unique_ptr<Paint> paint, const std::string& path, bool compress = true) noexcept;
    -
    1975 
    -
    1999  Result save(std::unique_ptr<Animation> animation, const std::string& path, uint32_t quality = 100, uint32_t fps = 0) noexcept;
    -
    2000 
    -
    2016  Result sync() noexcept;
    -
    2017 
    -
    2025  static std::unique_ptr<Saver> gen() noexcept;
    -
    2026 
    -
    2027  _TVG_DECLARE_PRIVATE(Saver);
    -
    2028 };
    -
    2029 
    -
    2030 
    -
    2042 class TVG_API Accessor final
    -
    2043 {
    -
    2044 public:
    -
    2045  ~Accessor();
    -
    2046 
    -
    2057  std::unique_ptr<Picture> set(std::unique_ptr<Picture> picture, std::function<bool(const Paint* paint)> func) noexcept;
    -
    2058 
    -
    2064  static std::unique_ptr<Accessor> gen() noexcept;
    +
    1899  _TVG_DECLARE_PRIVATE(Animation);
    +
    1900 };
    +
    1901 
    +
    1902 
    +
    1920 class TVG_API Saver final
    +
    1921 {
    +
    1922 public:
    +
    1923  ~Saver();
    +
    1924 
    +
    1932  Result background(std::unique_ptr<Paint> paint) noexcept;
    +
    1933 
    +
    1954  Result save(std::unique_ptr<Paint> paint, const std::string& path, bool compress = true) noexcept;
    +
    1955 
    +
    1977  Result save(std::unique_ptr<Animation> animation, const std::string& path, uint32_t quality = 100, uint32_t fps = 0) noexcept;
    +
    1978 
    +
    1991  Result sync() noexcept;
    +
    1992 
    +
    2000  static std::unique_ptr<Saver> gen() noexcept;
    +
    2001 
    +
    2002  _TVG_DECLARE_PRIVATE(Saver);
    +
    2003 };
    +
    2004 
    +
    2005 
    +
    2017 class TVG_API Accessor final
    +
    2018 {
    +
    2019 public:
    +
    2020  ~Accessor();
    +
    2021 
    +
    2032  std::unique_ptr<Picture> set(std::unique_ptr<Picture> picture, std::function<bool(const Paint* paint)> func) noexcept;
    +
    2033 
    +
    2039  static std::unique_ptr<Accessor> gen() noexcept;
    +
    2040 
    +
    2041  _TVG_DECLARE_PRIVATE(Accessor);
    +
    2042 };
    +
    2043 
    +
    2044 
    +
    2049 template<typename T = tvg::Paint>
    +
    2050 std::unique_ptr<T> cast(Paint* paint)
    +
    2051 {
    +
    2052  return std::unique_ptr<T>(static_cast<T*>(paint));
    +
    2053 }
    +
    2054 
    +
    2055 
    +
    2060 template<typename T = tvg::Fill>
    +
    2061 std::unique_ptr<T> cast(Fill* fill)
    +
    2062 {
    +
    2063  return std::unique_ptr<T>(static_cast<T*>(fill));
    +
    2064 }
    2065 
    -
    2066  _TVG_DECLARE_PRIVATE(Accessor);
    -
    2067 };
    -
    2068 
    -
    2069 
    -
    2074 template<typename T = tvg::Paint>
    -
    2075 std::unique_ptr<T> cast(Paint* paint)
    -
    2076 {
    -
    2077  return std::unique_ptr<T>(static_cast<T*>(paint));
    -
    2078 }
    -
    2079 
    -
    2080 
    -
    2085 template<typename T = tvg::Fill>
    -
    2086 std::unique_ptr<T> cast(Fill* fill)
    -
    2087 {
    -
    2088  return std::unique_ptr<T>(static_cast<T*>(fill));
    -
    2089 }
    -
    2090 
    -
    2091 
    -
    2094 } //namespace
    -
    2095 
    -
    2096 #endif //_THORVG_H_
    -
    The Accessor is a utility class to debug the Scene structure by traversing the scene-tree.
    Definition: thorvg.h:2043
    +
    2066 
    +
    2069 } //namespace
    +
    2070 
    +
    2071 #endif //_THORVG_H_
    +
    The Accessor is a utility class to debug the Scene structure by traversing the scene-tree.
    Definition: thorvg.h:2018
    std::unique_ptr< Picture > set(std::unique_ptr< Picture > picture, std::function< bool(const Paint *paint)> func) noexcept
    Set the access function for traversing the Picture scene tree nodes.
    static std::unique_ptr< Accessor > gen() noexcept
    Creates a new Accessor object.
    -
    The Animation class enables manipulation of animatable images.
    Definition: thorvg.h:1843
    +
    The Animation class enables manipulation of animatable images.
    Definition: thorvg.h:1788
    Picture * picture() const noexcept
    Retrieves a picture instance associated with this animation instance.
    Result frame(float no) noexcept
    Specifies the current frame in the animation.
    -
    An abstract class for drawing graphical elements.
    Definition: thorvg.h:565
    -
    TVG_DEPRECATED Result reserve(uint32_t n) noexcept
    Sets the size of the container, where all the paints pushed into the Canvas are stored.
    +
    An abstract class for drawing graphical elements.
    Definition: thorvg.h:536
    std::list< Paint * > & paints() noexcept
    Returns the list of the paints that currently held by the Canvas.
    -
    An abstract class representing the gradient fill of the Shape object.
    Definition: thorvg.h:461
    +
    An abstract class representing the gradient fill of the Shape object.
    Definition: thorvg.h:438
    FillSpread spread() const noexcept
    Gets the FillSpread value of the fill.
    Result colorStops(const ColorStop *colorStops, uint32_t cnt) noexcept
    Sets the parameters of the colors of the gradient and their position.
    Result transform(const Matrix &m) noexcept
    Sets the matrix of the affine transformation for the gradient fill.
    uint32_t colorStops(const ColorStop **colorStops) const noexcept
    Gets the parameters of the colors of the gradient, their position and number.
    Result spread(FillSpread s) noexcept
    Sets the FillSpread value, which specifies how to fill the area outside the gradient bounds.
    -
    A class for the rendering graphic elements with a GL raster engine.
    Definition: thorvg.h:1712
    +
    A class for the rendering graphic elements with a GL raster engine.
    Definition: thorvg.h:1651
    Result target(int32_t id, uint32_t w, uint32_t h) noexcept
    Sets the drawing target for rasterization.
    static std::unique_ptr< GlCanvas > gen() noexcept
    Creates a new GlCanvas object.
    -
    A class that enables initialization and termination of the TVG engines.
    Definition: thorvg.h:1789
    +
    A class that enables initialization and termination of the TVG engines.
    Definition: thorvg.h:1740
    static Result term(CanvasEngine engine) noexcept
    Terminates TVG engines.
    static Result init(CanvasEngine engine, uint32_t threads) noexcept
    Initializes TVG engines.
    -
    A class representing the linear gradient fill of the Shape object.
    Definition: thorvg.h:676
    +
    A class representing the linear gradient fill of the Shape object.
    Definition: thorvg.h:651
    static std::unique_ptr< LinearGradient > gen() noexcept
    Creates a new LinearGradient object.
    Result linear(float *x1, float *y1, float *x2, float *y2) const noexcept
    Gets the linear gradient bounds.
    Result linear(float x1, float y1, float x2, float y2) noexcept
    Sets the linear gradient bounds.
    -
    An abstract class for managing graphical elements.
    Definition: thorvg.h:269
    +
    An abstract class for managing graphical elements.
    Definition: thorvg.h:273
    Result scale(float factor) noexcept
    Sets the scale value of the object.
    Result rotate(float degree) noexcept
    Sets the angle by which the object is rotated.
    Result transform(const Matrix &m) noexcept
    Sets the matrix of the affine transformation for the object.
    Matrix transform() noexcept
    Gets the matrix of the affine transformation of the object.
    Result translate(float x, float y) noexcept
    Sets the values by which the object is moved in a two-dimensional space.
    -
    A class representing an image read in one of the supported formats: raw, svg, png,...
    Definition: thorvg.h:1219
    -
    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.
    +
    A class representing an image read in one of the supported formats: raw, svg, png,...
    Definition: thorvg.h:1178
    +
    TVG_DEPRECATED Result load(const char *data, uint32_t size, bool copy=false) noexcept
    Result load(const std::string &path) noexcept
    Loads a picture data directly from a file.
    -
    A class representing the radial gradient fill of the Shape object.
    Definition: thorvg.h:741
    +
    A class representing the radial gradient fill of the Shape object.
    Definition: thorvg.h:712
    Result radial(float cx, float cy, float radius) noexcept
    Sets the radial gradient bounds.
    Result radial(float *cx, float *cy, float *radius) const noexcept
    Gets the radial gradient bounds.
    static std::unique_ptr< RadialGradient > gen() noexcept
    Creates a new RadialGradient object.
    -
    A class for exporting a paint object into a specified file, from which to recover the paint data late...
    Definition: thorvg.h:1939
    +
    A class for exporting a paint object into a specified file, from which to recover the paint data late...
    Definition: thorvg.h:1921
    Result background(std::unique_ptr< Paint > paint) noexcept
    Sets the base background content for the saved image.
    Result save(std::unique_ptr< Paint > paint, const std::string &path, bool compress=true) noexcept
    Exports the given paint data to the given path.
    -
    A class to composite children paints.
    Definition: thorvg.h:1399
    +
    A class to composite children paints.
    Definition: thorvg.h:1332
    Result push(std::unique_ptr< Paint > paint) noexcept
    Passes drawing elements to the Scene using Paint objects.
    -
    TVG_DEPRECATED Result reserve(uint32_t size) noexcept
    Sets the size of the container, where all the paints pushed into the Scene are stored.
    std::list< Paint * > & paints() noexcept
    Returns the list of the paints that currently held by the Scene.
    -
    A class representing two-dimensional figures and their properties.
    Definition: thorvg.h:804
    +
    A class representing two-dimensional figures and their properties.
    Definition: thorvg.h:774
    Result reset() noexcept
    Resets the properties of the shape path.
    -
    A class for the rendering graphical elements with a software raster engine.
    Definition: thorvg.h:1621
    +
    A class for the rendering graphical elements with a software raster engine.
    Definition: thorvg.h:1559
    Result target(uint32_t *buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept
    Sets the drawing target for the rasterization.
    Result mempool(MempoolPolicy policy) noexcept
    Set sw engine memory pool behavior policy.
    -
    Colorspace
    Enumeration specifying the methods of combining the 8-bit color channels into 32-bit color.
    Definition: thorvg.h:1629
    -
    @ ARGB8888S
    The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied.
    Definition: thorvg.h:1633
    -
    @ ABGR8888S
    The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied.
    Definition: thorvg.h:1632
    -
    @ ARGB8888
    The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied....
    Definition: thorvg.h:1631
    -
    MempoolPolicy
    Enumeration specifying the methods of Memory Pool behavior policy.
    Definition: thorvg.h:1641
    -
    @ Shareable
    Memory Pool is shared among the SwCanvases.
    Definition: thorvg.h:1643
    +
    Colorspace
    Enumeration specifying the methods of combining the 8-bit color channels into 32-bit color.
    Definition: thorvg.h:1567
    +
    @ ARGB8888S
    The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premultiplied.
    Definition: thorvg.h:1571
    +
    @ ABGR8888S
    The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premultiplied.
    Definition: thorvg.h:1570
    +
    @ ARGB8888
    The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied....
    Definition: thorvg.h:1569
    +
    MempoolPolicy
    Enumeration specifying the methods of Memory Pool behavior policy.
    Definition: thorvg.h:1579
    +
    @ Shareable
    Memory Pool is shared among the SwCanvases.
    Definition: thorvg.h:1581
    static std::unique_ptr< SwCanvas > gen() noexcept
    Creates a new SwCanvas object.
    -
    A class to represent text objects in a graphical context, allowing for rendering and manipulation of ...
    Definition: thorvg.h:1487
    +
    A class to represent text objects in a graphical context, allowing for rendering and manipulation of ...
    Definition: thorvg.h:1406
    Result font(const char *name, float size, const char *style=nullptr) noexcept
    Sets the font properties for the text.
    -
    A class for the rendering graphic elements with a WebGPU raster engine.
    Definition: thorvg.h:1757
    -
    Result target(void *window, uint32_t w, uint32_t h) noexcept
    Sets the target window for the rasterization.
    +
    A class for the rendering graphic elements with a WebGPU raster engine.
    Definition: thorvg.h:1699
    +
    Result target(void *instance, void *surface, uint32_t w, uint32_t h) noexcept
    Sets the drawing target for the rasterization.
    static std::unique_ptr< WgCanvas > gen() noexcept
    Creates a new WgCanvas object.
    -
    FillSpread
    Enumeration specifying how to fill the area outside the gradient bounds.
    Definition: thorvg.h:129
    -
    std::unique_ptr< T > cast(Fill *fill)
    The cast() function is a utility function used to cast a 'Fill' to type 'T'.
    Definition: thorvg.h:2086
    -
    Result
    Enumeration specifying the result from the APIs.
    Definition: thorvg.h:77
    -
    CanvasEngine
    Enumeration specifying the engine type used for the graphics backend. For multiple backends bitwise o...
    Definition: thorvg.h:200
    -
    BlendMethod
    Enumeration indicates the method used for blending paint. Please refer to the respective formulas for...
    Definition: thorvg.h:178
    -
    StrokeCap
    Enumeration determining the ending type of a stroke in the open sub-paths.
    Definition: thorvg.h:107
    -
    PathCommand
    Enumeration specifying the values of the path commands accepted by TVG.
    Definition: thorvg.h:95
    -
    FillRule
    Enumeration specifying the algorithm used to establish which parts of the shape are treated as the in...
    Definition: thorvg.h:140
    -
    CompositeMethod
    Enumeration indicating the method used in the composition of two objects - the target and the source.
    Definition: thorvg.h:154
    -
    StrokeJoin
    Enumeration determining the style used at the corners of joined stroked path segments.
    Definition: thorvg.h:118
    +
    FillSpread
    Enumeration specifying how to fill the area outside the gradient bounds.
    Definition: thorvg.h:133
    +
    std::unique_ptr< T > cast(Fill *fill)
    The cast() function is a utility function used to cast a 'Fill' to type 'T'.
    Definition: thorvg.h:2061
    +
    Result
    Enumeration specifying the result from the APIs.
    Definition: thorvg.h:81
    +
    CanvasEngine
    Enumeration specifying the engine type used for the graphics backend. For multiple backends bitwise o...
    Definition: thorvg.h:204
    +
    BlendMethod
    Enumeration indicates the method used for blending paint. Please refer to the respective formulas for...
    Definition: thorvg.h:182
    +
    StrokeCap
    Enumeration determining the ending type of a stroke in the open sub-paths.
    Definition: thorvg.h:111
    +
    PathCommand
    Enumeration specifying the values of the path commands accepted by TVG.
    Definition: thorvg.h:99
    +
    FillRule
    Enumeration specifying the algorithm used to establish which parts of the shape are treated as the in...
    Definition: thorvg.h:144
    +
    CompositeMethod
    Enumeration indicating the method used in the composition of two objects - the target and the source.
    Definition: thorvg.h:158
    +
    StrokeJoin
    Enumeration determining the style used at the corners of joined stroked path segments.
    Definition: thorvg.h:122
    @ Repeat
    The gradient pattern is repeated continuously beyond the gradient area until the expected region is f...
    @ Reflect
    The gradient pattern is reflected outside the gradient area until the expected region is filled.
    @ Pad
    The remaining area is filled with the closest stop color.
    @ InsufficientCondition
    The value returned in case the request cannot be processed - e.g. asking for properties of an object,...
    @ Success
    The value returned in case of a correct request execution.
    @ Unknown
    The value returned in all other cases.
    -
    @ NonSupport
    The value returned in case of choosing unsupported options.
    +
    @ NonSupport
    The value returned in case of choosing unsupported engine features(options).
    @ FailedAllocation
    The value returned in case of unsuccessful memory allocation.
    @ InvalidArguments
    The value returned in the event of a problem with the arguments given to the API - e....
    @ MemoryCorruption
    The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...
    @@ -818,16 +825,16 @@ $(document).ready(function(){initNavTree('thorvg_8h_source.html',''); initResiza
    @ Bevel
    The outer corner of the joined path segments is bevelled at the join point. The triangular region of ...
    @ Round
    The outer corner of the joined path segments is rounded. The circular region is centered at the join ...
    @ Miter
    The outer corner of the joined path segments is spiked. The spike is created by extension beyond the ...
    -
    A data structure storing the information about the color and its relative position inside the gradien...
    Definition: thorvg.h:467
    -
    uint8_t g
    Definition: thorvg.h:470
    -
    float offset
    Definition: thorvg.h:468
    -
    uint8_t b
    Definition: thorvg.h:471
    -
    uint8_t r
    Definition: thorvg.h:469
    -
    uint8_t a
    Definition: thorvg.h:472
    -
    A data structure representing a three-dimensional matrix.
    Definition: thorvg.h:224
    -
    A data structure representing a point in two-dimensional space.
    Definition: thorvg.h:211
    -
    A data structure representing a triange in a texture mesh.
    Definition: thorvg.h:254
    -
    A data structure representing a texture mesh vertex.
    Definition: thorvg.h:240
    +
    A data structure storing the information about the color and its relative position inside the gradien...
    Definition: thorvg.h:444
    +
    uint8_t g
    Definition: thorvg.h:447
    +
    float offset
    Definition: thorvg.h:445
    +
    uint8_t b
    Definition: thorvg.h:448
    +
    uint8_t r
    Definition: thorvg.h:446
    +
    uint8_t a
    Definition: thorvg.h:449
    +
    A data structure representing a three-dimensional matrix.
    Definition: thorvg.h:228
    +
    A data structure representing a point in two-dimensional space.
    Definition: thorvg.h:215
    +
    A data structure representing a triange in a texture mesh.
    Definition: thorvg.h:258
    +
    A data structure representing a texture mesh vertex.
    Definition: thorvg.h:244
    diff --git a/docs/html/thorvg__lottie_8h_source.html b/docs/html/thorvg__lottie_8h_source.html deleted file mode 100644 index c7a83617..00000000 --- a/docs/html/thorvg__lottie_8h_source.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - -ThorVG: /home/hermet/thorvg/inc/thorvg_lottie.h Source File - - - - - - - - - - - - - -
    -
    - - - - - - - -
    -
    ThorVG -  v0.13 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    thorvg_lottie.h
    -
    -
    -
    1 #ifndef _THORVG_LOTTIE_H_
    -
    2 #define _THORVG_LOTTIE_H_
    -
    3 
    -
    4 #include <thorvg.h>
    -
    5 
    -
    6 namespace tvg
    -
    7 {
    -
    8 
    -
    20 class TVG_API LottieAnimation final : public Animation
    -
    21 {
    -
    22 public:
    -
    23  ~LottieAnimation();
    -
    24 
    -
    36  Result override(const char* slot) noexcept;
    -
    37 
    -
    45  static std::unique_ptr<LottieAnimation> gen() noexcept;
    -
    46 };
    -
    47 
    -
    48 } //namespace
    -
    49 
    -
    50 #endif //_THORVG_LOTTIE_H_
    -
    The Animation class enables manipulation of animatable images.
    Definition: thorvg.h:1843
    -
    The LottieAnimation class enables control of advanced Lottie features.
    Definition: thorvg_lottie.h:21
    -
    static std::unique_ptr< LottieAnimation > gen() noexcept
    Creates a new LottieAnimation object.
    -
    Result
    Enumeration specifying the result from the APIs.
    Definition: thorvg.h:77
    -
    -
    - - - -