procedure RasterizeTransformation(Vectormap: TVectormap; Transformation: TTransformation; DstRect: TRect; CombineMode: TVectorCombineMode = vcmAdd; CombineCallback: TVectorCombineEvent = nil);


RasterizeTransformation provides a convenient TTransformation rendering/buffering system, meaning that other transformationclasses can be precalculated into the vector map.

The Transformation parameter is a reference to a descendant of an abstract TTransformation class. It specifies all necessary transformation parameters.

CombineMode is vcmAdd by default, and the transformation will be added to the existing vectors (note that the routine will handle the conversion to relative vector space). When combine mode is vcmReplace, transformation vectors will replace the existing ones in the vectormap. When combine mode is vcmCustom, the last parameter CombineCallback will be used. Note that even in vcmCustom mode, vectors will be made relative by RasterizeTransformation.

See Also

Rectangle Types, TRemapTransformation, TTransformation, TVectorMap, TVectorCombineEvent, TVectorCombineMode