[Qt-interest] Position of text using QGraphicsTextItem vs. QGraphicsSimpleTextItem
Bruce Cran
bruce at cran.org.uk
Thu Mar 4 22:06:28 CET 2010
Hi,
When text is added to a scene, should QGraphicsTextItem and
QGraphicsSimpleTextItem display text at the same location? I've got an
application that's using a few transformations on the scene and items in order
to reverse the Y axis, and I've found that depending on whether I use a
QGraphicsTextItem or QGraphicsSimpleTextItem the text appears offset by a few
pixels.
I've put screenshots at http://www.cran.org.uk/~brucec/qgraphicstextitem.png
and http://www.cran.org.uk/~brucec/qgraphicssimpletextitem.png
--
Bruce Cran
More information about the Qt-interest-old
mailing list