7#include <QtGui/qtguiglobal.h>
8#include <QtGui/qpaintdevice.h>
9#include <QtGui/qcolor.h>
10#include <QtCore/qnamespace.h>
11#include <QtCore/qshareddata.h>
12#include <QtCore/qstring.h>
13#include <QtGui/qimage.h>
14#include <QtGui/qtransform.h>
34#ifndef QT_NO_IMAGEFORMAT_XPM
35 explicit QPixmap(
const char *
const xpm[]);
42 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QPixmap)
51 int devType()
const override;
68 QSizeF deviceIndependentSize()
const;
73#ifndef QT_NO_IMAGE_HEURISTIC_MASK
74 QBitmap createHeuristicMask(
bool clipTight =
true)
const;
112 bool isDetached()
const;
115 bool isQBitmap()
const;
131 void doInit(
int,
int,
int);
139#if !defined(QT_NO_DATASTREAM)
155 return copy(
QRect(ax, ay, awidth, aheight));
160 scroll(dx, dy,
QRect(ax, ay, awidth, aheight), exposed);
164 Qt::ImageConversionFlags
flags)
174#if !defined(QT_NO_DATASTREAM)
179#ifndef QT_NO_DEBUG_STREAM
IOBluetoothDevice * device
The QColor class provides colors based on RGB, HSV or CMYK values.
\inmodule QtCore\reentrant
\inmodule QtCore \reentrant
The QImageReader class provides a format independent interface for reading images from files or other...
The QImageWriter class provides a format independent interface for writing images to files or other d...
The QPainter class performs low-level painting on widgets and other paint devices.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
int metric(PaintDeviceMetric) const override
QPixmap scaled(int w, int h, Qt::AspectRatioMode aspectMode=Qt::IgnoreAspectRatio, Qt::TransformationMode mode=Qt::FastTransformation) const
bool operator!=(const QPixmap &) const =delete
static QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags=Qt::AutoColor)
QPaintEngine * paintEngine() const override
void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed=nullptr)
QPixmap scaledToHeight(int h, Qt::TransformationMode mode=Qt::FastTransformation) const
Returns a scaled copy of the image.
QBitmap mask() const
Returns true if this pixmap has an alpha channel, or has a mask, otherwise returns false.
QPixmap transformed(const QTransform &, Qt::TransformationMode mode=Qt::FastTransformation) const
bool operator==(const QPixmap &) const =delete
static int defaultDepth()
bool loadFromData(const uchar *buf, uint len, const char *format=nullptr, Qt::ImageConversionFlags flags=Qt::AutoColor)
Loads a pixmap from the len first bytes of the given binary data.
QExplicitlySharedDataPointer< QPlatformPixmap > DataPtr
QPixmap scaled(const QSize &s, Qt::AspectRatioMode aspectMode=Qt::IgnoreAspectRatio, Qt::TransformationMode mode=Qt::FastTransformation) const
bool hasAlphaChannel() const
QPixmap(QPixmap &&other) noexcept
Move-constructs a QPixmap instance from other.
bool operator!() const
Returns true if this is a null pixmap; otherwise returns false.
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
static jboolean copy(JNIEnv *, jobject)
GLuint64 GLenum void * handle
GLint GLint GLint GLint GLint x
[0]
GLint GLenum GLsizei GLsizei GLsizei depth
GLfloat GLfloat GLfloat w
[0]
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLuint GLenum GLsizei const GLchar * buf
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei GLsizei GLenum format
GLfloat GLfloat GLfloat GLfloat h
Q_GUI_EXPORT QDataStream & operator>>(QDataStream &, QPixmap &)
Q_GUI_EXPORT QDataStream & operator<<(QDataStream &, const QPixmap &)
#define QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(Class, ExportMacro)
QImage scaled(const QImage &image)
[0]