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 @@
 |
ThorVG
- v0.13
+ v0.14
|
@@ -152,630 +152,637 @@ $(document).ready(function(){initNavTree('thorvg_8h_source.html',''); initResiza
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- 381 TVG_DEPRECATED
Result bounds(
float* x,
float* y,
float* w,
float* h) const noexcept;
-
- 398 Result bounds(
float* x,
float* y,
float* w,
float* h,
bool transformed) const noexcept;
-
-
-
- 414 uint8_t opacity() const noexcept;
-
-
-
-
-
- 443 uint32_t identifier() const noexcept;
-
- 445 _TVG_DECLARE_PRIVATE(
Paint);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 360 TVG_DEPRECATED
Result bounds(
float* x,
float* y,
float* w,
float* h) const noexcept;
+
+ 375 Result bounds(
float* x,
float* y,
float* w,
float* h,
bool transformed) const noexcept;
+
+
+
+ 391 uint8_t opacity() const noexcept;
+
+
+
+
+
+ 420 uint32_t identifier() const noexcept;
+
+ 422 _TVG_DECLARE_PRIVATE(
Paint);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- 539 Fill* duplicate() const noexcept;
+
+
+
+
+ 510 Fill* duplicate() const noexcept;
+
+ 519 uint32_t identifier() const noexcept;
+
+ 521 _TVG_DECLARE_PRIVATE(
Fill);
+
+
+
+
+
+
+
+
- 548 uint32_t identifier() const noexcept;
-
- 550 _TVG_DECLARE_PRIVATE(
Fill);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 626 virtual
Result clear(
bool free = true) noexcept;
+ 541 TVG_DEPRECATED
Result reserve(uint32_t n) noexcept;
+
+
+
+
+
+ 584 virtual
Result clear(
bool free = true) noexcept;
+
+
+
+
+
+ 626 virtual
Result viewport(int32_t x, int32_t y, int32_t w, int32_t h) noexcept;
-
+
+
+ 638 _TVG_DECLARE_PRIVATE(
Canvas);
+
+
-
-
-
-
- 663 _TVG_DECLARE_PRIVATE(
Canvas);
-
-
-
-
-
-
-
-
-
-
- 712 Result linear(
float* x1,
float* y1,
float* x2,
float* y2)
const noexcept;
-
- 719 static std::unique_ptr<LinearGradient>
gen() noexcept;
-
- 728 static uint32_t identifier() noexcept;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 776 static std::unique_ptr<RadialGradient>
gen() noexcept;
+
+
+
+
+
+
+
+ 683 Result linear(
float* x1,
float* y1,
float* x2,
float* y2)
const noexcept;
+
+ 690 static std::unique_ptr<LinearGradient>
gen() noexcept;
+
+ 699 static uint32_t identifier() noexcept;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 746 static std::unique_ptr<RadialGradient>
gen() noexcept;
+
+ 755 static uint32_t identifier() noexcept;
+
+
+
+
+
+
+
+
+
- 785 static uint32_t identifier() noexcept;
+
-
-
-
-
-
-
-
-
-
-
-
- 829 Result moveTo(
float x,
float y) noexcept;
-
- 843 Result lineTo(
float x,
float y) noexcept;
-
- 862 Result cubicTo(
float cx1,
float cy1,
float cx2,
float cy2,
float x,
float y) noexcept;
-
-
-
- 899 Result appendRect(
float x,
float y,
float w,
float h,
float rx = 0,
float ry = 0) noexcept;
-
- 917 Result appendCircle(
float cx,
float cy,
float rx,
float ry) noexcept;
-
- 936 Result appendArc(
float cx,
float cy,
float radius,
float startAngle,
float sweep,
bool pie) noexcept;
-
-
-
-
-
- 975 Result stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
-
-
-
- 1001 Result stroke(const
float* dashPattern, uint32_t cnt) noexcept;
-
-
-
-
-
-
- 1033 Result strokeMiterlimit(
float miterlimit) noexcept;
+ 795 Result moveTo(
float x,
float y) noexcept;
+
+ 807 Result lineTo(
float x,
float y) noexcept;
+
+ 824 Result cubicTo(
float cx1,
float cy1,
float cx2,
float cy2,
float x,
float y) noexcept;
+
+
+
+ 857 Result appendRect(
float x,
float y,
float w,
float h,
float rx = 0,
float ry = 0) noexcept;
+
+ 874 Result appendCircle(
float cx,
float cy,
float rx,
float ry) noexcept;
+
+ 891 Result appendArc(
float cx,
float cy,
float radius,
float startAngle,
float sweep,
bool pie) noexcept;
+
+
+
+
+
+ 926 Result stroke(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
+
+
+
+ 948 Result stroke(const
float* dashPattern, uint32_t cnt) noexcept;
+
+
+
+
+
+ 977 Result strokeMiterlimit(
float miterlimit) noexcept;
+
+ 991 Result strokeTrim(
float begin,
float end,
bool simultaneous = true) noexcept;
+
+ 1006 Result fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
+
+
+
+
+
+
- 1050 Result fill(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) noexcept;
-
-
-
-
-
-
-
+
+
+ 1051 uint32_t pathCoords(const
Point** pts) const noexcept;
+
+
+
+ 1070 Result fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a =
nullptr) const noexcept;
+
+
+
+ 1084 float strokeWidth() const noexcept;
-
-
-
- 1103 uint32_t pathCoords(const
Point** pts) const noexcept;
-
-
-
- 1122 Result fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a =
nullptr) const noexcept;
-
-
-
- 1136 float strokeWidth() const noexcept;
-
- 1148 Result strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a =
nullptr) const noexcept;
-
- 1155 const
Fill* strokeFill() const noexcept;
-
- 1164 uint32_t strokeDash(const
float** dashPattern) const noexcept;
-
-
-
-
-
- 1187 float strokeMiterlimit() const noexcept;
-
- 1194 static std::unique_ptr<
Shape> gen() noexcept;
-
- 1203 static uint32_t identifier() noexcept;
-
- 1205 _TVG_DECLARE_PRIVATE(
Shape);
-
-
-
-
-
-
-
-
-
-
- 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;
+
+ 1102 const
Fill* strokeFill() const noexcept;
+
+ 1111 uint32_t strokeDash(const
float** dashPattern) const noexcept;
+
+
+
+
+
+ 1134 float strokeMiterlimit() const noexcept;
+
+ 1146 bool strokeTrim(
float* begin,
float* end) const noexcept;
+
+ 1153 static std::unique_ptr<
Shape> gen() noexcept;
+
+ 1162 static uint32_t identifier() noexcept;
+
+ 1164 _TVG_DECLARE_PRIVATE(
Shape);
+
+
+
+
+
+
+
+
+
+
+ 1202 TVG_DEPRECATED
Result load(
const char* data, uint32_t size,
bool copy =
false) noexcept;
+
+ 1224 Result load(const
char* data, uint32_t size, const std::
string& mimeType,
bool copy = false) noexcept;
+
+
+
+ 1245 Result size(
float* w,
float* h) const noexcept;
+
+ 1262 Result load(uint32_t* data, uint32_t w, uint32_t h,
bool copy) noexcept;
- 1282 Result load(const
char* data, uint32_t size, const std::
string& mimeType,
bool copy = false) noexcept;
-
-
-
- 1305 Result size(
float* w,
float* h) const noexcept;
-
- 1326 Result load(uint32_t* data, uint32_t w, uint32_t h,
bool copy) noexcept;
-
-
+
+
+ 1297 uint32_t mesh(const
Polygon** triangles) const noexcept;
+
+
+
+ 1313 static uint32_t identifier() noexcept;
+
+
+ 1316 _TVG_DECLARE_PRIVATE(
Picture);
+
+
+
+
+
+
+
+
+
+
+ 1350 TVG_DEPRECATED
Result reserve(uint32_t size) noexcept;
- 1364 uint32_t mesh(const
Polygon** triangles) const noexcept;
+
-
-
- 1380 static uint32_t identifier() noexcept;
-
-
- 1383 _TVG_DECLARE_PRIVATE(
Picture);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1464 static std::unique_ptr<
Scene> gen() noexcept;
-
- 1473 static uint32_t identifier() noexcept;
-
- 1475 _TVG_DECLARE_PRIVATE(
Scene);
-
-
-
-
-
-
-
-
- 1507 Result font(
const char* name,
float size,
const char* style =
nullptr) noexcept;
-
-
-
- 1537 Result fill(uint8_t r, uint8_t g, uint8_t b) noexcept;
-
-
-
- 1574 static
Result load(const std::
string& path) noexcept;
-
- 1591 static
Result unload(const std::
string& path) noexcept;
-
- 1600 static std::unique_ptr<
Text> gen() noexcept;
-
- 1609 static uint32_t identifier() noexcept;
-
- 1611 _TVG_DECLARE_PRIVATE(
Text);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1696 static std::unique_ptr<SwCanvas>
gen() noexcept;
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 1383 static std::unique_ptr<
Scene> gen() noexcept;
+
+ 1392 static uint32_t identifier() noexcept;
+
+ 1394 _TVG_DECLARE_PRIVATE(
Scene);
+
+
+
+
+
+
+
+
+ 1425 Result font(
const char* name,
float size,
const char* style =
nullptr) noexcept;
+
+
+
+ 1452 Result fill(uint8_t r, uint8_t g, uint8_t b) noexcept;
+
+
+
+ 1486 static
Result load(const std::
string& path) noexcept;
+
+ 1513 static
Result load(const
char* name, const
char* data, uint32_t size, const std::
string& mimeType = "ttf",
bool copy = false) noexcept;
+
+ 1529 static
Result unload(const std::
string& path) noexcept;
+
+ 1538 static std::unique_ptr<
Text> gen() noexcept;
+
+ 1547 static uint32_t identifier() noexcept;
+
+ 1549 _TVG_DECLARE_PRIVATE(
Text);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1635 static std::unique_ptr<SwCanvas>
gen() noexcept;
+
+
+
+
+
+
+
+
+
+
+
+
+ 1683 static std::unique_ptr<GlCanvas>
gen() noexcept;
+
+
+
+
+
+
+
+
+
+
+ 1719 Result target(
void* instance,
void* surface, uint32_t w, uint32_t h) noexcept;
+
+ 1728 static std::unique_ptr<WgCanvas>
gen() noexcept;
+
+
+
+
- 1741 static std::unique_ptr<GlCanvas>
gen() noexcept;
-
-
-
-
-
-
-
-
-
-
-
-
- 1777 static std::unique_ptr<WgCanvas>
gen() noexcept;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1834 float curFrame() const noexcept;
+
+ 1845 float totalFrame() const noexcept;
-
-
-
-
- 1886 float curFrame() const noexcept;
-
- 1897 float totalFrame() const noexcept;
+ 1855 float duration() const noexcept;
+
+ 1876 Result segment(
float begin,
float end) noexcept;
+
+ 1889 Result segment(
float* begin,
float* end =
nullptr) noexcept;
+
+
- 1907 float duration() const noexcept;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1974 Result save(std::unique_ptr<Paint> paint,
const std::string& path,
bool compress =
true) noexcept;
-
- 1999 Result save(std::unique_ptr<
Animation> animation, const std::
string& path, uint32_t quality = 100, uint32_t fps = 0) noexcept;
-
-
-
- 2025 static std::unique_ptr<
Saver> gen() noexcept;
-
- 2027 _TVG_DECLARE_PRIVATE(
Saver);
-
-
-
-
-
-
-
-
- 2057 std::unique_ptr<Picture>
set(std::unique_ptr<Picture> picture, std::function<
bool(
const Paint* paint)> func) noexcept;
-
- 2064 static std::unique_ptr<Accessor>
gen() noexcept;
+
+
+
+
+
+
+
+
+
+
+
+ 1954 Result save(std::unique_ptr<Paint> paint,
const std::string& path,
bool compress =
true) noexcept;
+
+ 1977 Result save(std::unique_ptr<
Animation> animation, const std::
string& path, uint32_t quality = 100, uint32_t fps = 0) noexcept;
+
+
+
+ 2000 static std::unique_ptr<
Saver> gen() noexcept;
+
+ 2002 _TVG_DECLARE_PRIVATE(
Saver);
+
+
+
+
+
+
+
+
+ 2032 std::unique_ptr<Picture>
set(std::unique_ptr<Picture> picture, std::function<
bool(
const Paint* paint)> func) noexcept;
+
+ 2039 static std::unique_ptr<Accessor>
gen() noexcept;
+
+
+
+
+
+ 2049 template<typename T = tvg::
Paint>
+
+
+ 2052 return std::unique_ptr<T>(
static_cast<T*
>(paint));
+
+
+
+ 2060 template<
typename T = tvg::Fill>
+
+
+ 2063 return std::unique_ptr<T>(
static_cast<T*
>(fill));
+
-
-
-
-
- 2074 template<typename T = tvg::
Paint>
-
-
- 2077 return std::unique_ptr<T>(
static_cast<T*
>(paint));
-
-
-
- 2085 template<
typename T = tvg::Fill>
-
-
- 2088 return std::unique_ptr<T>(
static_cast<T*
>(fill));
-
-
-
-
-
-
-The Accessor is a utility class to debug the Scene structure by traversing the scene-tree.
Definition: thorvg.h:2043
+
+
+
+
+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