35#if defined( _MSC_VER )
36#pragma warning( push )
37#pragma warning( disable : 4275 )
51 virtual bool IsStroke()
const {
return false; }
74 BOX2D BoundingBox()
override;
76 void Triangulate( std::function<
void(
const VECTOR2I& aPt1,
78 const VECTOR2I& aPt3 )> aCallback )
const;
80 void CacheTriangulation(
bool aPartition =
true,
bool aSimplify =
false )
override;
86 std::vector<std::unique_ptr<SHAPE_POLY_SET::TRIANGULATED_POLYGON>> GetTriangulationData()
const;
92 void CacheTriangulation( std::vector<std::unique_ptr<SHAPE_POLY_SET::TRIANGULATED_POLYGON>>& aHintData );
106 void AddPoint(
const VECTOR2D& aPoint );
113 std::unique_ptr<GLYPH> Transform(
const VECTOR2D& aGlyphSize,
const VECTOR2I& aOffset,
114 double aTilt,
const EDA_ANGLE& aAngle,
bool aMirror,
117 void Move(
const VECTOR2I& aOffset );
120 bool m_penIsDown =
false;
128#if defined( _MSC_VER )
129#pragma warning( pop )
virtual BOX2D BoundingBox()=0
virtual bool IsStroke() const
virtual bool IsOutline() const
OUTLINE_GLYPH(const OUTLINE_GLYPH &aGlyph)
OUTLINE_GLYPH(const SHAPE_POLY_SET &aPoly)
bool IsOutline() const override
bool IsStroke() const override
BOX2D BoundingBox() override
void SetBoundingBox(const BOX2D &bbox)
Represent a set of closed polygons.