link to all members of this class...
http://doc.trolltech.com/4.2/qgraphi...m-members.html
http://doc.trolltech.com/4.2/qgraphicsitem.html#scale
link to all members of this class...
http://doc.trolltech.com/4.2/qgraphi...m-members.html
http://doc.trolltech.com/4.2/qgraphicsitem.html#scale
You can very easily scale a path, but it's usually wrong; scaling the view is the right thing to do in most cases.
To scale a path, simply call QMatrix::map(). So, something like:
In Qt 4.3, you can also use QTransform.
Bitto / Andreas Aardal Hanssen - andreas dot aardal dot hanssen at nokia
Nokia Software Manager, Qt Development
Bookmarks