Base class used internally for structures that can store cached images of component state.
virtual bool invalidateAll()=0
Invalidates all cached image data.
virtual bool invalidate(const Rectangle< int > &area)=0
Invalidates a section of the cached image data.
virtual void paint(Graphics &)=0
Called as part of the parent component's paint method, this must draw the given component into the ta...
virtual void releaseResources()=0
Called to indicate that the component is no longer active, so any cached data should be released if p...
A graphics context, used for drawing a component or image.
Manages a rectangle and allows geometric operations to be performed on it.