33#include "../../libs/kimath/include/geometry/eda_angle.h"
35#if defined( _MSC_VER )
36#pragma warning( push )
37#pragma warning( disable : 4275 )
57 virtual bool IsStroke()
const {
return false; }
80 BOX2D BoundingBox()
override;
82 void Triangulate( std::function<
void(
const VECTOR2I& aPt1,
84 const VECTOR2I& aPt3 )> aCallback )
const;
96 bool IsStroke()
const override {
return true; }
98 void AddPoint(
const VECTOR2D& aPoint );
105 std::unique_ptr<GLYPH> Transform(
const VECTOR2D& aGlyphSize,
const VECTOR2I& aOffset,
106 double aTilt,
const EDA_ANGLE& aAngle,
bool aMirror,
110 bool m_penIsDown =
false;
122#if defined( _MSC_VER )
123#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.
constexpr int GLYPH_RESOLUTION
std::vector< GLYPH_POINTS > GLYPH_POINTS_LIST
constexpr double GLYPH_SIZE_SCALER
std::vector< BOX2D > GLYPH_BOUNDING_BOX_LIST
std::vector< VECTOR2D > GLYPH_POINTS
constexpr int GLYPH_DEFAULT_DPI
FreeType default.