31#if defined( _MSC_VER )
32#pragma warning( push )
33#pragma warning( disable : 4275 )
47 virtual bool IsStroke()
const {
return false; }
76 BOX2D BoundingBox()
override;
78 void Triangulate( std::function<
void(
const VECTOR2I& aPt1,
80 const VECTOR2I& aPt3 )> aCallback )
const;
82 void CacheTriangulation(
bool aSimplify =
false,
83 const TASK_SUBMITTER& aSubmitter = {} )
override;
89 std::vector<std::unique_ptr<SHAPE_POLY_SET::TRIANGULATED_POLYGON>> GetTriangulationData()
const;
95 void CacheTriangulation( std::vector<std::unique_ptr<SHAPE_POLY_SET::TRIANGULATED_POLYGON>>& aHintData );
109 void AddPoint(
const VECTOR2D& aPoint );
116 std::unique_ptr<GLYPH> Transform(
const VECTOR2D& aGlyphSize,
const VECTOR2I& aOffset,
117 double aTilt,
const EDA_ANGLE& aAngle,
bool aMirror,
120 void Move(
const VECTOR2I& aOffset );
131#if defined( _MSC_VER )
132#pragma warning( pop )
virtual BOX2D BoundingBox()=0
virtual bool IsStroke() const
virtual bool IsOutline() const
void SetIsHover(bool aIsHover)
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)
VECTOR2< int32_t > VECTOR2I
VECTOR2< double > VECTOR2D