summaryrefslogtreecommitdiffstats
path: root/art_render.h
diff options
context:
space:
mode:
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__ */
-