diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-04-22 20:57:31 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-04-23 20:48:39 +0200 |
commit | 2a50894a436559785a7e0f6f65dde13b0082572c (patch) | |
tree | 560491aa8af08f16cb61cf8815aca8b5100d9e1d /art_rgb_svp.h | |
parent | 87237501c51b48ba3b802efbd47776bb7e410c2a (diff) | |
download | libart-lgpl-2a50894a436559785a7e0f6f65dde13b0082572c.tar.gz libart-lgpl-2a50894a436559785a7e0f6f65dde13b0082572c.zip |
Add support for GCC hidden visibility.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'art_rgb_svp.h')
-rw-r--r-- | art_rgb_svp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/art_rgb_svp.h b/art_rgb_svp.h index d5c3dec..c54b53f 100644 --- a/art_rgb_svp.h +++ b/art_rgb_svp.h @@ -23,9 +23,11 @@ /* Render a sorted vector path into an RGB buffer. */ #ifdef LIBART_COMPILATION +#include "art_config.h" #include "art_alphagamma.h" #include "art_svp.h" #else +#include <libart_lgpl/art_config.h> #include <libart_lgpl/art_alphagamma.h> #include <libart_lgpl/art_svp.h> #endif @@ -34,14 +36,14 @@ extern "C" { #endif /* __cplusplus */ -void +LIBART_EXPORT void art_rgb_svp_aa (const ArtSVP *svp, int x0, int y0, int x1, int y1, art_u32 fg_color, art_u32 bg_color, art_u8 *buf, int rowstride, ArtAlphaGamma *alphagamma); -void +LIBART_EXPORT void art_rgb_svp_alpha (const ArtSVP *svp, int x0, int y0, int x1, int y1, art_u32 rgba, |