diff options
Diffstat (limited to 'art_vpath.h')
-rw-r--r-- | art_vpath.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/art_vpath.h b/art_vpath.h index 4499e77..6b3d3f6 100644 --- a/art_vpath.h +++ b/art_vpath.h @@ -21,9 +21,11 @@ #define __ART_VPATH_H__ #ifdef LIBART_COMPILATION +#include "art_config.h" #include "art_rect.h" #include "art_pathcode.h" #else +#include <libart_lgpl/art_config.h> #include <libart_lgpl/art_rect.h> #include <libart_lgpl/art_pathcode.h> #endif @@ -45,23 +47,23 @@ struct _ArtVpath { /* Some of the functions need to go into their own modules */ -void +LIBART_EXPORT void art_vpath_add_point (ArtVpath **p_vpath, int *pn_points, int *pn_points_max, ArtPathcode code, double x, double y); -ArtVpath * +LIBART_EXPORT ArtVpath * art_vpath_new_circle (double x, double y, double r); -ArtVpath * +LIBART_EXPORT ArtVpath * art_vpath_affine_transform (const ArtVpath *src, const double matrix[6]); -void +LIBART_EXPORT void art_vpath_bbox_drect (const ArtVpath *vec, ArtDRect *drect); -void +LIBART_EXPORT void art_vpath_bbox_irect (const ArtVpath *vec, ArtIRect *irect); -ArtVpath * +LIBART_EXPORT ArtVpath * art_vpath_perturb (ArtVpath *src); #ifdef __cplusplus |