◆ StandardCachedComponentImage()
juce::StandardCachedComponentImage::StandardCachedComponentImage |
( |
Component & |
c | ) |
|
|
inlinenoexcept |
◆ invalidate()
bool juce::StandardCachedComponentImage::invalidate |
( |
const Rectangle< int > & |
area | ) |
|
|
inlineoverridevirtual |
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 juce::CachedComponentImage.
◆ invalidateAll()
bool juce::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 juce::CachedComponentImage.
◆ paint()
void juce::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 juce::CachedComponentImage.
◆ releaseResources()
void juce::StandardCachedComponentImage::releaseResources |
( |
| ) |
|
|
inlineoverridevirtual |
Called to indicate that the component is no longer active, so any cached data should be released if possible.
Implements juce::CachedComponentImage.
The documentation for this class was generated from the following file: