ThorVG
v0.6
|
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, jpg and raw. | |
Scene | |
A module managing the multiple paints as one group paint. | |
Saver | |
A module for exporting a paint object into a specified file. | |
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. | |
typedef struct _Tvg_Saver | Tvg_Saver |
A structure representing an object that enables to save a Tvg_Paint object into a file. | |
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.