Converts a point in world coordinates into screen coordinates based on the current view offset and zoom.
Parameters |
Description |
const P: TAgkPoint |
The world point to convert. |
The point converted to screen coordinates.
When the SetViewOffset is 0,0 and the ViewZoom is 1.0 world and screen coordinates are the same. For example when the view is offset by 20 pixels to the right, an object at 0,0 in the world will appear at -20 (off screen) to the left.
Copyright (c) 2012. All rights reserved.
|