summaryrefslogtreecommitdiffstats
path: root/art_render.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-04-22 20:57:31 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-28 16:05:06 +0200
commitb314a5b4a87c2c84b77a801348b05c819a44ef7b (patch)
tree9f5d5520de3d05096a84b6a1af7f65d48960a33a /art_render.h
parentdb23722ddb8507a7954d1cecf6217823b2052388 (diff)
downloadlibart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.tar.gz
libart-lgpl-b314a5b4a87c2c84b77a801348b05c819a44ef7b.zip
Add support for GCC hidden visibility.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2a50894a436559785a7e0f6f65dde13b0082572c)
Diffstat (limited to 'art_render.h')
-rw-r--r--art_render.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/art_render.h b/art_render.h
index 5e19289..222f705 100644
--- a/art_render.h
+++ b/art_render.h
@@ -24,8 +24,10 @@
#define __ART_RENDER_H__
#ifdef LIBART_COMPILATION
+#include "art_config.h"
#include "art_alphagamma.h"
#else
+#include <libart_lgpl/art_config.h>
#include <libart_lgpl/art_alphagamma.h>
#endif
@@ -143,36 +145,36 @@ struct _ArtRender {
art_boolean need_span;
};
-ArtRender *
+LIBART_EXPORT ArtRender *
art_render_new (int x0, int y0, int x1, int y1,
art_u8 *pixels, int rowstride,
int n_chan, int depth, ArtAlphaType alpha_type,
ArtAlphaGamma *alphagamma);
-void
+LIBART_EXPORT void
art_render_invoke (ArtRender *render);
-void
+LIBART_EXPORT void
art_render_clear (ArtRender *render, const ArtPixMaxDepth *clear_color);
-void
+LIBART_EXPORT void
art_render_clear_rgb (ArtRender *render, art_u32 clear_rgb);
-void
+LIBART_EXPORT void
art_render_mask_solid (ArtRender *render, int opacity);
-void
+LIBART_EXPORT void
art_render_image_solid (ArtRender *render, ArtPixMaxDepth *color);
/* The next two functions are for custom mask sources only. */
-void
+LIBART_EXPORT void
art_render_add_mask_source (ArtRender *render, ArtMaskSource *mask_source);
-void
+LIBART_EXPORT void
art_render_invoke_callbacks (ArtRender *render, art_u8 *dest, int y);
/* The following function is for custom image sources only. */
-void
+LIBART_EXPORT void
art_render_add_image_source (ArtRender *render, ArtImageSource *image_source);
#ifdef __cplusplus
@@ -180,4 +182,3 @@ art_render_add_image_source (ArtRender *render, ArtImageSource *image_source);
#endif /* __cplusplus */
#endif /* __ART_RENDER_H__ */
-