4#ifndef QPIXMAP_BLITTER_P_H
5#define QPIXMAP_BLITTER_P_H
18#include <QtGui/private/qtguiglobal_p.h>
19#include <qpa/qplatformpixmap.h>
20#include <private/qpaintengine_blitter_p.h>
22#ifndef QT_NO_BLITTABLE
40 QImage toImage()
const override;
41 bool hasAlphaChannel()
const override;
42 void fromImage(
const QImage &
image, Qt::ImageConversionFlags
flags)
override;
43 qreal devicePixelRatio()
const override;
44 void setDevicePixelRatio(
qreal scaleFactor)
override;
48 void markRasterOverlay(
const QRectF &);
52 void markRasterOverlay(
const QRect *rects,
int rectCount);
53 void markRasterOverlay(
const QRectF *rects,
int rectCount);
54 void markRasterOverlay(
const QPointF *
points,
int pointCount);
55 void markRasterOverlay(
const QPoint *
points,
int pointCount);
56 void unmarkRasterOverlay(
const QRectF &);
58#ifdef QT_BLITTER_RASTEROVERLAY
60 void unmergeOverlay();
70#ifdef QT_BLITTER_RASTEROVERLAY
75 void markRasterOverlayImpl(
const QRectF &);
76 void unmarkRasterOverlayImpl(
const QRectF &);
84#ifdef QT_BLITTER_RASTEROVERLAY
85 markRasterOverlayImpl(
rect);
93#ifdef QT_BLITTER_RASTEROVERLAY
94 markRasterOverlayImpl(
path.convertToPainterPath().boundingRect());
102#ifdef QT_BLITTER_RASTEROVERLAY
104 QRectF rect = fm.tightBoundingRect(ti.text());
115#ifdef QT_BLITTER_RASTEROVERLAY
116 for (
int i = 0;
i < rectCount;
i++) {
126#ifdef QT_BLITTER_RASTEROVERLAY
127 for (
int i = 0;
i < rectCount;
i++) {
138#ifdef QT_BLITTER_RASTEROVERLAY
139#error "not ported yet"
148#ifdef QT_BLITTER_RASTEROVERLAY
149#error "not ported yet"
158#ifdef QT_BLITTER_RASTEROVERLAY
159#error "not ported yet"
167#ifdef QT_BLITTER_RASTEROVERLAY
168 unmarkRasterOverlayImpl(
rect);
The QColor class provides colors based on RGB, HSV or CMYK values.
\reentrant \inmodule QtGui
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr void moveBottomLeft(const QPointF &p) noexcept
Moves the rectangle, leaving the bottom-left corner at the given position.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLfixed GLfixed GLint GLint GLfixed points
GLsizei const GLchar *const * path
GLfloat GLfloat GLfloat alpha