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
Classes | Public Member Functions | List of all members
juce::XBitmapImage Class Referencefinal
Inheritance diagram for juce::XBitmapImage:
juce::ImagePixelData juce::ReferenceCountedObject

Public Member Functions

 XBitmapImage (XImage *image)
 
 XBitmapImage (Image::PixelFormat format, int w, int h, bool clearImage, unsigned int imageDepth_, Visual *visual)
 
std::unique_ptr< LowLevelGraphicsContextcreateLowLevelContext () override
 Creates a context that will draw into this image.
 
void initialiseBitmapData (Image::BitmapData &bitmap, int x, int y, Image::BitmapData::ReadWriteMode mode) override
 Initialises a BitmapData object.
 
ImagePixelData::Ptr clone () override
 Creates a copy of this image.
 
std::unique_ptr< ImageTypecreateType () const override
 Creates an instance of the type of this image.
 
void blitToWindow (::Window window, int dx, int dy, unsigned int dw, unsigned int dh, int sx, int sy)
 
- Public Member Functions inherited from juce::ImagePixelData
 ImagePixelData (Image::PixelFormat, int width, int height)
 
virtual int getSharedCount () const noexcept
 Returns the number of Image objects which are currently referring to the same internal shared image data.
 
void sendDataChangeMessage ()
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count.
 
void decReferenceCount () noexcept
 Decreases the object's reference count.
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count.
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 

Additional Inherited Members

- Public Types inherited from juce::ImagePixelData
using Ptr = ReferenceCountedObjectPtr< ImagePixelData >
 
- Public Attributes inherited from juce::ImagePixelData
const Image::PixelFormat pixelFormat
 The pixel format of the image data.
 
const int width
 
const int height
 
NamedValueSet userData
 User-defined settings that are attached to this image.
 
ListenerList< Listenerlisteners
 
- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 Creates the reference-counted object (with an initial ref count of zero).
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
virtual ~ReferenceCountedObject ()
 Destructor.
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object.
 

Detailed Description

Definition at line 847 of file juce_XWindowSystem_linux.cpp.

Constructor & Destructor Documentation

◆ XBitmapImage() [1/2]

juce::XBitmapImage::XBitmapImage ( XImage image)
explicit

Definition at line 850 of file juce_XWindowSystem_linux.cpp.

◆ XBitmapImage() [2/2]

juce::XBitmapImage::XBitmapImage ( Image::PixelFormat  format,
int  w,
int  h,
bool  clearImage,
unsigned int  imageDepth_,
Visual visual 
)

Definition at line 860 of file juce_XWindowSystem_linux.cpp.

◆ ~XBitmapImage()

juce::XBitmapImage::~XBitmapImage ( )
override

Definition at line 962 of file juce_XWindowSystem_linux.cpp.

Member Function Documentation

◆ blitToWindow()

void juce::XBitmapImage::blitToWindow ( ::Window  window,
int  dx,
int  dy,
unsigned int  dw,
unsigned int  dh,
int  sx,
int  sy 
)

Definition at line 1014 of file juce_XWindowSystem_linux.cpp.

◆ clone()

ImagePixelData::Ptr juce::XBitmapImage::clone ( )
overridevirtual

Creates a copy of this image.

Implements juce::ImagePixelData.

Definition at line 1006 of file juce_XWindowSystem_linux.cpp.

◆ createLowLevelContext()

std::unique_ptr< LowLevelGraphicsContext > juce::XBitmapImage::createLowLevelContext ( )
overridevirtual

Creates a context that will draw into this image.

Implements juce::ImagePixelData.

Definition at line 986 of file juce_XWindowSystem_linux.cpp.

◆ createType()

std::unique_ptr< ImageType > juce::XBitmapImage::createType ( ) const
overridevirtual

Creates an instance of the type of this image.

Implements juce::ImagePixelData.

Definition at line 1012 of file juce_XWindowSystem_linux.cpp.

◆ initialiseBitmapData()

void juce::XBitmapImage::initialiseBitmapData ( Image::BitmapData ,
int  x,
int  y,
Image::BitmapData::ReadWriteMode   
)
overridevirtual

Initialises a BitmapData object.

Implements juce::ImagePixelData.

Definition at line 992 of file juce_XWindowSystem_linux.cpp.


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