mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-07-16 04:04:22 +02:00
Draw code optimization
This commit is contained in:
@ -10,7 +10,7 @@ public:
|
||||
: _sceneRect(QRectF(QPointF(0, 0), size)), _fontScale(scale) {}
|
||||
~Text();
|
||||
|
||||
void render(QPainter *painter);
|
||||
void render(QPainter *painter) const;
|
||||
|
||||
void addLabel(const QString &text, const QPointF &pos, const QFont &font,
|
||||
const QPen &pen, qreal maxTextWidth);
|
||||
|
Reference in New Issue
Block a user