fix visibility of agg headers needed for svg2png built with -fvisibility=hidden - similiar to #1860

This commit is contained in:
Dane Springmeyer 2014-10-01 10:34:42 -07:00
parent d9b9b0efac
commit 24e1bcfeec
4 changed files with 15 additions and 11 deletions

View file

@ -19,6 +19,8 @@
#include "agg_array.h"
#include <mapnik/config.hpp>
namespace agg
{
@ -32,7 +34,7 @@ namespace agg
};
//--------------------------------------------------------------curve3_inc
class curve3_inc
class MAPNIK_DECL curve3_inc
{
public:
curve3_inc() :
@ -91,7 +93,7 @@ namespace agg
//-------------------------------------------------------------curve3_div
class curve3_div
class MAPNIK_DECL curve3_div
{
public:
curve3_div() :
@ -164,7 +166,7 @@ namespace agg
//-------------------------------------------------------------curve4_points
struct curve4_points
struct MAPNIK_DECL curve4_points
{
double cp[8];
curve4_points() {}
@ -191,7 +193,7 @@ namespace agg
//-------------------------------------------------------------curve4_inc
class curve4_inc
class MAPNIK_DECL curve4_inc
{
public:
curve4_inc() :
@ -371,7 +373,7 @@ namespace agg
//-------------------------------------------------------------curve4_div
class curve4_div
class MAPNIK_DECL curve4_div
{
public:
curve4_div() :
@ -471,7 +473,7 @@ namespace agg
//-----------------------------------------------------------------curve3
class curve3
class MAPNIK_DECL curve3
{
public:
curve3() : m_approximation_method(curve_div) {}
@ -576,7 +578,7 @@ namespace agg
//-----------------------------------------------------------------curve4
class curve4
class MAPNIK_DECL curve4
{
public:
curve4() : m_approximation_method(curve_div) {}

View file

@ -21,6 +21,7 @@
#include <cmath>
#include "agg_basics.h"
#include <mapnik/config.hpp>
namespace agg
{
@ -84,7 +85,7 @@ namespace agg
// m *= agg::trans_affine_rotation(30.0 * 3.1415926 / 180.0); // rotate
// m *= agg::trans_affine_translation(100.0, 100.0); // move back to (100,100)
//----------------------------------------------------------------------
struct trans_affine
struct MAPNIK_DECL trans_affine
{
static const trans_affine identity;
double sx, shy, shx, sy, tx, ty;

View file

@ -17,6 +17,7 @@
#define AGG_VCGEN_CONTOUR_INCLUDED
#include "agg_math_stroke.h"
#include <mapnik/config.hpp>
namespace agg
{
@ -25,7 +26,7 @@ namespace agg
//
// See Implementation agg_vcgen_contour.cpp
//
class vcgen_contour
class MAPNIK_DECL vcgen_contour
{
enum status_e
{

View file

@ -17,7 +17,7 @@
#define AGG_VCGEN_STROKE_INCLUDED
#include "agg_math_stroke.h"
#include <mapnik/config.hpp>
namespace agg
{
@ -28,7 +28,7 @@ namespace agg
// Stroke generator
//
//------------------------------------------------------------------------
class vcgen_stroke
class MAPNIK_DECL vcgen_stroke
{
enum status_e
{