StandardCachedComponentImage::StandardCachedComponentImage |
( |
Component & |
c | ) |
|
|
inlinenoexcept |
Invalidates a section of the cached image data.
- Returns
- true if the peer should also be repainted, or false if this object handles all repaint work internally.
Implements CachedComponentImage.
bool StandardCachedComponentImage::invalidateAll |
( |
| ) |
|
|
inlineoverridevirtual |
Invalidates all cached image data.
- Returns
- true if the peer should also be repainted, or false if this object handles all repaint work internally.
Implements CachedComponentImage.
void StandardCachedComponentImage::paint |
( |
Graphics & |
| ) |
|
|
inlineoverridevirtual |
Called as part of the parent component's paint method, this must draw the given component into the target graphics context, using the cached version where possible.
Implements CachedComponentImage.
void StandardCachedComponentImage::releaseResources |
( |
| ) |
|
|
inlineoverridevirtual |
Called to indicate that the component is no longer active, so any cached data should be released if possible.
Implements CachedComponentImage.
The documentation for this class was generated from the following file: