LMMS
Loading...
Searching...
No Matches
juce::SoftwareImageType Class Reference

#include <juce_Image.h>

Inheritance diagram for juce::SoftwareImageType:
juce::ImageType

Public Member Functions

 SoftwareImageType ()
 ~SoftwareImageType () override
ImagePixelData::Ptr create (Image::PixelFormat, int width, int height, bool clearImage) const override
int getTypeID () const override
Public Member Functions inherited from juce::ImageType
 ImageType ()
virtual ~ImageType ()
virtual Image convert (const Image &source) const

Detailed Description

An image storage type which holds the pixels in-memory as a simple block of values.

See also
ImageType, NativeImageType

@tags{Graphics}

Constructor & Destructor Documentation

◆ SoftwareImageType()

juce::SoftwareImageType::SoftwareImageType ( )

◆ ~SoftwareImageType()

juce::SoftwareImageType::~SoftwareImageType ( )
override

Member Function Documentation

◆ create()

ImagePixelData::Ptr juce::SoftwareImageType::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::SoftwareImageType::getTypeID ( ) const
overridevirtual

Must return a unique number to identify this type.

Implements juce::ImageType.


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