QTransform calculation with respect to view transform
Unsolved
General and Desktop
-
I wanted to understand what the following code is doing, Can someone please help me...
QGraphicsView *view = getActiveView(); QTransform viewTransform = view ->transform(); QPen pen = painter->pen(); QTransform myPenTrans = pen.transform(); QTransform mapTransform = myPenTrans .transposed().adjoint()/myPenTrans .determinant() qDebug() << mapTransform .m11(); // what this value represents ?
-