DOtherSide  0.7.1
C language library for creating bindings for the Qt QML language
Functions
QPixmap

Functions related to the QPixmap class. More...

Functions

DOS_API DosPixmapdos_qpixmap_create ()
 Creates a null QPixmap.
 
DOS_API DosPixmapdos_qpixmap_create_qpixmap (const DosPixmap *other)
 Creates a QPixmap copied from another.
 
DOS_API DosPixmapdos_qpixmap_create_width_and_height (int width, int height)
 Create a new QPixmap.
 
DOS_API void dos_qpixmap_delete (DosPixmap *vptr)
 Frees a QPixmap.
 
DOS_API void dos_qpixmap_load (DosPixmap *vptr, const char *filepath, const char *format)
 Load image data into a QPixmap from an image file.
 
DOS_API void dos_qpixmap_loadFromData (DosPixmap *vptr, const unsigned char *data, unsigned int len)
 Load image data into a QPixmap from a buffer.
 
DOS_API void dos_qpixmap_fill (DosPixmap *vptr, unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 Fill a QPixmap with a single color.
 
DOS_API void dos_qpixmap_assign (DosPixmap *vptr, const DosPixmap *other)
 Calls the QPixmap::operator=(const QPixmap&) function. More...
 
DOS_API bool dos_qpixmap_isNull (DosPixmap *vptr)
 Calls the QPixmap::isNull. More...
 

Detailed Description

Functions related to the QPixmap class.

Function Documentation

◆ dos_qpixmap_assign()

DOS_API void dos_qpixmap_assign ( DosPixmap vptr,
const DosPixmap other 
)

Calls the QPixmap::operator=(const QPixmap&) function.

Parameters
vptrThe left hand side QPixmap
otherThe right hand side QPixmap

◆ dos_qpixmap_isNull()

DOS_API bool dos_qpixmap_isNull ( DosPixmap vptr)

Calls the QPixmap::isNull.

Returns
True if the QPixmap is null, false otherwise