Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Transforms🞂TProjectiveTransformationClass

TProjectiveTransformation

Maps a rectangular source region onto an arbitrary convex 4-corner destination quadrilateral.

Inheritance:TObject 🞂 TPersistent 🞂 TPlainInterfacedPersistent 🞂 TNotifiablePersistent 🞂 TTransformation 🞂 T3x3Transformation 🞂 TProjectiveTransformation

Declaration ​

pascal
TProjectiveTransformation = class(T3x3Transformation)

Description ​

TProjectiveTransformation performs projective (perspective) spatial mapping by mapping a source rectangle (SrcRect) onto an arbitrary 4-corner convex destination quadrilateral defined by vertex properties (X0..X3, Y0..Y3).

Projective Transformation

Note

The destination quadrilateral must be convex, otherwise the result is undefined.