This patch will remove translation information from _frameMatrix and will only create _frameMatrix when the frame is rotated and manually prepending the translation and prepend rotation only if _frameMatrix isn't nil (rotated).
I've tested this patch with gsimageapp's diagramkit (my local tree)
and it looks OK
though, I am not sure.. actually.. I'll never be. Please revise it for me OK?
BTW. I don't like that we load a few methods to NSAffineTransform.
Is it a bad idea to subclass it for NSView?
]d
--
_----_ Banlu Kemiyatorn
/ /\ \ Free Software Yogi
| / \ | -_-~-_-~-_-~-_-~-_-~-_-~-_-~-_
| /----\ | QSTORAD, Qing Shan Tian Xia
\/ \/ 136 Nivesana 7, Jangwattana 14
QingShan Laksi, Bangkok, Thailand 10210
fix_view_rotation.diff
Description: Binary data
_______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
