TAreaChangedEvent

type TAreaChangedEvent = procedure(Sender: TObject; const Area: TRect; const Info: Cardinal) of object;

Desctiption

TAreaChangedEvent is the type of the OnAreaChanged event in TBitmap32. It indicates which area has changed (Area). A simple information (Info) about the area can be set.

Info is normally AREAINFO_RECT, but other flags can be set to indicate what shape the area actually has. This is especially useful for the repaint optimizer. Lines for example are specially treated with the AREAINFO_LINE + LineWidth encoded into the Info parameter.

See Also

TCustomBitmap32.OnAreaChanged, TCustomBitmap32.DrawMode, Area Information Flags, Rectangle Types