Hi!
I have a question regarding QPainter::setWorldMatrix and QPainter::setWorldTransform...
in the Qt4 assistant in the description of setWorldMatrix it says:
But when you check the implementation of QPainter::setWorldMatrix, it directly calls setWorldTransform:Note: It is advisable to use setWorldTransform() instead of this function to preserve the properties of perspective transformations.
I don't even know what exactly is meant with 'preserve the properties of the perspective transformations', but I don't think it will give any different result calling one or the other function. Is this an error in the documentation or is it something that is planned for the future and not yet implemented?void QPainter::setWorldMatrix(const QMatrix &matrix, bool combine)
{
setWorldTransform(QTransform(matrix), combine);
}
Bookmarks