openshot-audio
0.1.2
|
#include <juce_Image.h>
Classes | |
struct | Listener |
Public Types | |
typedef ReferenceCountedObjectPtr< ImagePixelData > | Ptr |
Public Member Functions | |
ImagePixelData (Image::PixelFormat, int width, int height) | |
~ImagePixelData () | |
virtual LowLevelGraphicsContext * | createLowLevelContext ()=0 |
virtual ImagePixelData * | clone ()=0 |
virtual ImageType * | createType () const =0 |
virtual void | initialiseBitmapData (Image::BitmapData &, int x, int y, Image::BitmapData::ReadWriteMode)=0 |
virtual int | getSharedCount () const noexcept |
void | sendDataChangeMessage () |
![]() | |
void | incReferenceCount () noexcept |
void | decReferenceCount () noexcept |
bool | decReferenceCountWithoutDeleting () noexcept |
int | getReferenceCount () const noexcept |
Public Attributes | |
const Image::PixelFormat | pixelFormat |
const int | width |
const int | height |
NamedValueSet | userData |
ListenerList< Listener > | listeners |
Additional Inherited Members | |
![]() | |
ReferenceCountedObject () | |
virtual | ~ReferenceCountedObject () |
void | resetReferenceCount () noexcept |
This is a base class for holding image data in implementation-specific ways.
You may never need to use this class directly - it's used internally by the Image class to store the actual image data. To access pixel data directly, you should use Image::BitmapData rather than this class.
ImagePixelData objects are created indirectly, by subclasses of ImageType.
ImagePixelData::ImagePixelData | ( | Image::PixelFormat | format, |
int | width, | ||
int | height | ||
) |
ImagePixelData::~ImagePixelData | ( | ) |
|
pure virtual |
Creates a copy of this image.
Implemented in XBitmapImage, WindowsBitmapImage, SubsectionPixelData, SoftwarePixelData, and CoreGraphicsImage.
|
pure virtual |
Creates a context that will draw into this image.
Implemented in XBitmapImage, WindowsBitmapImage, SubsectionPixelData, SoftwarePixelData, and CoreGraphicsImage.
|
pure virtual |
Creates an instance of the type of this image.
Implemented in XBitmapImage, WindowsBitmapImage, SubsectionPixelData, SoftwarePixelData, and CoreGraphicsImage.
|
virtualnoexcept |
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 in SubsectionPixelData.
|
pure virtual |
Initialises a BitmapData object.
Implemented in XBitmapImage, WindowsBitmapImage, SubsectionPixelData, SoftwarePixelData, and CoreGraphicsImage.
void ImagePixelData::sendDataChangeMessage | ( | ) |
ListenerList<Listener> ImagePixelData::listeners |
const Image::PixelFormat ImagePixelData::pixelFormat |
The pixel format of the image data.
NamedValueSet ImagePixelData::userData |
User-defined settings that are attached to this image.