JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::StandardCachedComponentImage Struct Referencefinal
Inheritance diagram for juce::StandardCachedComponentImage:
juce::CachedComponentImage

Public Member Functions

 StandardCachedComponentImage (Component &c) noexcept
 
void paint (Graphics &g) override
 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.
 
bool invalidateAll () override
 Invalidates all cached image data.
 
bool invalidate (const Rectangle< int > &area) override
 Invalidates a section of the cached image data.
 
void releaseResources () override
 Called to indicate that the component is no longer active, so any cached data should be released if possible.
 

Detailed Description

Definition at line 499 of file juce_Component.cpp.

Constructor & Destructor Documentation

◆ StandardCachedComponentImage()

juce::StandardCachedComponentImage::StandardCachedComponentImage ( Component c)
noexcept

Definition at line 501 of file juce_Component.cpp.

Member Function Documentation

◆ invalidate()

bool juce::StandardCachedComponentImage::invalidate ( const Rectangle< int > &  area)
overridevirtual

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.

Definition at line 548 of file juce_Component.cpp.

◆ invalidateAll()

bool juce::StandardCachedComponentImage::invalidateAll ( )
overridevirtual

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.

Definition at line 547 of file juce_Component.cpp.

◆ paint()

void juce::StandardCachedComponentImage::paint ( Graphics )
overridevirtual

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.

Definition at line 503 of file juce_Component.cpp.

◆ releaseResources()

void juce::StandardCachedComponentImage::releaseResources ( )
overridevirtual

Called to indicate that the component is no longer active, so any cached data should be released if possible.

Implements juce::CachedComponentImage.

Definition at line 549 of file juce_Component.cpp.


The documentation for this struct was generated from the following file: