4#ifndef QQUICKCONTEXT2DCOMMANDBUFFER_P_H
5#define QQUICKCONTEXT2DCOMMANDBUFFER_P_H
18#include <private/qtquickglobal_p.h>
22#include <QtCore/qmutex.h>
69 bools << repeatX << repeatY;
146 bools << repeatX << repeatY;
222 inline bool takeBool() {
return bools.at(boolIdx++); }
The QColor class provides colors based on RGB, HSV or CMYK values.
The QPainter class performs low-level painting on widgets and other paint devices.
CompositionMode
Defines the modes supported for digital image compositing.
void setShadowBlur(qreal b)
void updateMatrix(const QTransform &matrix)
void fillRect(const QRectF &r)
QQuickContext2D::PaintCommand takeNextCommand()
void setGlobalCompositeOperation(QPainter::CompositionMode cm)
void drawPixmap(QQmlRefPointer< QQuickCanvasPixmap > pixmap, const QRectF &sr, const QRectF &dr)
void setStrokeStyle(const QBrush &style, bool repeatX=false, bool repeatY=false)
Qt::PenJoinStyle takeLineJoin()
void setShadowOffsetX(qreal x)
const QImage & takeImage()
void stroke(const QPainterPath &path)
qreal takeShadowOffsetY()
~QQuickContext2DCommandBuffer()
void setFillStyle(const QBrush &style, bool repeatX=false, bool repeatY=false)
void setLineCap(Qt::PenCapStyle cap)
void setLineDashOffset(qreal offset)
void replay(QPainter *painter, QQuickContext2D::State &state, const QVector2D &scaleFactor)
void setLineDash(const QVector< qreal > &pattern)
void strokeRect(const QRectF &r)
void setMiterLimit(qreal limit)
void setLineWidth(qreal w)
QQmlRefPointer< QQuickCanvasPixmap > takePixmap()
void fill(const QPainterPath &path)
void clip(bool enabled, const QPainterPath &path)
void setShadowOffsetY(qreal y)
void drawImage(const QImage &image, const QRectF &sr, const QRectF &dr)
void setShadowColor(const QColor &color)
QQuickContext2DCommandBuffer()
void clearRect(const QRectF &r)
void setGlobalAlpha(qreal alpha)
QPainter::CompositionMode takeGlobalCompositeOperation()
qreal takeShadowOffsetX()
Qt::PenCapStyle takeLineCap()
void setLineJoin(Qt::PenJoinStyle join)
@ GlobalCompositeOperation
\inmodule QtCore\reentrant
The QVector2D class represents a vector or vertex in 2D space.
EGLint EGLint EGLint EGLint int int * ints
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLsizei const GLubyte * commands
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLenum GLuint GLintptr offset
GLsizei const GLchar *const * path
GLfloat GLfloat GLfloat alpha
#define QT_REQUIRE_CONFIG(feature)