5 #ifndef MERCATOR_AREA_H
6 #define MERCATOR_AREA_H
8 #include <Mercator/Effector.h>
10 #include <wfmath/axisbox.h>
11 #include <wfmath/polygon.h>
35 Area(
int layer,
bool hole);
44 void setShape(
const WFMath::Polygon<2>& p);
46 void setShader(
const Shader * shader)
const;
49 bool contains(WFMath::CoordType x, WFMath::CoordType y)
const;
64 const WFMath::Polygon<2> &
shape()
const
69 const Shader * getShader()
const
74 int addToSegment(Segment &)
const;
75 void updateToSegment(Segment &)
const;
76 void removeFromSegment(Segment &)
const;
105 #endif // of MERCATOR_AREA_H