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 | List of all members
juce::NativeImageType Class Reference

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

#include "juce_Image.h"

Inheritance diagram for juce::NativeImageType:
juce::ImageType

Public Member Functions

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
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

@tags{Graphics}

Definition at line 547 of file juce_Image.h.

Constructor & Destructor Documentation

◆ NativeImageType()

juce::NativeImageType::NativeImageType ( )

Definition at line 141 of file juce_Image.cpp.

◆ ~NativeImageType()

juce::NativeImageType::~NativeImageType ( )
override

Definition at line 142 of file juce_Image.cpp.

Member Function Documentation

◆ 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.

Definition at line 144 of file juce_Image.cpp.


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