Loading...
Searching...
No Matches
juce::NativeImageType Class Reference

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
Inheritance diagram for juce::NativeImageType:

Public Member Functions

 NativeImageType ()
 ~NativeImageType () override
ImagePixelData::Ptr create (Image::PixelFormat, int width, int height, bool clearImage) const override
 Creates a new image of this type, and the specified parameters.
int getTypeID () const override
 Must return a unique number to identify this type.
Public Member Functions inherited from juce::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.

Constructors and Destructors

◆ NativeImageType()

juce::NativeImageType::NativeImageType ( )

◆ ~NativeImageType()

juce::NativeImageType::~NativeImageType ( )
override

Member Functions

◆ create()

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

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

Implements juce::ImageType.

◆ getTypeID()

int juce::NativeImageType::getTypeID ( ) const
overridevirtual

Must return a unique number to identify this type.

Implements juce::ImageType.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram