summaryrefslogtreecommitdiffstats
path: root/art_svp_render_aa.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-04-22 20:57:31 +0200
committerSlávek Banko <[email protected]>2019-04-28 16:05:06 +0200
commitb314a5b4a87c2c84b77a801348b05c819a44ef7b (patch)
tree9f5d5520de3d05096a84b6a1af7f65d48960a33a /art_svp_render_aa.h
parentdb23722ddb8507a7954d1cecf6217823b2052388 (diff)
downloadlibart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.tar.gz
libart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.zip
Add support for GCC hidden visibility.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 2a50894a436559785a7e0f6f65dde13b0082572c)
Diffstat (limited to 'art_svp_render_aa.h')
-rw-r--r--art_svp_render_aa.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/art_svp_render_aa.h b/art_svp_render_aa.h
index bb3d885..06d67df 100644
--- a/art_svp_render_aa.h
+++ b/art_svp_render_aa.h
@@ -23,8 +23,10 @@
/* The spiffy antialiased renderer for sorted vector paths. */
#ifdef LIBART_COMPILATION
+#include "art_config.h"
#include "art_svp.h"
#else
+#include <libart_lgpl/art_config.h>
#include <libart_lgpl/art_svp.h>
#endif
@@ -40,18 +42,18 @@ struct _ArtSVPRenderAAStep {
int delta; /* stored with 16 fractional bits */
};
-ArtSVPRenderAAIter *
+LIBART_EXPORT ArtSVPRenderAAIter *
art_svp_render_aa_iter (const ArtSVP *svp,
int x0, int y0, int x1, int y1);
-void
+LIBART_EXPORT void
art_svp_render_aa_iter_step (ArtSVPRenderAAIter *iter, int *p_start,
ArtSVPRenderAAStep **p_steps, int *p_n_steps);
-void
+LIBART_EXPORT void
art_svp_render_aa_iter_done (ArtSVPRenderAAIter *iter);
-void
+LIBART_EXPORT void
art_svp_render_aa (const ArtSVP *svp,
int x0, int y0, int x1, int y1,
void (*callback) (void *callback_data,