openshot-audio  0.1.5
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CoreGraphicsImage Class Reference
Inheritance diagram for CoreGraphicsImage:
ImagePixelData ReferenceCountedObject

Public Member Functions

 CoreGraphicsImage (const Image::PixelFormat format, const int w, const int h, const bool clearImage)
 
 ~CoreGraphicsImage ()
 
LowLevelGraphicsContextcreateLowLevelContext () override
 
void initialiseBitmapData (Image::BitmapData &bitmap, int x, int y, Image::BitmapData::ReadWriteMode mode) override
 
ImagePixelDataclone () override
 
ImageTypecreateType () const override
 
- Public Member Functions inherited from ImagePixelData
 ImagePixelData (Image::PixelFormat, int width, int height)
 
 ~ImagePixelData ()
 
virtual int getSharedCount () const noexcept
 
void sendDataChangeMessage ()
 
- Public Member Functions inherited from ReferenceCountedObject
void incReferenceCount () noexcept
 
void decReferenceCount () noexcept
 
bool decReferenceCountWithoutDeleting () noexcept
 
int getReferenceCount () const noexcept
 

Static Public Member Functions

static CGImageRef getCachedImageRef (const Image &juceImage, CGColorSpaceRef colourSpace)
 
static CGImageRef createImage (const Image &juceImage, CGColorSpaceRef colourSpace, const bool mustOutliveSource)
 

Public Attributes

CGContextRef context
 
CGImageRef cachedImageRef
 
HeapBlock< uint8imageData
 
int pixelStride
 
int lineStride
 
- Public Attributes inherited from ImagePixelData
const Image::PixelFormat pixelFormat
 
const int width
 
const int height
 
NamedValueSet userData
 
ListenerList< Listenerlisteners
 

Additional Inherited Members

- Public Types inherited from ImagePixelData
typedef ReferenceCountedObjectPtr< ImagePixelDataPtr
 
- Protected Member Functions inherited from ReferenceCountedObject
 ReferenceCountedObject ()
 
virtual ~ReferenceCountedObject ()
 
void resetReferenceCount () noexcept
 

Constructor & Destructor Documentation

◆ CoreGraphicsImage()

CoreGraphicsImage::CoreGraphicsImage ( const Image::PixelFormat  format,
const int  w,
const int  h,
const bool  clearImage 
)
inline

◆ ~CoreGraphicsImage()

CoreGraphicsImage::~CoreGraphicsImage ( )
inline

Member Function Documentation

◆ clone()

ImagePixelData* CoreGraphicsImage::clone ( )
inlineoverridevirtual

Creates a copy of this image.

Implements ImagePixelData.

◆ createImage()

static CGImageRef CoreGraphicsImage::createImage ( const Image juceImage,
CGColorSpaceRef  colourSpace,
const bool  mustOutliveSource 
)
inlinestatic

◆ createLowLevelContext()

LowLevelGraphicsContext* CoreGraphicsImage::createLowLevelContext ( )
inlineoverridevirtual

Creates a context that will draw into this image.

Implements ImagePixelData.

◆ createType()

ImageType* CoreGraphicsImage::createType ( ) const
inlineoverridevirtual

Creates an instance of the type of this image.

Implements ImagePixelData.

◆ getCachedImageRef()

static CGImageRef CoreGraphicsImage::getCachedImageRef ( const Image juceImage,
CGColorSpaceRef  colourSpace 
)
inlinestatic

◆ initialiseBitmapData()

void CoreGraphicsImage::initialiseBitmapData ( Image::BitmapData ,
int  x,
int  y,
Image::BitmapData::ReadWriteMode   
)
inlineoverridevirtual

Initialises a BitmapData object.

Implements ImagePixelData.

Member Data Documentation

◆ cachedImageRef

CGImageRef CoreGraphicsImage::cachedImageRef

◆ context

CGContextRef CoreGraphicsImage::context

◆ imageData

HeapBlock<uint8> CoreGraphicsImage::imageData

◆ lineStride

int CoreGraphicsImage::lineStride

◆ pixelStride

int CoreGraphicsImage::pixelStride

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