thorvg_capi.h

The module provides C bindings for the ThorVG library. Please refer to src/examples/Capi.cpp to find the thorvg_capi usage examples.

The thorvg_capi module allows to implement the ThorVG client and provides the following functionalities:

  • drawing shapes: line, arc, curve, polygon, circle, user-defined, ...

  • filling: solid, linear and radial gradient

  • scene graph & affine transformation (translation, rotation, scale, ...)

  • stroking: width, join, cap, dash

  • composition: blending, masking, path clipping

  • pictures: SVG, PNG, JPG, bitmap