分类: C/C++
2008-07-13 20:13:19
The coordinate system is controlled by the QPainter class. Together with the QPaintDevice and QPaintEngine classes. The default coordinate system of a paint device has its origin at the top-left corner.The mapping of the logical coordinates to the physical QPaintDevice coordinates are handled by 's transformation matrix, viewport and "window". The logical and physical coordinate systems coincide by default.If you need the same transformations over and over, you can also use objects and the () and () functions.