From 686e47d2cda0bb4d611fc0a3a03d599cbecc4a93 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 22 Dec 2021 19:06:04 +0900 Subject: [PATCH] doc: up to date v0.7 --- docs/Doxyfile | 2 +- docs/html/annotated.html | 2 +- docs/html/classes.html | 2 +- docs/html/classtvg_1_1Canvas-members.html | 2 +- docs/html/classtvg_1_1Canvas.html | 2 +- docs/html/classtvg_1_1Fill-members.html | 4 +- docs/html/classtvg_1_1Fill.html | 20 +- docs/html/classtvg_1_1GlCanvas-members.html | 2 +- docs/html/classtvg_1_1GlCanvas.html | 2 +- .../html/classtvg_1_1Initializer-members.html | 2 +- docs/html/classtvg_1_1Initializer.html | 2 +- .../classtvg_1_1LinearGradient-members.html | 4 +- docs/html/classtvg_1_1LinearGradient.html | 8 +- docs/html/classtvg_1_1Paint-members.html | 4 +- docs/html/classtvg_1_1Paint.html | 17 +- docs/html/classtvg_1_1Picture-members.html | 4 +- docs/html/classtvg_1_1Picture.html | 9 +- .../classtvg_1_1RadialGradient-members.html | 4 +- docs/html/classtvg_1_1RadialGradient.html | 8 +- docs/html/classtvg_1_1Saver-members.html | 2 +- docs/html/classtvg_1_1Saver.html | 2 +- docs/html/classtvg_1_1Scene-members.html | 4 +- docs/html/classtvg_1_1Scene.html | 8 +- docs/html/classtvg_1_1Shape-members.html | 4 +- docs/html/classtvg_1_1Shape.html | 8 +- docs/html/classtvg_1_1SwCanvas-members.html | 2 +- docs/html/classtvg_1_1SwCanvas.html | 2 +- ...dir_bfccd401955b95cf8c75461437045ac0.html} | 8 +- docs/html/functions.html | 6 +- docs/html/functions_enum.html | 2 +- docs/html/functions_eval.html | 2 +- docs/html/functions_func.html | 6 +- docs/html/functions_vars.html | 2 +- docs/html/graph_legend.html | 2 +- docs/html/group__ThorVG.html | 2 +- docs/html/group__ThorVGCapi__Canvas.html | 2 +- docs/html/group__ThorVGCapi__Gradient.html | 10 +- docs/html/group__ThorVGCapi__Initializer.html | 2 +- docs/html/group__ThorVGCapi__Paint.html | 6 +- docs/html/group__ThorVGCapi__Picture.html | 4 +- docs/html/group__ThorVGCapi__Saver.html | 2 +- docs/html/group__ThorVGCapi__Scene.html | 2 +- docs/html/group__ThorVGCapi__Shape.html | 2 +- docs/html/group__ThorVGCapi__SwCanvas.html | 2 +- docs/html/group__ThorVG__CAPI.html | 2 +- docs/html/hierarchy.html | 2 +- docs/html/index.html | 2 +- docs/html/inherits.html | 2 +- docs/html/modules.html | 2 +- docs/html/search/all_7.js | 2 +- docs/html/search/functions_6.js | 2 +- docs/html/structTvg__Color__Stop-members.html | 2 +- docs/html/structTvg__Color__Stop.html | 2 +- docs/html/structTvg__Matrix-members.html | 2 +- docs/html/structTvg__Matrix.html | 2 +- docs/html/structTvg__Point-members.html | 2 +- docs/html/structTvg__Point.html | 2 +- ...tructtvg_1_1Fill_1_1ColorStop-members.html | 2 +- docs/html/structtvg_1_1Fill_1_1ColorStop.html | 2 +- docs/html/structtvg_1_1Matrix-members.html | 2 +- docs/html/structtvg_1_1Matrix.html | 2 +- docs/html/structtvg_1_1Point-members.html | 2 +- docs/html/structtvg_1_1Point.html | 2 +- docs/html/thorvg_8h_source.html | 871 +++++++++--------- docs/html/thorvg__capi_8h_source.html | 108 +-- 65 files changed, 606 insertions(+), 605 deletions(-) rename docs/html/{dir_8af83c0dc83a45a35ca6968cdc29a7af.html => dir_bfccd401955b95cf8c75461437045ac0.html} (93%) diff --git a/docs/Doxyfile b/docs/Doxyfile index 2ff8f794..c86fafc7 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.6 +PROJECT_NUMBER = v0.7 # 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 607a24f5..0019b2ff 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classes.html b/docs/html/classes.html index 271e2326..42c4bbc6 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classtvg_1_1Canvas-members.html b/docs/html/classtvg_1_1Canvas-members.html index 25459dc4..03ef9f27 100644 --- a/docs/html/classtvg_1_1Canvas-members.html +++ b/docs/html/classtvg_1_1Canvas-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classtvg_1_1Canvas.html b/docs/html/classtvg_1_1Canvas.html index 81f68c60..3c9de389 100644 --- a/docs/html/classtvg_1_1Canvas.html +++ b/docs/html/classtvg_1_1Canvas.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classtvg_1_1Fill-members.html b/docs/html/classtvg_1_1Fill-members.html index 7a2ada75..62a5522f 100644 --- a/docs/html/classtvg_1_1Fill-members.html +++ b/docs/html/classtvg_1_1Fill-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
@@ -78,7 +78,7 @@ $(function() { colorStops(const ColorStop *colorStops, uint32_t cnt) noexceptFill colorStops(const ColorStop **colorStops) const noexceptFill duplicate() const noexceptFill - identifier() constFillinline + identifier() const noexceptFill spread(FillSpread s) noexceptFill spread() const noexceptFill transform(const Matrix &m) noexceptFill diff --git a/docs/html/classtvg_1_1Fill.html b/docs/html/classtvg_1_1Fill.html index 69db43d1..faf2402d 100644 --- a/docs/html/classtvg_1_1Fill.html +++ b/docs/html/classtvg_1_1Fill.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
@@ -119,9 +119,9 @@ Public Member Functions Fillduplicate () const noexcept  Creates a copy of the Fill object. More...
  -uint32_t identifier () const - Return the unique id value of the Fill instance. More...
-  +uint32_t identifier () const noexcept + Return the unique id value of the Fill instance. More...

Detailed Description

An abstract class representing the gradient fill of the Shape object.

@@ -237,8 +237,8 @@ Public Member Functions
- -

◆ identifier()

+ +

◆ identifier()

@@ -255,7 +255,7 @@ Public Member Functions -inline +noexcept
@@ -357,11 +357,10 @@ Public Member Functions

In case no transformation was applied, the identity matrix is returned.

Return values
- +
Theaugmented transformation matrix.
Theaugmented transformation matrix.
-

@BETA_API

@@ -397,8 +396,7 @@ Public Member Functions -
Returns
Result::Success when succeed, Result::FailedAllocation otherwise.
-

@BETA_API

+
Returns
Result::Success when succeed, Result::FailedAllocation otherwise.
diff --git a/docs/html/classtvg_1_1GlCanvas-members.html b/docs/html/classtvg_1_1GlCanvas-members.html index b15d5487..cd1d61f8 100644 --- a/docs/html/classtvg_1_1GlCanvas-members.html +++ b/docs/html/classtvg_1_1GlCanvas-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classtvg_1_1GlCanvas.html b/docs/html/classtvg_1_1GlCanvas.html index 77d20b05..212314f8 100644 --- a/docs/html/classtvg_1_1GlCanvas.html +++ b/docs/html/classtvg_1_1GlCanvas.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classtvg_1_1Initializer-members.html b/docs/html/classtvg_1_1Initializer-members.html index f7448481..e6383ff3 100644 --- a/docs/html/classtvg_1_1Initializer-members.html +++ b/docs/html/classtvg_1_1Initializer-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classtvg_1_1Initializer.html b/docs/html/classtvg_1_1Initializer.html index 2cfb790a..10f6a3cb 100644 --- a/docs/html/classtvg_1_1Initializer.html +++ b/docs/html/classtvg_1_1Initializer.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/classtvg_1_1LinearGradient-members.html b/docs/html/classtvg_1_1LinearGradient-members.html index 3fa70180..cb4f8a99 100644 --- a/docs/html/classtvg_1_1LinearGradient-members.html +++ b/docs/html/classtvg_1_1LinearGradient-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
@@ -80,7 +80,7 @@ $(function() { duplicate() const noexceptFill gen() noexceptLinearGradientstatic identifier() noexceptLinearGradientstatic - tvg::Fill::identifier() constFillinline + tvg::Fill::identifier() const noexceptFill linear(float x1, float y1, float x2, float y2) noexceptLinearGradient linear(float *x1, float *y1, float *x2, float *y2) const noexceptLinearGradient spread(FillSpread s) noexceptFill diff --git a/docs/html/classtvg_1_1LinearGradient.html b/docs/html/classtvg_1_1LinearGradient.html index b5f23043..9ff55d6a 100644 --- a/docs/html/classtvg_1_1LinearGradient.html +++ b/docs/html/classtvg_1_1LinearGradient.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
@@ -119,9 +119,9 @@ Public Member Functions Fillduplicate () const noexcept  Creates a copy of the Fill object. More...
  -uint32_t identifier () const - Return the unique id value of the Fill instance. More...
-  +uint32_t identifier () const noexcept + Return the unique id value of the Fill instance. More...
+  diff --git a/docs/html/classtvg_1_1Paint-members.html b/docs/html/classtvg_1_1Paint-members.html index 36e4551b..7996ec28 100644 --- a/docs/html/classtvg_1_1Paint-members.html +++ b/docs/html/classtvg_1_1Paint-members.html @@ -24,7 +24,7 @@ @@ -80,7 +80,7 @@ $(function() { - + diff --git a/docs/html/classtvg_1_1Paint.html b/docs/html/classtvg_1_1Paint.html index d8fc72fb..8ed5b3e1 100644 --- a/docs/html/classtvg_1_1Paint.html +++ b/docs/html/classtvg_1_1Paint.html @@ -24,7 +24,7 @@ @@ -128,9 +128,9 @@ Public Member Functions - - - + + +

Static Public Member Functions

ThorVG -  v0.6 +  v0.7
composite(std::unique_ptr< Paint > target, CompositeMethod method) noexceptPaint
composite(const Paint **target) const noexceptPaint
duplicate() const noexceptPaint
identifier() constPaintinline
identifier() const noexceptPaint
opacity(uint8_t o) noexceptPaint
opacity() const noexceptPaint
rotate(float degree) noexceptPaint
ThorVG -  v0.6 +  v0.7
CompositeMethod composite (const Paint **target) const noexcept
 Gets the composition target object and the composition method. More...
 
uint32_t identifier () const
 Return the unique id value of the paint instance. More...
 
uint32_t identifier () const noexcept
 Return the unique id value of the paint instance. More...
 

Detailed Description

An abstract class for managing graphical elements.

@@ -263,8 +263,7 @@ Public Member Functions
Returns
Result::Success when succeed, Result::InsufficientCondition otherwise.
-
Note
The bounding box doesn't indicate the actual drawing region. It's the smallest rectangle that encloses the object.
-

@BETA_API

+
Note
The bounding box doesn't indicate the actual drawing region. It's the smallest rectangle that encloses the object.
@@ -379,8 +378,8 @@ Public Member Functions - -

◆ identifier()

+ +

◆ identifier()

@@ -397,7 +396,7 @@ Public Member Functions -inline +noexcept
diff --git a/docs/html/classtvg_1_1Picture-members.html b/docs/html/classtvg_1_1Picture-members.html index 1de8fc1d..9773241e 100644 --- a/docs/html/classtvg_1_1Picture-members.html +++ b/docs/html/classtvg_1_1Picture-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
@@ -83,7 +83,7 @@ $(function() { duplicate() const noexceptPaint gen() noexceptPicturestatic identifier() noexceptPicturestatic - tvg::Paint::identifier() constPaintinline + tvg::Paint::identifier() const noexceptPaint load(const std::string &path) noexceptPicture load(const char *data, uint32_t size, bool copy=false) noexceptPicture load(const char *data, uint32_t size, const std::string &mimeType, bool copy=false) noexceptPicture diff --git a/docs/html/classtvg_1_1Picture.html b/docs/html/classtvg_1_1Picture.html index 66fb07ba..d6d78b47 100644 --- a/docs/html/classtvg_1_1Picture.html +++ b/docs/html/classtvg_1_1Picture.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
@@ -152,9 +152,9 @@ Public Member Functions CompositeMethod composite (const Paint **target) const noexcept  Gets the composition target object and the composition method. More...
  -uint32_t identifier () const - Return the unique id value of the paint instance. More...
-  +uint32_t identifier () const noexcept + Return the unique id value of the paint instance. More...
+  @@ -204,6 +204,7 @@ Static Public Member Functions

Gets the pixels information of the picture.

+
Note
The data must be pre-multiplied by the alpha channels.
Warning
Please do not use it, this API is not official one. It could be modified in the next version.

@BETA_API

diff --git a/docs/html/classtvg_1_1RadialGradient-members.html b/docs/html/classtvg_1_1RadialGradient-members.html index 837912a8..286d902b 100644 --- a/docs/html/classtvg_1_1RadialGradient-members.html +++ b/docs/html/classtvg_1_1RadialGradient-members.html @@ -24,7 +24,7 @@
@@ -80,7 +80,7 @@ $(function() { - + diff --git a/docs/html/classtvg_1_1RadialGradient.html b/docs/html/classtvg_1_1RadialGradient.html index 59c1be6a..52b9a8ec 100644 --- a/docs/html/classtvg_1_1RadialGradient.html +++ b/docs/html/classtvg_1_1RadialGradient.html @@ -24,7 +24,7 @@ @@ -119,9 +119,9 @@ Public Member Functions - - - + + +

Static Public Member Functions

ThorVG -  v0.6 +  v0.7
duplicate() const noexceptFill
gen() noexceptRadialGradientstatic
identifier() noexceptRadialGradientstatic
tvg::Fill::identifier() constFillinline
tvg::Fill::identifier() const noexceptFill
radial(float cx, float cy, float radius) noexceptRadialGradient
radial(float *cx, float *cy, float *radius) const noexceptRadialGradient
spread(FillSpread s) noexceptFill
ThorVG -  v0.6 +  v0.7
Fillduplicate () const noexcept
 Creates a copy of the Fill object. More...
 
uint32_t identifier () const
 Return the unique id value of the Fill instance. More...
 
uint32_t identifier () const noexcept
 Return the unique id value of the Fill instance. More...
 
diff --git a/docs/html/classtvg_1_1Saver-members.html b/docs/html/classtvg_1_1Saver-members.html index 69b1fca9..fe1f02a9 100644 --- a/docs/html/classtvg_1_1Saver-members.html +++ b/docs/html/classtvg_1_1Saver-members.html @@ -24,7 +24,7 @@ diff --git a/docs/html/classtvg_1_1Saver.html b/docs/html/classtvg_1_1Saver.html index 3ee4dcb1..bc6aed85 100644 --- a/docs/html/classtvg_1_1Saver.html +++ b/docs/html/classtvg_1_1Saver.html @@ -24,7 +24,7 @@ diff --git a/docs/html/classtvg_1_1Scene-members.html b/docs/html/classtvg_1_1Scene-members.html index db0ef590..d79ed63f 100644 --- a/docs/html/classtvg_1_1Scene-members.html +++ b/docs/html/classtvg_1_1Scene-members.html @@ -24,7 +24,7 @@ @@ -83,7 +83,7 @@ $(function() { - + diff --git a/docs/html/classtvg_1_1Scene.html b/docs/html/classtvg_1_1Scene.html index 5415bb0d..7e557d0f 100644 --- a/docs/html/classtvg_1_1Scene.html +++ b/docs/html/classtvg_1_1Scene.html @@ -24,7 +24,7 @@ @@ -137,9 +137,9 @@ Public Member Functions - - - + + +

Static Public Member Functions

ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
duplicate() const noexceptPaint
gen() noexceptScenestatic
identifier() noexceptScenestatic
tvg::Paint::identifier() constPaintinline
tvg::Paint::identifier() const noexceptPaint
opacity(uint8_t o) noexceptPaint
opacity() const noexceptPaint
push(std::unique_ptr< Paint > paint) noexceptScene
ThorVG -  v0.6 +  v0.7
CompositeMethod composite (const Paint **target) const noexcept
 Gets the composition target object and the composition method. More...
 
uint32_t identifier () const
 Return the unique id value of the paint instance. More...
 
uint32_t identifier () const noexcept
 Return the unique id value of the paint instance. More...
 
diff --git a/docs/html/classtvg_1_1Shape-members.html b/docs/html/classtvg_1_1Shape-members.html index 4f9c26e7..70f578f0 100644 --- a/docs/html/classtvg_1_1Shape-members.html +++ b/docs/html/classtvg_1_1Shape-members.html @@ -24,7 +24,7 @@ @@ -94,7 +94,7 @@ $(function() { - + diff --git a/docs/html/classtvg_1_1Shape.html b/docs/html/classtvg_1_1Shape.html index cfdd8cc1..469c6972 100644 --- a/docs/html/classtvg_1_1Shape.html +++ b/docs/html/classtvg_1_1Shape.html @@ -24,7 +24,7 @@ @@ -215,9 +215,9 @@ Public Member Functions - - - + + +

Static Public Member Functions

ThorVG -  v0.6 +  v0.7
fillRule() const noexceptShape
gen() noexceptShapestatic
identifier() noexceptShapestatic
tvg::Paint::identifier() constPaintinline
tvg::Paint::identifier() const noexceptPaint
lineTo(float x, float y) noexceptShape
moveTo(float x, float y) noexceptShape
opacity(uint8_t o) noexceptPaint
ThorVG -  v0.6 +  v0.7
CompositeMethod composite (const Paint **target) const noexcept
 Gets the composition target object and the composition method. More...
 
uint32_t identifier () const
 Return the unique id value of the paint instance. More...
 
uint32_t identifier () const noexcept
 Return the unique id value of the paint instance. More...
 
diff --git a/docs/html/classtvg_1_1SwCanvas-members.html b/docs/html/classtvg_1_1SwCanvas-members.html index d6e63bf5..022a0483 100644 --- a/docs/html/classtvg_1_1SwCanvas-members.html +++ b/docs/html/classtvg_1_1SwCanvas-members.html @@ -24,7 +24,7 @@ diff --git a/docs/html/classtvg_1_1SwCanvas.html b/docs/html/classtvg_1_1SwCanvas.html index 0288f55d..ef636bd4 100644 --- a/docs/html/classtvg_1_1SwCanvas.html +++ b/docs/html/classtvg_1_1SwCanvas.html @@ -24,7 +24,7 @@ diff --git a/docs/html/dir_8af83c0dc83a45a35ca6968cdc29a7af.html b/docs/html/dir_bfccd401955b95cf8c75461437045ac0.html similarity index 93% rename from docs/html/dir_8af83c0dc83a45a35ca6968cdc29a7af.html rename to docs/html/dir_bfccd401955b95cf8c75461437045ac0.html index 5f5bfdc8..1cb58d63 100644 --- a/docs/html/dir_8af83c0dc83a45a35ca6968cdc29a7af.html +++ b/docs/html/dir_bfccd401955b95cf8c75461437045ac0.html @@ -5,7 +5,7 @@ -ThorVG: tmp Directory Reference +ThorVG: /home/hermet/Projects/thorvg/inc Directory Reference @@ -24,7 +24,7 @@ @@ -64,12 +64,12 @@ $(function() {
-
tmp Directory Reference
+
inc Directory Reference

Static Public Member Functions

ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/functions.html b/docs/html/functions.html index e46d40f8..79e9ff09 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -24,7 +24,7 @@ @@ -182,9 +182,9 @@ $(function() {

- i -

  • identifier() -: Fill +: Fill , LinearGradient -, Paint +, Paint , Picture , RadialGradient , Scene diff --git a/docs/html/functions_enum.html b/docs/html/functions_enum.html index 1cd8d4ac..a88c352c 100644 --- a/docs/html/functions_enum.html +++ b/docs/html/functions_enum.html @@ -24,7 +24,7 @@
diff --git a/docs/html/functions_eval.html b/docs/html/functions_eval.html index 2386284e..638d227a 100644 --- a/docs/html/functions_eval.html +++ b/docs/html/functions_eval.html @@ -24,7 +24,7 @@ diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index 2471327a..11f243b3 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -24,7 +24,7 @@ @@ -152,9 +152,9 @@ $(function() {

- i -

  • identifier() -: Fill +: Fill , LinearGradient -, Paint +, Paint , Picture , RadialGradient , Scene diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index 7429adfd..c21d04ac 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -24,7 +24,7 @@
diff --git a/docs/html/graph_legend.html b/docs/html/graph_legend.html index 47e1ff08..db3c83dc 100644 --- a/docs/html/graph_legend.html +++ b/docs/html/graph_legend.html @@ -24,7 +24,7 @@ diff --git a/docs/html/group__ThorVG.html b/docs/html/group__ThorVG.html index 9d42c8e8..4ca9d92b 100644 --- a/docs/html/group__ThorVG.html +++ b/docs/html/group__ThorVG.html @@ -24,7 +24,7 @@ diff --git a/docs/html/group__ThorVGCapi__Canvas.html b/docs/html/group__ThorVGCapi__Canvas.html index fe22d394..d6463eda 100644 --- a/docs/html/group__ThorVGCapi__Canvas.html +++ b/docs/html/group__ThorVGCapi__Canvas.html @@ -24,7 +24,7 @@ diff --git a/docs/html/group__ThorVGCapi__Gradient.html b/docs/html/group__ThorVGCapi__Gradient.html index 82d4a806..362b6c29 100644 --- a/docs/html/group__ThorVGCapi__Gradient.html +++ b/docs/html/group__ThorVGCapi__Gradient.html @@ -24,7 +24,7 @@ @@ -123,10 +123,10 @@ Functions - + - + @@ -325,7 +325,7 @@ Functions
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
 Gets the FillSpread value of the gradient object. More...
 
TVG_EXPORT Tvg_Result tvg_gradient_set_transform (Tvg_Gradient *grad, const Tvg_Matrix *m)
 Sets the matrix of the affine transformation for the gradient object. (BETA_API) More...
 Sets the matrix of the affine transformation for the gradient object. More...
 
TVG_EXPORT Tvg_Result tvg_gradient_get_transform (const Tvg_Gradient *grad, Tvg_Matrix *m)
 Gets the matrix of the affine transformation of the gradient object. (BETA_API) More...
 Gets the matrix of the affine transformation of the gradient object. More...
 
TVG_EXPORT Tvg_Gradienttvg_gradient_duplicate (Tvg_Gradient *grad)
 Duplicates the given Tvg_Gradient object. More...
-

Gets the matrix of the affine transformation of the gradient object. (BETA_API)

+

Gets the matrix of the affine transformation of the gradient object.

In case no transformation was applied, the identity matrix is set.

Parameters
@@ -468,7 +468,7 @@ Functions
-

Sets the matrix of the affine transformation for the gradient object. (BETA_API)

+

Sets the matrix of the affine transformation for the gradient object.

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

Parameters
diff --git a/docs/html/group__ThorVGCapi__Initializer.html b/docs/html/group__ThorVGCapi__Initializer.html index b454f26b..0f1dca1f 100644 --- a/docs/html/group__ThorVGCapi__Initializer.html +++ b/docs/html/group__ThorVGCapi__Initializer.html @@ -24,7 +24,7 @@ diff --git a/docs/html/group__ThorVGCapi__Paint.html b/docs/html/group__ThorVGCapi__Paint.html index 11294b35..8c929b54 100644 --- a/docs/html/group__ThorVGCapi__Paint.html +++ b/docs/html/group__ThorVGCapi__Paint.html @@ -24,7 +24,7 @@ @@ -124,7 +124,7 @@ Functions - + @@ -291,7 +291,7 @@ Functions
ThorVG -  v0.6 +  v0.7
ThorVG -  v0.6 +  v0.7
 Duplicates the given Tvg_Paint object. More...
 
TVG_EXPORT Tvg_Result tvg_paint_get_bounds (const Tvg_Paint *paint, float *x, float *y, float *w, float *h, bool transformed)
 Gets the axis-aligned bounding box of the Tvg_Paint object. (BETA_API) More...
 Gets the axis-aligned bounding box of the Tvg_Paint object. More...
 
TVG_EXPORT Tvg_Result tvg_paint_set_composite_method (Tvg_Paint *paint, Tvg_Paint *target, Tvg_Composite_Method method)
 Sets the composition target object and the composition method. More...
-

Gets the axis-aligned bounding box of the Tvg_Paint object. (BETA_API)

+

Gets the axis-aligned bounding box of the Tvg_Paint object.

Parameters
diff --git a/docs/html/group__ThorVGCapi__Picture.html b/docs/html/group__ThorVGCapi__Picture.html index 8799762b..aaf1da86 100644 --- a/docs/html/group__ThorVGCapi__Picture.html +++ b/docs/html/group__ThorVGCapi__Picture.html @@ -24,7 +24,7 @@ @@ -145,6 +145,7 @@ Functions

Gets the size of the loaded picture.

Parameters
[in]paintThe Tvg_Paint object of which to get the bounds.
ThorVG -  v0.6 +  v0.7
+
[in]paintA Tvg_Paint pointer to the picture object.
[out]wA width of the image in pixels.
[out]hA height of the image in pixels.
@@ -439,6 +440,7 @@ Functions

The picture content is resized while keeping the default size aspect ratio. The scaling factor is established for each of dimensions and the smaller value is applied to both of them.

Parameters
+
[in]paintA Tvg_Paint pointer to the picture object.
[in]wA new width of the image in pixels.
[in]hA new height of the image in pixels.
diff --git a/docs/html/group__ThorVGCapi__Saver.html b/docs/html/group__ThorVGCapi__Saver.html index 8fa63bf5..df0db6a5 100644 --- a/docs/html/group__ThorVGCapi__Saver.html +++ b/docs/html/group__ThorVGCapi__Saver.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/group__ThorVGCapi__Scene.html b/docs/html/group__ThorVGCapi__Scene.html index 7924ae5f..517da500 100644 --- a/docs/html/group__ThorVGCapi__Scene.html +++ b/docs/html/group__ThorVGCapi__Scene.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/group__ThorVGCapi__Shape.html b/docs/html/group__ThorVGCapi__Shape.html index 9157f171..d33e1e07 100644 --- a/docs/html/group__ThorVGCapi__Shape.html +++ b/docs/html/group__ThorVGCapi__Shape.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/group__ThorVGCapi__SwCanvas.html b/docs/html/group__ThorVGCapi__SwCanvas.html index d23b8151..733bc728 100644 --- a/docs/html/group__ThorVGCapi__SwCanvas.html +++ b/docs/html/group__ThorVGCapi__SwCanvas.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/group__ThorVG__CAPI.html b/docs/html/group__ThorVG__CAPI.html index 19316efd..77ce7692 100644 --- a/docs/html/group__ThorVG__CAPI.html +++ b/docs/html/group__ThorVG__CAPI.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 3591f595..b81a7878 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/index.html b/docs/html/index.html index ca660c66..b6b5c4bd 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/inherits.html b/docs/html/inherits.html index 75b5bf01..f191d243 100644 --- a/docs/html/inherits.html +++ b/docs/html/inherits.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/modules.html b/docs/html/modules.html index 4d19065d..d4089f10 100644 --- a/docs/html/modules.html +++ b/docs/html/modules.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js index 69323804..d9a71897 100644 --- a/docs/html/search/all_7.js +++ b/docs/html/search/all_7.js @@ -1,6 +1,6 @@ var searchData= [ - ['identifier_41',['identifier',['../classtvg_1_1Paint.html#a87a69d60151166624e63799203acbd1d',1,'tvg::Paint::identifier()'],['../classtvg_1_1Fill.html#a87a69d60151166624e63799203acbd1d',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()']]], + ['identifier_41',['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()']]], ['individual_42',['Individual',['../classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22bab0257211e60ed5eb6767ec8ed3ec2524',1,'tvg::SwCanvas']]], ['init_43',['init',['../classtvg_1_1Initializer.html#aecd30dc028635b645b0dac5b6facea73',1,'tvg::Initializer']]], ['initializer_44',['Initializer',['../classtvg_1_1Initializer.html',1,'tvg']]], diff --git a/docs/html/search/functions_6.js b/docs/html/search/functions_6.js index b77350c4..d649cdd6 100644 --- a/docs/html/search/functions_6.js +++ b/docs/html/search/functions_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['identifier_289',['identifier',['../classtvg_1_1Paint.html#a87a69d60151166624e63799203acbd1d',1,'tvg::Paint::identifier()'],['../classtvg_1_1Fill.html#a87a69d60151166624e63799203acbd1d',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()']]], + ['identifier_289',['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()']]], ['init_290',['init',['../classtvg_1_1Initializer.html#aecd30dc028635b645b0dac5b6facea73',1,'tvg::Initializer']]] ]; diff --git a/docs/html/structTvg__Color__Stop-members.html b/docs/html/structTvg__Color__Stop-members.html index 54ebffd0..bb4ca89e 100644 --- a/docs/html/structTvg__Color__Stop-members.html +++ b/docs/html/structTvg__Color__Stop-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structTvg__Color__Stop.html b/docs/html/structTvg__Color__Stop.html index dcd41a36..d7eec8d0 100644 --- a/docs/html/structTvg__Color__Stop.html +++ b/docs/html/structTvg__Color__Stop.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structTvg__Matrix-members.html b/docs/html/structTvg__Matrix-members.html index 8de3ed79..1b3b9e2f 100644 --- a/docs/html/structTvg__Matrix-members.html +++ b/docs/html/structTvg__Matrix-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structTvg__Matrix.html b/docs/html/structTvg__Matrix.html index 9edc62b8..a7a9fc6e 100644 --- a/docs/html/structTvg__Matrix.html +++ b/docs/html/structTvg__Matrix.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structTvg__Point-members.html b/docs/html/structTvg__Point-members.html index f971c87e..d1591438 100644 --- a/docs/html/structTvg__Point-members.html +++ b/docs/html/structTvg__Point-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structTvg__Point.html b/docs/html/structTvg__Point.html index 73450752..5039a0a5 100644 --- a/docs/html/structTvg__Point.html +++ b/docs/html/structTvg__Point.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html b/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html index c3697dd2..cb9e8cf2 100644 --- a/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html +++ b/docs/html/structtvg_1_1Fill_1_1ColorStop-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structtvg_1_1Fill_1_1ColorStop.html b/docs/html/structtvg_1_1Fill_1_1ColorStop.html index d7808049..8b07c44e 100644 --- a/docs/html/structtvg_1_1Fill_1_1ColorStop.html +++ b/docs/html/structtvg_1_1Fill_1_1ColorStop.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structtvg_1_1Matrix-members.html b/docs/html/structtvg_1_1Matrix-members.html index 6dfd3b5d..db230b87 100644 --- a/docs/html/structtvg_1_1Matrix-members.html +++ b/docs/html/structtvg_1_1Matrix-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structtvg_1_1Matrix.html b/docs/html/structtvg_1_1Matrix.html index 3d0e8b57..64285296 100644 --- a/docs/html/structtvg_1_1Matrix.html +++ b/docs/html/structtvg_1_1Matrix.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structtvg_1_1Point-members.html b/docs/html/structtvg_1_1Point-members.html index 1010b1fe..e73f449d 100644 --- a/docs/html/structtvg_1_1Point-members.html +++ b/docs/html/structtvg_1_1Point-members.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/structtvg_1_1Point.html b/docs/html/structtvg_1_1Point.html index ff58066f..d9a9fbc8 100644 --- a/docs/html/structtvg_1_1Point.html +++ b/docs/html/structtvg_1_1Point.html @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
diff --git a/docs/html/thorvg_8h_source.html b/docs/html/thorvg_8h_source.html index 9654f974..55c07e8a 100644 --- a/docs/html/thorvg_8h_source.html +++ b/docs/html/thorvg_8h_source.html @@ -5,7 +5,7 @@ -ThorVG: tmp/thorvg.h Source File +ThorVG: /home/hermet/Projects/thorvg/inc/thorvg.h Source File @@ -24,7 +24,7 @@ Logo
ThorVG -  v0.6 +  v0.7
@@ -64,7 +64,7 @@ $(function() {
@@ -115,478 +115,479 @@ $(function() {
53  friend IteratorAccessor
54 
55 
-
56 #define _TVG_DECALRE_IDENTIFIER() \
-
57 protected: \
-
58  unsigned _id
-
59 
-
60 namespace tvg
-
61 {
-
62 
-
63 class RenderMethod;
-
64 class IteratorAccessor;
-
65 class Scene;
-
66 class Picture;
-
67 class Canvas;
-
68 
-
79 enum class TVG_EXPORT Result
-
80 {
-
81  Success = 0,
- - - - -
86  NonSupport,
-
87  Unknown
-
88 };
-
89 
-
96 enum class TVG_EXPORT PathCommand
-
97 {
-
98  Close = 0,
-
99  MoveTo,
-
100  LineTo,
-
101  CubicTo
-
102 };
-
103 
-
107 enum class TVG_EXPORT StrokeCap
-
108 {
-
109  Square = 0,
-
110  Round,
-
111  Butt
-
112 };
-
113 
-
117 enum class TVG_EXPORT StrokeJoin
-
118 {
-
119  Bevel = 0,
-
120  Round,
-
121  Miter
-
122 };
-
123 
-
127 enum class TVG_EXPORT FillSpread
-
128 {
-
129  Pad = 0,
-
130  Reflect,
-
131  Repeat
-
132 };
-
133 
-
137 enum class TVG_EXPORT FillRule
-
138 {
-
139  Winding = 0,
-
140  EvenOdd
-
141 };
-
142 
-
146 enum class TVG_EXPORT CompositeMethod
-
147 {
-
148  None = 0,
-
149  ClipPath,
-
150  AlphaMask,
-
151  InvAlphaMask
-
152 };
-
153 
-
157 enum class TVG_EXPORT CanvasEngine
-
158 {
-
159  Sw = (1 << 1),
-
160  Gl = (1 << 2)
-
161 };
-
162 
-
163 
-
167 struct Point
-
168 {
-
169  float x, y;
-
170 };
-
171 
-
172 
-
180 struct Matrix
-
181 {
-
182  float e11, e12, e13;
-
183  float e21, e22, e23;
-
184  float e31, e32, e33;
-
185 };
-
186 
-
187 
-
197 class TVG_EXPORT Paint
-
198 {
-
199 public:
-
200  virtual ~Paint();
-
201 
-
212  Result rotate(float degree) noexcept;
-
213 
-
221  Result scale(float factor) noexcept;
-
222 
-
234  Result translate(float x, float y) noexcept;
-
235 
-
245  Result transform(const Matrix& m) noexcept;
-
246 
-
257  Matrix transform() noexcept;
-
258 
-
268  Result opacity(uint8_t o) noexcept;
-
269 
-
278  Result composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept;
-
279 
-
293  TVG_DEPRECATED Result bounds(float* x, float* y, float* w, float* h) const noexcept;
-
294 
-
312  Result bounds(float* x, float* y, float* w, float* h, bool transformed) const noexcept;
-
313 
-
321  Paint* duplicate() const noexcept;
-
322 
-
328  uint8_t opacity() const noexcept;
-
329 
-
339  CompositeMethod composite(const Paint** target) const noexcept;
-
340 
-
350  uint32_t identifier() const { return _id; }
-
351 
-
352  _TVG_DECLARE_ACCESSOR();
-
353  _TVG_DECALRE_IDENTIFIER();
-
354  _TVG_DECLARE_PRIVATE(Paint);
-
355 };
-
356 
-
357 
-
369 class TVG_EXPORT Fill
-
370 {
-
371 public:
-
375  struct ColorStop
-
376  {
-
377  float offset;
-
378  uint8_t r;
-
379  uint8_t g;
-
380  uint8_t b;
-
381  uint8_t a;
-
382  };
-
383 
-
384  virtual ~Fill();
-
385 
-
394  Result colorStops(const ColorStop* colorStops, uint32_t cnt) noexcept;
-
395 
-
403  Result spread(FillSpread s) noexcept;
-
404 
-
416  Result transform(const Matrix& m) noexcept;
+
56 namespace tvg
+
57 {
+
58 
+
59 class RenderMethod;
+
60 class IteratorAccessor;
+
61 class Scene;
+
62 class Picture;
+
63 class Canvas;
+
64 
+
75 enum class TVG_EXPORT Result
+
76 {
+
77  Success = 0,
+ + + + +
82  NonSupport,
+
83  Unknown
+
84 };
+
85 
+
92 enum class TVG_EXPORT PathCommand
+
93 {
+
94  Close = 0,
+
95  MoveTo,
+
96  LineTo,
+
97  CubicTo
+
98 };
+
99 
+
103 enum class TVG_EXPORT StrokeCap
+
104 {
+
105  Square = 0,
+
106  Round,
+
107  Butt
+
108 };
+
109 
+
113 enum class TVG_EXPORT StrokeJoin
+
114 {
+
115  Bevel = 0,
+
116  Round,
+
117  Miter
+
118 };
+
119 
+
123 enum class TVG_EXPORT FillSpread
+
124 {
+
125  Pad = 0,
+
126  Reflect,
+
127  Repeat
+
128 };
+
129 
+
133 enum class TVG_EXPORT FillRule
+
134 {
+
135  Winding = 0,
+
136  EvenOdd
+
137 };
+
138 
+
142 enum class TVG_EXPORT CompositeMethod
+
143 {
+
144  None = 0,
+
145  ClipPath,
+
146  AlphaMask,
+
147  InvAlphaMask
+
148 };
+
149 
+
153 enum class TVG_EXPORT CanvasEngine
+
154 {
+
155  Sw = (1 << 1),
+
156  Gl = (1 << 2)
+
157 };
+
158 
+
159 
+
163 struct Point
+
164 {
+
165  float x, y;
+
166 };
+
167 
+
168 
+
176 struct Matrix
+
177 {
+
178  float e11, e12, e13;
+
179  float e21, e22, e23;
+
180  float e31, e32, e33;
+
181 };
+
182 
+
183 
+
193 class TVG_EXPORT Paint
+
194 {
+
195 public:
+
196  virtual ~Paint();
+
197 
+
208  Result rotate(float degree) noexcept;
+
209 
+
217  Result scale(float factor) noexcept;
+
218 
+
230  Result translate(float x, float y) noexcept;
+
231 
+
241  Result transform(const Matrix& m) noexcept;
+
242 
+
253  Matrix transform() noexcept;
+
254 
+
264  Result opacity(uint8_t o) noexcept;
+
265 
+
274  Result composite(std::unique_ptr<Paint> target, CompositeMethod method) noexcept;
+
275 
+
289  TVG_DEPRECATED Result bounds(float* x, float* y, float* w, float* h) const noexcept;
+
290 
+
306  Result bounds(float* x, float* y, float* w, float* h, bool transformed) const noexcept;
+
307 
+
315  Paint* duplicate() const noexcept;
+
316 
+
322  uint8_t opacity() const noexcept;
+
323 
+
333  CompositeMethod composite(const Paint** target) const noexcept;
+
334 
+
344  uint32_t identifier() const noexcept;
+
345 
+
346  _TVG_DECLARE_ACCESSOR();
+
347  _TVG_DECLARE_PRIVATE(Paint);
+
348 };
+
349 
+
350 
+
362 class TVG_EXPORT Fill
+
363 {
+
364 public:
+
368  struct ColorStop
+
369  {
+
370  float offset;
+
371  uint8_t r;
+
372  uint8_t g;
+
373  uint8_t b;
+
374  uint8_t a;
+
375  };
+
376 
+
377  virtual ~Fill();
+
378 
+
387  Result colorStops(const ColorStop* colorStops, uint32_t cnt) noexcept;
+
388 
+
396  Result spread(FillSpread s) noexcept;
+
397 
+
407  Result transform(const Matrix& m) noexcept;
+
408 
+
416  uint32_t colorStops(const ColorStop** colorStops) const noexcept;
417 
-
425  uint32_t colorStops(const ColorStop** colorStops) const noexcept;
-
426 
-
432  FillSpread spread() const noexcept;
+
423  FillSpread spread() const noexcept;
+
424 
+
432  Matrix transform() const noexcept;
433 
-
443  Matrix transform() const noexcept;
-
444 
-
452  Fill* duplicate() const noexcept;
+
441  Fill* duplicate() const noexcept;
+
442 
+
452  uint32_t identifier() const noexcept;
453 
-
463  uint32_t identifier() const { return _id; }
-
464 
-
465  _TVG_DECALRE_IDENTIFIER();
-
466  _TVG_DECLARE_PRIVATE(Fill);
-
467 };
-
468 
-
469 
-
480 class TVG_EXPORT Canvas
-
481 {
-
482 public:
-
483  Canvas(RenderMethod*);
-
484  virtual ~Canvas();
+
454  _TVG_DECLARE_PRIVATE(Fill);
+
455 };
+
456 
+
457 
+
468 class TVG_EXPORT Canvas
+
469 {
+
470 public:
+
471  Canvas(RenderMethod*);
+
472  virtual ~Canvas();
+
473 
+
484  Result reserve(uint32_t n) noexcept;
485 
-
496  Result reserve(uint32_t n) noexcept;
-
497 
-
515  virtual Result push(std::unique_ptr<Paint> paint) noexcept;
+
503  virtual Result push(std::unique_ptr<Paint> paint) noexcept;
+
504 
+
515  virtual Result clear(bool free = true) noexcept;
516 
-
527  virtual Result clear(bool free = true) noexcept;
-
528 
-
541  virtual Result update(Paint* paint = nullptr) noexcept;
-
542 
-
551  virtual Result draw() noexcept;
-
552 
-
562  virtual Result sync() noexcept;
-
563 
-
564  _TVG_DECLARE_PRIVATE(Canvas);
-
565 };
-
566 
-
567 
-
576 class TVG_EXPORT LinearGradient final : public Fill
-
577 {
-
578 public:
-
579  ~LinearGradient();
-
580 
-
597  Result linear(float x1, float y1, float x2, float y2) noexcept;
-
598 
-
613  Result linear(float* x1, float* y1, float* x2, float* y2) const noexcept;
-
614 
-
620  static std::unique_ptr<LinearGradient> gen() noexcept;
-
621 
-
631  static uint32_t identifier() noexcept;
-
632 
-
633  _TVG_DECLARE_PRIVATE(LinearGradient);
-
634 };
+
529  virtual Result update(Paint* paint = nullptr) noexcept;
+
530 
+
539  virtual Result draw() noexcept;
+
540 
+
550  virtual Result sync() noexcept;
+
551 
+
552  _TVG_DECLARE_PRIVATE(Canvas);
+
553 };
+
554 
+
555 
+
564 class TVG_EXPORT LinearGradient final : public Fill
+
565 {
+
566 public:
+
567  ~LinearGradient();
+
568 
+
585  Result linear(float x1, float y1, float x2, float y2) noexcept;
+
586 
+
601  Result linear(float* x1, float* y1, float* x2, float* y2) const noexcept;
+
602 
+
608  static std::unique_ptr<LinearGradient> gen() noexcept;
+
609 
+
619  static uint32_t identifier() noexcept;
+
620 
+
621  _TVG_DECLARE_PRIVATE(LinearGradient);
+
622 };
+
623 
+
624 
+
631 class TVG_EXPORT RadialGradient final : public Fill
+
632 {
+
633 public:
+
634  ~RadialGradient();
635 
-
636 
-
643 class TVG_EXPORT RadialGradient final : public Fill
-
644 {
-
645 public:
-
646  ~RadialGradient();
-
647 
-
659  Result radial(float cx, float cy, float radius) noexcept;
-
660 
-
672  Result radial(float* cx, float* cy, float* radius) const noexcept;
-
673 
-
679  static std::unique_ptr<RadialGradient> gen() noexcept;
-
680 
-
690  static uint32_t identifier() noexcept;
-
691 
-
692  _TVG_DECLARE_PRIVATE(RadialGradient);
-
693 };
-
694 
-
695 
-
708 class TVG_EXPORT Shape final : public Paint
-
709 {
-
710 public:
-
711  ~Shape();
-
712 
-
722  Result reset() noexcept;
+
647  Result radial(float cx, float cy, float radius) noexcept;
+
648 
+
660  Result radial(float* cx, float* cy, float* radius) const noexcept;
+
661 
+
667  static std::unique_ptr<RadialGradient> gen() noexcept;
+
668 
+
678  static uint32_t identifier() noexcept;
+
679 
+
680  _TVG_DECLARE_PRIVATE(RadialGradient);
+
681 };
+
682 
+
683 
+
696 class TVG_EXPORT Shape final : public Paint
+
697 {
+
698 public:
+
699  ~Shape();
+
700 
+
710  Result reset() noexcept;
+
711 
+
722  Result moveTo(float x, float y) noexcept;
723 
-
734  Result moveTo(float x, float y) noexcept;
-
735 
-
748  Result lineTo(float x, float y) noexcept;
-
749 
-
767  Result cubicTo(float cx1, float cy1, float cx2, float cy2, float x, float y) noexcept;
-
768 
-
778  Result close() noexcept;
-
779 
-
804  Result appendRect(float x, float y, float w, float h, float rx, float ry) noexcept;
-
805 
-
822  Result appendCircle(float cx, float cy, float rx, float ry) noexcept;
-
823 
-
841  Result appendArc(float cx, float cy, float radius, float startAngle, float sweep, bool pie) noexcept;
-
842 
-
859  Result appendPath(const PathCommand* cmds, uint32_t cmdCnt, const Point* pts, uint32_t ptsCnt) noexcept;
-
860 
-
868  Result stroke(float width) noexcept;
+
736  Result lineTo(float x, float y) noexcept;
+
737 
+
755  Result cubicTo(float cx1, float cy1, float cx2, float cy2, float x, float y) noexcept;
+
756 
+
766  Result close() noexcept;
+
767 
+
792  Result appendRect(float x, float y, float w, float h, float rx, float ry) noexcept;
+
793 
+
810  Result appendCircle(float cx, float cy, float rx, float ry) noexcept;
+
811 
+
829  Result appendArc(float cx, float cy, float radius, float startAngle, float sweep, bool pie) noexcept;
+
830 
+
847  Result appendPath(const PathCommand* cmds, uint32_t cmdCnt, const Point* pts, uint32_t ptsCnt) noexcept;
+
848 
+
856  Result stroke(float width) noexcept;
+
857 
+
868  Result stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;
869 
-
880  Result stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;
-
881 
-
891  Result stroke(std::unique_ptr<Fill> f) noexcept;
-
892 
-
906  Result stroke(const float* dashPattern, uint32_t cnt) noexcept;
-
907 
-
915  Result stroke(StrokeCap cap) noexcept;
-
916 
-
926  Result stroke(StrokeJoin join) noexcept;
-
927 
-
942  Result fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;
-
943 
-
955  Result fill(std::unique_ptr<Fill> f) noexcept;
-
956 
-
964  Result fill(FillRule r) noexcept;
-
965 
-
973  uint32_t pathCommands(const PathCommand** cmds) const noexcept;
-
974 
-
982  uint32_t pathCoords(const Point** pts) const noexcept;
-
983 
-
989  const Fill* fill() const noexcept;
+
879  Result stroke(std::unique_ptr<Fill> f) noexcept;
+
880 
+
894  Result stroke(const float* dashPattern, uint32_t cnt) noexcept;
+
895 
+
903  Result stroke(StrokeCap cap) noexcept;
+
904 
+
914  Result stroke(StrokeJoin join) noexcept;
+
915 
+
930  Result fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept;
+
931 
+
943  Result fill(std::unique_ptr<Fill> f) noexcept;
+
944 
+
952  Result fill(FillRule r) noexcept;
+
953 
+
961  uint32_t pathCommands(const PathCommand** cmds) const noexcept;
+
962 
+
970  uint32_t pathCoords(const Point** pts) const noexcept;
+
971 
+
977  const Fill* fill() const noexcept;
+
978 
+
989  Result fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) const noexcept;
990 
-
1001  Result fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) const noexcept;
-
1002 
-
1008  FillRule fillRule() const noexcept;
-
1009 
-
1015  float strokeWidth() const noexcept;
+
996  FillRule fillRule() const noexcept;
+
997 
+
1003  float strokeWidth() const noexcept;
+
1004 
+
1015  Result strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) const noexcept;
1016 
-
1027  Result strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) const noexcept;
-
1028 
-
1034  const Fill* strokeFill() const noexcept;
-
1035 
-
1043  uint32_t strokeDash(const float** dashPattern) const noexcept;
-
1044 
-
1050  StrokeCap strokeCap() const noexcept;
-
1051 
-
1057  StrokeJoin strokeJoin() const noexcept;
-
1058 
-
1064  static std::unique_ptr<Shape> gen() noexcept;
-
1065 
-
1075  static uint32_t identifier() noexcept;
-
1076 
-
1077  _TVG_DECLARE_PRIVATE(Shape);
-
1078 };
-
1079 
-
1080 
-
1089 class TVG_EXPORT Picture final : public Paint
-
1090 {
-
1091 public:
-
1092  ~Picture();
-
1093 
-
1107  Result load(const std::string& path) noexcept;
-
1108 
-
1125  TVG_DEPRECATED Result load(const char* data, uint32_t size, bool copy = false) noexcept;
-
1126 
-
1144  Result load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false) noexcept;
-
1145 
-
1157  Result size(float w, float h) noexcept;
-
1158 
-
1167  Result size(float* w, float* h) const noexcept;
-
1168 
-
1176  const uint32_t* data(uint32_t* w, uint32_t* h) const noexcept;
-
1177 
-
1185  Result load(uint32_t* data, uint32_t w, uint32_t h, bool copy) noexcept;
-
1186 
-
1194  Result viewbox(float* x, float* y, float* w, float* h) const noexcept;
-
1195 
-
1201  static std::unique_ptr<Picture> gen() noexcept;
-
1202 
-
1212  static uint32_t identifier() noexcept;
-
1213 
-
1214  _TVG_DECLARE_PRIVATE(Picture);
-
1215 };
-
1216 
-
1217 
-
1229 class TVG_EXPORT Scene final : public Paint
-
1230 {
-
1231 public:
-
1232  ~Scene();
-
1233 
-
1248  Result push(std::unique_ptr<Paint> paint) noexcept;
-
1249 
-
1260  Result reserve(uint32_t size) noexcept;
-
1261 
-
1274  Result clear(bool free = true) noexcept;
-
1275 
-
1281  static std::unique_ptr<Scene> gen() noexcept;
-
1282 
-
1292  static uint32_t identifier() noexcept;
-
1293 
-
1294  _TVG_DECLARE_PRIVATE(Scene);
-
1295 };
-
1296 
+
1022  const Fill* strokeFill() const noexcept;
+
1023 
+
1031  uint32_t strokeDash(const float** dashPattern) const noexcept;
+
1032 
+
1038  StrokeCap strokeCap() const noexcept;
+
1039 
+
1045  StrokeJoin strokeJoin() const noexcept;
+
1046 
+
1052  static std::unique_ptr<Shape> gen() noexcept;
+
1053 
+
1063  static uint32_t identifier() noexcept;
+
1064 
+
1065  _TVG_DECLARE_PRIVATE(Shape);
+
1066 };
+
1067 
+
1068 
+
1077 class TVG_EXPORT Picture final : public Paint
+
1078 {
+
1079 public:
+
1080  ~Picture();
+
1081 
+
1095  Result load(const std::string& path) noexcept;
+
1096 
+
1113  TVG_DEPRECATED Result load(const char* data, uint32_t size, bool copy = false) noexcept;
+
1114 
+
1132  Result load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false) noexcept;
+
1133 
+
1145  Result size(float w, float h) noexcept;
+
1146 
+
1155  Result size(float* w, float* h) const noexcept;
+
1156 
+
1166  const uint32_t* data(uint32_t* w, uint32_t* h) const noexcept;
+
1167 
+
1175  Result load(uint32_t* data, uint32_t w, uint32_t h, bool copy) noexcept;
+
1176 
+
1184  Result viewbox(float* x, float* y, float* w, float* h) const noexcept;
+
1185 
+
1191  static std::unique_ptr<Picture> gen() noexcept;
+
1192 
+
1202  static uint32_t identifier() noexcept;
+
1203 
+
1204  _TVG_DECLARE_PRIVATE(Picture);
+
1205 };
+
1206 
+
1207 
+
1219 class TVG_EXPORT Scene final : public Paint
+
1220 {
+
1221 public:
+
1222  ~Scene();
+
1223 
+
1238  Result push(std::unique_ptr<Paint> paint) noexcept;
+
1239 
+
1250  Result reserve(uint32_t size) noexcept;
+
1251 
+
1264  Result clear(bool free = true) noexcept;
+
1265 
+
1271  static std::unique_ptr<Scene> gen() noexcept;
+
1272 
+
1282  static uint32_t identifier() noexcept;
+
1283 
+
1284  _TVG_DECLARE_PRIVATE(Scene);
+
1285 };
+
1286 
+
1287 
+
1293 class TVG_EXPORT SwCanvas final : public Canvas
+
1294 {
+
1295 public:
+
1296  ~SwCanvas();
1297 
-
1303 class TVG_EXPORT SwCanvas final : public Canvas
-
1304 {
-
1305 public:
-
1306  ~SwCanvas();
-
1307 
- -
1312  {
-
1313  ABGR8888 = 0,
- - - -
1317  };
-
1318 
- -
1324  {
-
1325  Default = 0,
- -
1327  Individual
-
1328  };
-
1329 
-
1348  Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept;
-
1349 
-
1373  Result mempool(MempoolPolicy policy) noexcept;
+ +
1302  {
+
1303  ABGR8888 = 0,
+ + + +
1307  };
+
1308 
+ +
1314  {
+
1315  Default = 0,
+ +
1317  Individual
+
1318  };
+
1319 
+
1338  Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept;
+
1339 
+
1363  Result mempool(MempoolPolicy policy) noexcept;
+
1364 
+
1369  static std::unique_ptr<SwCanvas> gen() noexcept;
+
1370 
+
1371  _TVG_DECLARE_PRIVATE(SwCanvas);
+
1372 };
+
1373 
1374 
-
1379  static std::unique_ptr<SwCanvas> gen() noexcept;
-
1380 
-
1381  _TVG_DECLARE_PRIVATE(SwCanvas);
-
1382 };
-
1383 
-
1384 
-
1394 class TVG_EXPORT GlCanvas final : public Canvas
-
1395 {
-
1396 public:
-
1397  ~GlCanvas();
-
1398 
-
1406  Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h) noexcept;
-
1407 
-
1415  static std::unique_ptr<GlCanvas> gen() noexcept;
-
1416 
-
1417  _TVG_DECLARE_PRIVATE(GlCanvas);
-
1418 };
-
1419 
-
1420 
-
1426 class TVG_EXPORT Initializer final
-
1427 {
-
1428 public:
-
1449  static Result init(CanvasEngine engine, uint32_t threads) noexcept;
-
1450 
-
1465  static Result term(CanvasEngine engine) noexcept;
-
1466 
-
1467  _TVG_DISABLE_CTOR(Initializer);
-
1468 };
-
1469 
-
1470 
-
1488 class TVG_EXPORT Saver final
-
1489 {
-
1490 public:
-
1491  ~Saver();
-
1492 
-
1515  Result save(std::unique_ptr<Paint> paint, const std::string& path, bool compress = true) noexcept;
-
1516 
-
1532  Result sync() noexcept;
-
1533 
-
1541  static std::unique_ptr<Saver> gen() noexcept;
+
1384 class TVG_EXPORT GlCanvas final : public Canvas
+
1385 {
+
1386 public:
+
1387  ~GlCanvas();
+
1388 
+
1396  Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h) noexcept;
+
1397 
+
1405  static std::unique_ptr<GlCanvas> gen() noexcept;
+
1406 
+
1407  _TVG_DECLARE_PRIVATE(GlCanvas);
+
1408 };
+
1409 
+
1410 
+
1416 class TVG_EXPORT Initializer final
+
1417 {
+
1418 public:
+
1439  static Result init(CanvasEngine engine, uint32_t threads) noexcept;
+
1440 
+
1455  static Result term(CanvasEngine engine) noexcept;
+
1456 
+
1457  _TVG_DISABLE_CTOR(Initializer);
+
1458 };
+
1459 
+
1460 
+
1478 class TVG_EXPORT Saver final
+
1479 {
+
1480 public:
+
1481  ~Saver();
+
1482 
+
1505  Result save(std::unique_ptr<Paint> paint, const std::string& path, bool compress = true) noexcept;
+
1506 
+
1522  Result sync() noexcept;
+
1523 
+
1531  static std::unique_ptr<Saver> gen() noexcept;
+
1532 
+
1533  _TVG_DECLARE_PRIVATE(Saver);
+
1534 };
+
1535 
+
1536 
+
1537 class TVG_EXPORT Iteratorv final
+
1538 {
+
1539 public:
+
1540  static std::unique_ptr<Picture> iterate(std::unique_ptr<Picture> picture, int(*func)(const Paint* paint, const Paint* parent, bool hasChildren)) noexcept;
+
1541 };
1542 
-
1543  _TVG_DECLARE_PRIVATE(Saver);
-
1544 };
-
1545 
-
1548 } //namespace
-
1549 
-
1550 #ifdef __cplusplus
-
1551 }
-
1552 #endif
-
1553 
-
1554 #endif //_THORVG_H_
+
1543 
+
1546 } //namespace
+
1547 
+
1548 #ifdef __cplusplus
+
1549 }
+
1550 #endif
+
1551 
+
1552 #endif //_THORVG_H_
-
A data structure storing the information about the color and its relative position inside the gradien...
Definition: thorvg.h:375
+
A data structure storing the information about the color and its relative position inside the gradien...
Definition: thorvg.h:368
@ MemoryCorruption
The value returned in the event of bad memory handling - e.g. failing in pointer releasing or casting...
@ InvalidArguments
The value returned in the event of a problem with the arguments given to the API - e....
-
An abstract class for managing graphical elements.
Definition: thorvg.h:197
-
@ ABGR8888_STRAIGHT
@BETA_API The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premulti...
Definition: thorvg.h:1315
+
An abstract class for managing graphical elements.
Definition: thorvg.h:193
+
@ ABGR8888_STRAIGHT
@BETA_API The channels are joined in the order: alpha, blue, green, red. Colors are un-alpha-premulti...
Definition: thorvg.h:1305
@ Repeat
The gradient pattern is repeated continuously beyond the gradient area until the expected region is f...
-
StrokeCap
Enumeration determining the ending type of a stroke in the open sub-paths.
Definition: thorvg.h:107
+
StrokeCap
Enumeration determining the ending type of a stroke in the open sub-paths.
Definition: thorvg.h:103
@ Winding
A line from the point to a location outside the shape is drawn. The intersections of the line with th...
@ NonSupport
The value returned in case of choosing unsupported options.
@ Gl
OpenGL rasterizer.
-
Colorspace
Enumeration specifying the methods of combining the 8-bit color channels into 32-bit color.
Definition: thorvg.h:1311
-
FillRule
Enumeration specifying the algorithm used to establish which parts of the shape are treated as the in...
Definition: thorvg.h:137
+
Colorspace
Enumeration specifying the methods of combining the 8-bit color channels into 32-bit color.
Definition: thorvg.h:1301
+
FillRule
Enumeration specifying the algorithm used to establish which parts of the shape are treated as the in...
Definition: thorvg.h:133
@ Sw
CPU rasterizer.
-
Result
Enumeration specifying the result from the APIs.
Definition: thorvg.h:79
-
@ ARGB8888
The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied.
Definition: thorvg.h:1314
-
FillSpread
Enumeration specifying how to fill the area outside the gradient bounds.
Definition: thorvg.h:127
+
Result
Enumeration specifying the result from the APIs.
Definition: thorvg.h:75
+
@ ARGB8888
The channels are joined in the order: alpha, red, green, blue. Colors are alpha-premultiplied.
Definition: thorvg.h:1304
+
FillSpread
Enumeration specifying how to fill the area outside the gradient bounds.
Definition: thorvg.h:123
@ Success
The value returned in case of a correct request execution.
-
uint8_t r
Definition: thorvg.h:378
+
uint8_t r
Definition: thorvg.h:371
@ Butt
The stroke ends exactly at each of the two end-points of a sub-path. For zero length sub-paths no str...
@ MoveTo
Sets a new initial point of the sub-path and a new current point. This command expects 1 point: the s...
-
float offset
Definition: thorvg.h:377
-
CanvasEngine
Enumeration specifying the engine type used for the graphics backend. For multiple backends bitwise o...
Definition: thorvg.h:157
-
A class for the rendering graphical elements with a software raster engine.
Definition: thorvg.h:1303
-
@ Shareable
Memory Pool is shared among the SwCanvases.
Definition: thorvg.h:1326
-
CompositeMethod
Enumeration indicating the method used in the composition of two objects - the target and the source.
Definition: thorvg.h:146
-
A data structure representing a point in two-dimensional space.
Definition: thorvg.h:167
-
A class to composite children paints.
Definition: thorvg.h:1229
-
PathCommand
Enumeration specifying the values of the path commands accepted by TVG.
Definition: thorvg.h:96
-
A class for the rendering graphic elements with a GL raster engine.
Definition: thorvg.h:1394
-
uint8_t b
Definition: thorvg.h:380
+
float offset
Definition: thorvg.h:370
+
CanvasEngine
Enumeration specifying the engine type used for the graphics backend. For multiple backends bitwise o...
Definition: thorvg.h:153
+
A class for the rendering graphical elements with a software raster engine.
Definition: thorvg.h:1293
+
@ Shareable
Memory Pool is shared among the SwCanvases.
Definition: thorvg.h:1316
+
CompositeMethod
Enumeration indicating the method used in the composition of two objects - the target and the source.
Definition: thorvg.h:142
+
A data structure representing a point in two-dimensional space.
Definition: thorvg.h:163
+
A class to composite children paints.
Definition: thorvg.h:1219
+
PathCommand
Enumeration specifying the values of the path commands accepted by TVG.
Definition: thorvg.h:92
+
A class for the rendering graphic elements with a GL raster engine.
Definition: thorvg.h:1384
+
uint8_t b
Definition: thorvg.h:373
@ ClipPath
The intersection of the source and the target is determined and only the resulting pixels from the so...
-
A class representing two-dimensional figures and their properties.
Definition: thorvg.h:708
+
A class representing two-dimensional figures and their properties.
Definition: thorvg.h:696
@ Reflect
The gradient pattern is reflected outside the gradient area until the expected region is filled.
-
An abstract class representing the gradient fill of the Shape object.
Definition: thorvg.h:369
-
uint8_t a
Definition: thorvg.h:381
+
An abstract class representing the gradient fill of the Shape object.
Definition: thorvg.h:362
+
uint8_t a
Definition: thorvg.h:374
@ Round
The stroke is extended in both end-points of a sub-path by a half circle, with a radius equal to the ...
@ None
No composition is applied.
@ Unknown
The value returned in all other cases.
@ CubicTo
Draws a cubic Bezier curve from the current point to the given point using two given control points a...
@ InvAlphaMask
The pixels of the source and the complement to the target's pixels are alpha blended....
-
A class that enables initialization and termination of the TVG engines.
Definition: thorvg.h:1426
+
A class that enables initialization and termination of the TVG engines.
Definition: thorvg.h:1416
@ AlphaMask
The pixels of the source and the target are alpha blended. As a result, only the part of the source,...
@ Miter
The outer corner of the joined path segments is spiked. The spike is created by extension beyond the ...
@ LineTo
Draws a line from the current point to the given point and sets a new value of the current point....
@ FailedAllocation
The value returned in case of unsuccessful memory allocation.
@ EvenOdd
A line from the point to a location outside the shape is drawn and its intersections with the path se...
-
@ ARGB8888_STRAIGHT
@BETA_API The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premulti...
Definition: thorvg.h:1316
-
A data structure representing a three-dimensional matrix.
Definition: thorvg.h:180
-
MempoolPolicy
Enumeration specifying the methods of Memory Pool behavior policy.
Definition: thorvg.h:1323
+
@ ARGB8888_STRAIGHT
@BETA_API The channels are joined in the order: alpha, red, green, blue. Colors are un-alpha-premulti...
Definition: thorvg.h:1306
+
A data structure representing a three-dimensional matrix.
Definition: thorvg.h:176
+
MempoolPolicy
Enumeration specifying the methods of Memory Pool behavior policy.
Definition: thorvg.h:1313
@ InsufficientCondition
The value returned in case the request cannot be processed - e.g. asking for properties of an object,...
@ Bevel
The outer corner of the joined path segments is bevelled at the join point. The triangular region of ...
@ Close
Ends the current sub-path and connects it with its initial point. This command doesn't expect any poi...
@ Pad
The remaining area is filled with the closest stop color.
-
StrokeJoin
Enumeration determining the style used at the corners of joined stroked path segments.
Definition: thorvg.h:117
-
A class representing the linear gradient fill of the Shape object.
Definition: thorvg.h:576
-
A class representing an image read in one of the supported formats: raw, svg, png,...
Definition: thorvg.h:1089
-
A class representing the radial gradient fill of the Shape object.
Definition: thorvg.h:643
-
An abstract class for drawing graphical elements.
Definition: thorvg.h:480
-
uint8_t g
Definition: thorvg.h:379
-
uint32_t identifier() const
Return the unique id value of the paint instance.
Definition: thorvg.h:350
-
A class for exporting a paint object into a specified file, from which to recover the paint data late...
Definition: thorvg.h:1488
+
StrokeJoin
Enumeration determining the style used at the corners of joined stroked path segments.
Definition: thorvg.h:113
+
A class representing the linear gradient fill of the Shape object.
Definition: thorvg.h:564
+
A class representing an image read in one of the supported formats: raw, svg, png,...
Definition: thorvg.h:1077
+
A class representing the radial gradient fill of the Shape object.
Definition: thorvg.h:631
+
An abstract class for drawing graphical elements.
Definition: thorvg.h:468
+
uint8_t g
Definition: thorvg.h:372
+
A class for exporting a paint object into a specified file, from which to recover the paint data late...
Definition: thorvg.h:1478
@ Square
The stroke is extended in both end-points of a sub-path by a rectangle, with the width equal to the s...