type TAreaChangedEvent = procedure(Sender: TObject; const Area: TRect; const Info: Cardinal) of object;
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.
TCustomBitmap32.OnAreaChanged, TCustomBitmap32.DrawMode, Area Information Flags, Rectangle Types
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024