mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-07-03 22:49:15 +02:00
Adjusted text path placement
This commit is contained in:
@ -36,7 +36,7 @@ void TextPathItem::paint(QPainter *painter,
|
|||||||
|
|
||||||
painter->translate(point);
|
painter->translate(point);
|
||||||
painter->rotate(-angle);
|
painter->rotate(-angle);
|
||||||
painter->drawText(QPoint(0, 0), _text.at(i));
|
painter->drawText(QPoint(0, fm.descent()), _text.at(i));
|
||||||
painter->resetTransform();
|
painter->resetTransform();
|
||||||
|
|
||||||
int width = fm.charWidth(_text, i);
|
int width = fm.charWidth(_text, i);
|
||||||
|
Reference in New Issue
Block a user