TVectorCombineEvent

Graphics32

TVectorCombineEvent

type TVectorCombineEvent = procedure (F, P: TFixedVector; var B: TFixedVector) of object;

Desctiption

TVectorCombineEvent is a type for OnVectorCombine callback function, used in Merge, when VectorCombineMode is vcmCustom. It specifies a function which takes foreground vector (F) and mixes it with the background vector (B).

This function may optionally use progresson vector (P). The progression vector will by the merge routine be specified in the range X,Y: [-FIXEDONE..FIXEDONE], regardless of the specified source rect in Merge. This enables in-place masking of the vector map to be merged.

See Also

TVectorMap.Merge, TVectorMap.OnVectorCombine, Vector Types, TVectorMap.VectorCombineMode