设置坐标原点函数:
wxDC::SetDeviceOrigin
void SetDeviceOrigin(wxCoord x, wxCoord y)
Sets the device origin (i.e., the origin in pixels after scaling has been applied).
This function may be useful in Windows printing operations for placing a graphic on a page.
设置x,y轴的方向:
wxDC::SetAxisOrientation
void SetAxisOrientation(bool xLeftRight, bool yBottomUp)
Sets the x and y axis orientation (i.e., the direction from lowest to highest values on the axis). The default orientation is x axis from left to right and y axis from top down.
Parameters
xLeftRight
-
- True to set the x axis orientation to the natural left to right orientation, false to invert it.
yBottomUp
-
-
- True to set the y axis orientation to the natural bottom up orientation, false to invert it.
-