summaryrefslogtreecommitdiffstats
path: root/art_rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'art_rect.h')
-rw-r--r--art_rect.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/art_rect.h b/art_rect.h
index 088079f..aed873a 100644
--- a/art_rect.h
+++ b/art_rect.h
@@ -20,6 +20,12 @@
#ifndef __ART_RECT_H__
#define __ART_RECT_H__
+#ifdef LIBART_COMPILATION
+#include "art_config.h"
+#else
+#include <libart_lgpl/art_config.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -38,38 +44,38 @@ struct _ArtIRect {
};
/* Make a copy of the rectangle. */
-void art_irect_copy (ArtIRect *dest, const ArtIRect *src);
+LIBART_EXPORT void art_irect_copy (ArtIRect *dest, const ArtIRect *src);
/* Find the smallest rectangle that includes both source rectangles. */
-void art_irect_union (ArtIRect *dest,
+LIBART_EXPORT void art_irect_union (ArtIRect *dest,
const ArtIRect *src1, const ArtIRect *src2);
/* Return the intersection of the two rectangles */
-void art_irect_intersect (ArtIRect *dest,
+LIBART_EXPORT void art_irect_intersect (ArtIRect *dest,
const ArtIRect *src1, const ArtIRect *src2);
/* Return true if the rectangle is empty. */
-int art_irect_empty (const ArtIRect *src);
+LIBART_EXPORT int art_irect_empty (const ArtIRect *src);
/* Make a copy of the rectangle. */
-void art_drect_copy (ArtDRect *dest, const ArtDRect *src);
+LIBART_EXPORT void art_drect_copy (ArtDRect *dest, const ArtDRect *src);
/* Find the smallest rectangle that includes both source rectangles. */
-void art_drect_union (ArtDRect *dest,
+LIBART_EXPORT void art_drect_union (ArtDRect *dest,
const ArtDRect *src1, const ArtDRect *src2);
/* Return the intersection of the two rectangles */
-void art_drect_intersect (ArtDRect *dest,
+LIBART_EXPORT void art_drect_intersect (ArtDRect *dest,
const ArtDRect *src1, const ArtDRect *src2);
/* Return true if the rectangle is empty. */
-int art_drect_empty (const ArtDRect *src);
+LIBART_EXPORT int art_drect_empty (const ArtDRect *src);
-void
+LIBART_EXPORT void
art_drect_affine_transform (ArtDRect *dst, const ArtDRect *src,
const double matrix[6]);
-void art_drect_to_irect (ArtIRect *dst, ArtDRect *src);
+LIBART_EXPORT void art_drect_to_irect (ArtIRect *dst, ArtDRect *src);
#ifdef __cplusplus
}