Make the text ignores transformations on the scene
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
1b392b35bc
commit
55f31dc011
@ -493,6 +493,7 @@ void ProfileGraphicsView::plot_text(struct graphics_context *gc, text_render_opt
|
||||
item->setPos(point.x() + dx, point.y() +dy );
|
||||
item->setBrush( QBrush(profile_color[tro->color].first()));
|
||||
item->setPen( QPen(profile_color[BACKGROUND].first()));
|
||||
item->setFlag(QGraphicsItem::ItemIgnoresTransformations);
|
||||
scene()->addItem(item);
|
||||
qDebug() << item->pos();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user