CartoType API
Public Member Functions
CartoType::TPerspectiveTransform Class Reference

#include <cartotype_transform.h>

List of all members.

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)

Detailed Description

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.


The documentation for this class was generated from the following files: