ThorVG
v0.1
ThorVG is a platform-independent portable library for drawing vector-based scene and animation. It's an open-source software that is freely used by a variety of software platforms and applications. ThorVG provides neat and easy APIs, its library has no dependencies and keeps cheap and super compact size. It serves as the vector graphics engine for Tizen OS that powers many products.
|
ThorVG C language binding APIs. More...
![]() |
Modules | |
Initializer | |
A module enabling initialization and termination of the TVG engines. | |
Canvas | |
A module for managing and drawing graphical elements. | |
Paint | |
A module for managing graphical elements. It enables duplication, transformation and composition. | |
Shape | |
A module for managing two-dimensional figures and their properties. | |
Gradient | |
A module managing the gradient fill of objects. | |
Picture | |
A module enabling to create and to load an image in one of the supported formats: svg, png and raw. | |
Scene | |
A module managing the multiple paints as one group paint. | |
Classes | |
struct | Tvg_Point |
A data structure representing a point in two-dimensional space. More... | |
struct | Tvg_Matrix |
A data structure representing a three-dimensional matrix. More... | |
Typedefs | |
typedef struct _Tvg_Canvas | Tvg_Canvas |
A structure responsible for managing and drawing graphical elements. More... | |
typedef struct _Tvg_Paint | Tvg_Paint |
A structure representing a graphical element. More... | |
typedef struct _Tvg_Gradient | Tvg_Gradient |
A structure representing a gradient fill of a Tvg_Paint object. | |
Enumerations | |
enum | Tvg_Result { TVG_RESULT_SUCCESS = 0, TVG_RESULT_INVALID_ARGUMENT, TVG_RESULT_INSUFFICIENT_CONDITION, TVG_RESULT_FAILED_ALLOCATION, TVG_RESULT_MEMORY_CORRUPTION, TVG_RESULT_NOT_SUPPORTED, TVG_RESULT_UNKNOWN } |
Enumeration specifying the result from the APIs. More... | |
ThorVG C language binding APIs.
typedef struct _Tvg_Canvas Tvg_Canvas |
A structure responsible for managing and drawing graphical elements.
It sets up the target buffer, which can be drawn on the screen. It stores the Tvg_Paint objects (Shape, Scene, Picture).
typedef struct _Tvg_Paint Tvg_Paint |
A structure representing a graphical element.
enum Tvg_Result |
Enumeration specifying the result from the APIs.