58 bool IsStroke()
const override {
return true; }
66 static STROKE_FONT* LoadFont(
const wxString& aFontName );
72 double GetInterline(
double aGlyphHeight,
const METRICS& aFontMetrics )
const override;
74 VECTOR2I GetTextAsGlyphs(
BOX2I* aBoundingBox, std::vector<std::unique_ptr<GLYPH>>* aGlyphs,
75 const wxString& aText,
const VECTOR2I& aSize,
86 void loadNewStrokeFont(
const char*
const aNewStrokeFont[],
int aNewStrokeFontSize );
89 const std::vector<std::shared_ptr<GLYPH>>*
m_glyphs;
FONT is an abstract base class for both outline and stroke fonts.
Implement a stroke font drawing.
bool IsStroke() const override
const std::vector< BOX2D > * m_glyphBoundingBoxes
const std::vector< std::shared_ptr< GLYPH > > * m_glyphs
unsigned int TEXT_STYLE_FLAGS
The Cairo implementation of the graphics abstraction layer.