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 | Friends | List of all members
juce::SubsectionPixelData Class Referencefinal
Inheritance diagram for juce::SubsectionPixelData:
juce::ImagePixelData juce::ReferenceCountedObject

Public Member Functions

 SubsectionPixelData (ImagePixelData::Ptr source, Rectangle< int > r)
 
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.
 
int getSharedCount () const noexcept override
 Returns the number of Image objects which are currently referring to the same internal shared image data.
 
- Public Member Functions inherited from juce::ImagePixelData
 ImagePixelData (Image::PixelFormat, int width, int height)
 
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.
 

Friends

class Image
 

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 157 of file juce_Image.cpp.

Constructor & Destructor Documentation

◆ SubsectionPixelData()

juce::SubsectionPixelData::SubsectionPixelData ( ImagePixelData::Ptr  source,
Rectangle< int r 
)

Definition at line 160 of file juce_Image.cpp.

Member Function Documentation

◆ clone()

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

Creates a copy of this image.

Implements juce::ImagePixelData.

Definition at line 182 of file juce_Image.cpp.

◆ createLowLevelContext()

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

Creates a context that will draw into this image.

Implements juce::ImagePixelData.

Definition at line 166 of file juce_Image.cpp.

◆ createType()

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

Creates an instance of the type of this image.

Implements juce::ImagePixelData.

Definition at line 197 of file juce_Image.cpp.

◆ getSharedCount()

int juce::SubsectionPixelData::getSharedCount ( ) const
overridevirtualnoexcept

Returns the number of Image objects which are currently referring to the same internal shared image data.

This is different to the reference count as an instance of ImagePixelData can internally depend on another ImagePixelData via it's member variables.

Reimplemented from juce::ImagePixelData.

Definition at line 200 of file juce_Image.cpp.

◆ initialiseBitmapData()

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

Initialises a BitmapData object.

Implements juce::ImagePixelData.

Definition at line 174 of file juce_Image.cpp.

Friends And Related Symbol Documentation

◆ Image

friend class Image
friend

Definition at line 203 of file juce_Image.cpp.


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