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::SoftwarePixelData Class Referencefinal
Inheritance diagram for juce::SoftwarePixelData:
juce::ImagePixelData juce::ReferenceCountedObject

Public Member Functions

 SoftwarePixelData (Image::PixelFormat formatToUse, int w, int h, bool clearImage)
 
std::unique_ptr< LowLevelGraphicsContextcreateLowLevelContext () override
 Creates a context that will draw into this image.
 
void initialiseBitmapData (Image::BitmapData &bitmap, int x, int y, Image::BitmapData::ReadWriteMode mode) override
 Initialises a BitmapData object.
 
ImagePixelData::Ptr clone () override
 Creates a copy of this image.
 
std::unique_ptr< ImageTypecreateType () const override
 Creates an instance of the type of this image.
 
- Public Member Functions inherited from juce::ImagePixelData
 ImagePixelData (Image::PixelFormat, int width, int height)
 
virtual int getSharedCount () const noexcept
 Returns the number of Image objects which are currently referring to the same internal shared image data.
 
void sendDataChangeMessage ()
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count.
 
void decReferenceCount () noexcept
 Decreases the object's reference count.
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count.
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 

Additional Inherited Members

- Public Types inherited from juce::ImagePixelData
using Ptr = ReferenceCountedObjectPtr< ImagePixelData >
 
- Public Attributes inherited from juce::ImagePixelData
const Image::PixelFormat pixelFormat
 The pixel format of the image data.
 
const int width
 
const int height
 
NamedValueSet userData
 User-defined settings that are attached to this image.
 
ListenerList< Listenerlisteners
 
- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 Creates the reference-counted object (with an initial ref count of zero).
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
virtual ~ReferenceCountedObject ()
 Destructor.
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object.
 

Detailed Description

Definition at line 81 of file juce_Image.cpp.

Constructor & Destructor Documentation

◆ SoftwarePixelData()

juce::SoftwarePixelData::SoftwarePixelData ( Image::PixelFormat  formatToUse,
int  w,
int  h,
bool  clearImage 
)

Definition at line 84 of file juce_Image.cpp.

Member Function Documentation

◆ clone()

ImagePixelData::Ptr juce::SoftwarePixelData::clone ( )
overridevirtual

Creates a copy of this image.

Implements juce::ImagePixelData.

Definition at line 111 of file juce_Image.cpp.

◆ createLowLevelContext()

std::unique_ptr< LowLevelGraphicsContext > juce::SoftwarePixelData::createLowLevelContext ( )
overridevirtual

Creates a context that will draw into this image.

Implements juce::ImagePixelData.

Definition at line 92 of file juce_Image.cpp.

◆ createType()

std::unique_ptr< ImageType > juce::SoftwarePixelData::createType ( ) const
overridevirtual

Creates an instance of the type of this image.

Implements juce::ImagePixelData.

Definition at line 118 of file juce_Image.cpp.

◆ initialiseBitmapData()

void juce::SoftwarePixelData::initialiseBitmapData ( Image::BitmapData ,
int  x,
int  y,
Image::BitmapData::ReadWriteMode   
)
overridevirtual

Initialises a BitmapData object.

Implements juce::ImagePixelData.

Definition at line 98 of file juce_Image.cpp.


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