JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
NativeImageType Class Reference

An image storage type which holds the pixels using whatever is the default storage format on the current platform. More...

Inherits ImageType.

Public Member Functions

 NativeImageType ()
 
 ~NativeImageType ()
 
ImagePixelData::Ptr create (Image::PixelFormat, int width, int height, bool clearImage) const
 Creates a new image of this type, and the specified parameters.
 
int getTypeID () const
 Must return a unique number to identify this type.
 
- Public Member Functions inherited from ImageType
 ImageType ()
 
virtual ~ImageType ()
 
virtual Image convert (const Image &source) const
 Returns an image which is a copy of the source image, but using this type of storage mechanism.
 

Detailed Description

An image storage type which holds the pixels using whatever is the default storage format on the current platform.

See Also
ImageType, SoftwareImageType

Constructor & Destructor Documentation

NativeImageType::NativeImageType ( )
NativeImageType::~NativeImageType ( )

Member Function Documentation

ImagePixelData::Ptr NativeImageType::create ( Image::PixelFormat  format,
int  width,
int  height,
bool  shouldClearImage 
) const
virtual

Creates a new image of this type, and the specified parameters.

Implements ImageType.

int NativeImageType::getTypeID ( ) const
virtual

Must return a unique number to identify this type.

Implements ImageType.


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