openshot-audio  0.1.7
Public Member Functions | List of all members
juce::StandardCachedComponentImage Class Reference
Inheritance diagram for juce::StandardCachedComponentImage:
juce::CachedComponentImage

Public Member Functions

 StandardCachedComponentImage (Component &c) noexcept
 
void paint (Graphics &g) override
 
bool invalidateAll () override
 
bool invalidate (const Rectangle< int > &area) override
 
void releaseResources () override
 
- Public Member Functions inherited from juce::CachedComponentImage
 CachedComponentImage () noexcept
 
virtual ~CachedComponentImage ()
 

Constructor & Destructor Documentation

◆ StandardCachedComponentImage()

juce::StandardCachedComponentImage::StandardCachedComponentImage ( Component c)
inlinenoexcept

Member Function Documentation

◆ 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: