Home | GR32 |
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
Area Information Flags, TBitmap32.DrawMode, TBitmap32.OnAreaChanged, TRect
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007