|
CartoType API
|
#include <cartotype_transform.h>
Public Member Functions | |
| TPerspectiveTransform (int32 aOriginX, int32 aOriginY, int32 aEyeDistance) | |
| void | Set (int32 aOriginX, int32 aOriginY, int32 aEyeDistance) |
| CT_IMPORT TResult | Transform (TPoint &aPoint, int32 aFractionalBits) |
| CT_IMPORT void | InverseTransform (TPoint &aPoint, int32 aFractionalBits) |
A perspective transformation. The parameters are the origin (the point at which the transformation is identity), and the eye distance, which should be positive if screen coordinates increase downwards. Areas above the origin are reduced in size and those below the origin (nearer the eye) are enlarged.
1.7.5.1