Provide a default (non-optimized) version of DrawGlyphs.
(We could possibly implement an optimized version for CALLBACK_GAL, but not having an impl at all was breaking DRC and the DRC tests.)
This commit is contained in:
parent
125ea73adf
commit
be5fb2c7b8
|
@ -196,7 +196,12 @@ public:
|
|||
/**
|
||||
* Draw polygons representing font glyphs.
|
||||
*/
|
||||
virtual void DrawGlyphs( const std::vector<std::unique_ptr<KIFONT::GLYPH>>& aGlyphs ) {};
|
||||
virtual void DrawGlyphs( const std::vector<std::unique_ptr<KIFONT::GLYPH>>& aGlyphs )
|
||||
{
|
||||
for( size_t i = 0; i < aGlyphs.size(); i++ )
|
||||
DrawGlyph( *aGlyphs[i], i, aGlyphs.size() );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Draw a polygon.
|
||||
|
|
Loading…
Reference in New Issue