QPixmap

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@QMetaType.Type.QPixmap
@Q_MOVABLE_TYPE
struct QPixmap {}

Constructors

this
this()
Undocumented in source.
this
this(QPlatformPixmap* data)
Undocumented in source.
this
this(int w, int h)
Undocumented in source.
this
this(const(QSize) )
Undocumented in source.
this
this(const(QString) fileName, const(char)* format, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
this
this(const(char)** xpm)
Undocumented in source.
this
this(const(QPixmap) )
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Public Imports

qt.core.namespace
public import qt.core.namespace;
Undocumented in source.

Members

Aliases

DataPtr
alias DataPtr = QExplicitlySharedDataPointer!(QPlatformPixmap)
Undocumented in source.

Functions

cacheKey
qint64 cacheKey()
Undocumented in source.
convertFromImage
bool convertFromImage(const(QImage) img, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
createHeuristicMask
QBitmap createHeuristicMask(bool clipTight)
Undocumented in source.
createMaskFromColor
QBitmap createMaskFromColor(const(QColor) maskColor, qt.core.namespace.MaskMode mode)
Undocumented in source.
data_ptr
DataPtr data_ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
depth
int depth()
Undocumented in source.
detach
void detach()
Undocumented in source.
devType
int devType()
Undocumented in source.
devicePixelRatio
qreal devicePixelRatio()
Undocumented in source.
fill
void fill(const(QColor) fillColor)
Undocumented in source.
fill
void fill(const(QPaintDevice) device, const(QPoint) ofs)
Undocumented in source.
fill
void fill(const(QPaintDevice) device, int xofs, int yofs)
Undocumented in source.
handle
QPlatformPixmap* handle()
Undocumented in source.
hasAlpha
bool hasAlpha()
Undocumented in source.
hasAlphaChannel
bool hasAlphaChannel()
Undocumented in source.
height
int height()
Undocumented in source.
isDetached
bool isDetached()
Undocumented in source.
isNull
bool isNull()
Undocumented in source.
isQBitmap
bool isQBitmap()
Undocumented in source.
load
bool load(const(QString) fileName, const(char)* format, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
loadFromData
bool loadFromData(const(uchar)* buf, uint len, const(char)* format, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
mask
QBitmap mask()
Undocumented in source.
metric
int metric(PaintDeviceMetric )
Undocumented in source.
paintDevice
QPaintDevice paintDevice()
Undocumented in source. Be warned that the author may not have intended to support it.
paintEngine
QPaintEngine paintEngine()
Undocumented in source.
rect
QRect rect()
Undocumented in source.
save
bool save(const(QString) fileName, const(char)* format, int quality)
Undocumented in source.
save
bool save(QIODevice device, const(char)* format, int quality)
Undocumented in source.
scaled
QPixmap scaled(int w, int h, qt.core.namespace.AspectRatioMode aspectMode, qt.core.namespace.TransformationMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
scaled
QPixmap scaled(const(QSize) s, qt.core.namespace.AspectRatioMode aspectMode, qt.core.namespace.TransformationMode mode)
Undocumented in source.
scaledToHeight
QPixmap scaledToHeight(int h, qt.core.namespace.TransformationMode mode)
Undocumented in source.
scaledToWidth
QPixmap scaledToWidth(int w, qt.core.namespace.TransformationMode mode)
Undocumented in source.
scroll
void scroll(int dx, int dy, int ax, int ay, int awidth, int aheight, QRegion* exposed)
Undocumented in source. Be warned that the author may not have intended to support it.
scroll
void scroll(int dx, int dy, const(QRect) rect, QRegion* exposed)
Undocumented in source.
setDevicePixelRatio
void setDevicePixelRatio(qreal scaleFactor)
Undocumented in source.
setMask
void setMask(const(QBitmap) )
Undocumented in source.
size
QSize size()
Undocumented in source.
toImage
QImage toImage()
Undocumented in source.
transformed
QPixmap transformed(const(QMatrix) , qt.core.namespace.TransformationMode mode)
Undocumented in source.
transformed
QPixmap transformed(const(QTransform) , qt.core.namespace.TransformationMode mode)
Undocumented in source.
width
int width()
Undocumented in source.

Static functions

defaultDepth
int defaultDepth()
Undocumented in source.
fromImage
QPixmap fromImage(const(QImage) image, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
fromImageInPlace
QPixmap fromImageInPlace(QImage image, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
fromImageReader
QPixmap fromImageReader(QImageReader* imageReader, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
grabWidget
QPixmap grabWidget(QObject widget, const(QRect) rect)
Undocumented in source.
grabWidget
QPixmap grabWidget(QObject widget, int x, int y, int w, int h)
Undocumented in source.
grabWindow
QPixmap grabWindow(WId , int x, int y, int w, int h)
Undocumented in source.
trueMatrix
QMatrix trueMatrix(const(QMatrix) m, int w, int h)
Undocumented in source.
trueMatrix
QTransform trueMatrix(const(QTransform) m, int w, int h)
Undocumented in source.

Meta