#include <qquickcontext2dcommandbuffer_p.h>
|
| | QQuickContext2DCommandBuffer () |
| | ~QQuickContext2DCommandBuffer () |
| void | reset () |
| void | clear () |
| int | size () const |
| bool | isEmpty () const |
| bool | hasNext () const |
| QQuickContext2D::PaintCommand | takeNextCommand () |
| qreal | takeGlobalAlpha () |
| QPainter::CompositionMode | takeGlobalCompositeOperation () |
| QBrush | takeStrokeStyle () |
| QBrush | takeFillStyle () |
| qreal | takeLineWidth () |
| Qt::PenCapStyle | takeLineCap () |
| Qt::PenJoinStyle | takeLineJoin () |
| qreal | takeMiterLimit () |
| void | setGlobalAlpha (qreal alpha) |
| void | setGlobalCompositeOperation (QPainter::CompositionMode cm) |
| void | setStrokeStyle (const QBrush &style, bool repeatX=false, bool repeatY=false) |
| void | drawImage (const QImage &image, const QRectF &sr, const QRectF &dr) |
| void | drawPixmap (QQmlRefPointer< QQuickCanvasPixmap > pixmap, const QRectF &sr, const QRectF &dr) |
| qreal | takeShadowOffsetX () |
| qreal | takeShadowOffsetY () |
| qreal | takeShadowBlur () |
| QColor | takeShadowColor () |
| void | updateMatrix (const QTransform &matrix) |
| void | clearRect (const QRectF &r) |
| void | fillRect (const QRectF &r) |
| void | strokeRect (const QRectF &r) |
| void | fill (const QPainterPath &path) |
| void | stroke (const QPainterPath &path) |
| void | clip (bool enabled, const QPainterPath &path) |
| void | setFillStyle (const QBrush &style, bool repeatX=false, bool repeatY=false) |
| void | setLineWidth (qreal w) |
| void | setLineCap (Qt::PenCapStyle cap) |
| void | setLineJoin (Qt::PenJoinStyle join) |
| void | setLineDash (const QVector< qreal > &pattern) |
| void | setLineDashOffset (qreal offset) |
| void | setMiterLimit (qreal limit) |
| void | setShadowOffsetX (qreal x) |
| void | setShadowOffsetY (qreal y) |
| void | setShadowBlur (qreal b) |
| void | setShadowColor (const QColor &color) |
| QTransform | takeMatrix () |
| QRectF | takeRect () |
| QPainterPath | takePath () |
| const QImage & | takeImage () |
| QQmlRefPointer< QQuickCanvasPixmap > | takePixmap () |
| int | takeInt () |
| bool | takeBool () |
| qreal | takeReal () |
| QColor | takeColor () |
| QBrush | takeBrush () |
| void | replay (QPainter *painter, QQuickContext2D::State &state, const QVector2D &scaleFactor) |
◆ QQuickContext2DCommandBuffer()
| QQuickContext2DCommandBuffer::QQuickContext2DCommandBuffer |
( |
| ) |
|
◆ ~QQuickContext2DCommandBuffer()
| QQuickContext2DCommandBuffer::~QQuickContext2DCommandBuffer |
( |
| ) |
|
◆ clear()
| void QQuickContext2DCommandBuffer::clear |
( |
| ) |
|
◆ clearRect()
| void QQuickContext2DCommandBuffer::clearRect |
( |
const QRectF & | r | ) |
|
|
inline |
◆ clip()
| void QQuickContext2DCommandBuffer::clip |
( |
bool | enabled, |
|
|
const QPainterPath & | path ) |
|
inline |
◆ drawImage()
◆ drawPixmap()
◆ fill()
◆ fillRect()
| void QQuickContext2DCommandBuffer::fillRect |
( |
const QRectF & | r | ) |
|
|
inline |
◆ hasNext()
| bool QQuickContext2DCommandBuffer::hasNext |
( |
| ) |
const |
|
inline |
◆ isEmpty()
| bool QQuickContext2DCommandBuffer::isEmpty |
( |
| ) |
const |
|
inline |
◆ replay()
Definition at line 227 of file qquickcontext2dcommandbuffer.cpp.
References QQuickContext2D::ClearRect, QQuickContext2D::Clip, QQuickContext2D::State::clip, QQuickContext2D::DrawImage, QQuickContext2D::DrawPixmap, QQuickContext2D::Fill, QQuickContext2D::State::fillPatternRepeatX, QQuickContext2D::State::fillPatternRepeatY, QQuickContext2D::FillRect, QQuickContext2D::FillStyle, QQuickContext2D::GetImageData, QQuickContext2D::GlobalAlpha, QQuickContext2D::GlobalCompositeOperation, hasNext(), QQuickContext2D::LineCap, QQuickContext2D::LineDash, QQuickContext2D::LineDashOffset, QQuickContext2D::LineJoin, QQuickContext2D::LineWidth, QQuickContext2D::MiterLimit, reset(), QQuickContext2D::ShadowBlur, QQuickContext2D::ShadowColor, QQuickContext2D::ShadowOffsetX, QQuickContext2D::ShadowOffsetY, QQuickContext2D::Stroke, QQuickContext2D::State::strokePatternRepeatX, QQuickContext2D::State::strokePatternRepeatY, QQuickContext2D::StrokeStyle, takeBool(), takeNextCommand(), QQuickContext2D::TextAlign, QQuickContext2D::TextBaseline, and QQuickContext2D::UpdateMatrix.
◆ reset()
| void QQuickContext2DCommandBuffer::reset |
( |
| ) |
|
◆ setFillStyle()
| void QQuickContext2DCommandBuffer::setFillStyle |
( |
const QBrush & | style, |
|
|
bool | repeatX = false, |
|
|
bool | repeatY = false ) |
|
inline |
◆ setGlobalAlpha()
| void QQuickContext2DCommandBuffer::setGlobalAlpha |
( |
qreal | alpha | ) |
|
|
inline |
◆ setGlobalCompositeOperation()
◆ setLineCap()
◆ setLineDash()
| void QQuickContext2DCommandBuffer::setLineDash |
( |
const QVector< qreal > & | pattern | ) |
|
|
inline |
◆ setLineDashOffset()
| void QQuickContext2DCommandBuffer::setLineDashOffset |
( |
qreal | offset | ) |
|
|
inline |
◆ setLineJoin()
◆ setLineWidth()
| void QQuickContext2DCommandBuffer::setLineWidth |
( |
qreal | w | ) |
|
|
inline |
◆ setMiterLimit()
| void QQuickContext2DCommandBuffer::setMiterLimit |
( |
qreal | limit | ) |
|
|
inline |
◆ setShadowBlur()
| void QQuickContext2DCommandBuffer::setShadowBlur |
( |
qreal | b | ) |
|
|
inline |
◆ setShadowColor()
| void QQuickContext2DCommandBuffer::setShadowColor |
( |
const QColor & | color | ) |
|
|
inline |
◆ setShadowOffsetX()
| void QQuickContext2DCommandBuffer::setShadowOffsetX |
( |
qreal | x | ) |
|
|
inline |
◆ setShadowOffsetY()
| void QQuickContext2DCommandBuffer::setShadowOffsetY |
( |
qreal | y | ) |
|
|
inline |
◆ setStrokeStyle()
| void QQuickContext2DCommandBuffer::setStrokeStyle |
( |
const QBrush & | style, |
|
|
bool | repeatX = false, |
|
|
bool | repeatY = false ) |
|
inline |
◆ size()
| int QQuickContext2DCommandBuffer::size |
( |
| ) |
const |
|
inline |
◆ stroke()
◆ strokeRect()
| void QQuickContext2DCommandBuffer::strokeRect |
( |
const QRectF & | r | ) |
|
|
inline |
◆ takeBool()
| bool QQuickContext2DCommandBuffer::takeBool |
( |
| ) |
|
|
inline |
◆ takeBrush()
| QBrush QQuickContext2DCommandBuffer::takeBrush |
( |
| ) |
|
|
inline |
◆ takeColor()
| QColor QQuickContext2DCommandBuffer::takeColor |
( |
| ) |
|
|
inline |
◆ takeFillStyle()
| QBrush QQuickContext2DCommandBuffer::takeFillStyle |
( |
| ) |
|
|
inline |
◆ takeGlobalAlpha()
| qreal QQuickContext2DCommandBuffer::takeGlobalAlpha |
( |
| ) |
|
|
inline |
◆ takeGlobalCompositeOperation()
◆ takeImage()
| const QImage & QQuickContext2DCommandBuffer::takeImage |
( |
| ) |
|
|
inline |
◆ takeInt()
| int QQuickContext2DCommandBuffer::takeInt |
( |
| ) |
|
|
inline |
◆ takeLineCap()
◆ takeLineJoin()
◆ takeLineWidth()
| qreal QQuickContext2DCommandBuffer::takeLineWidth |
( |
| ) |
|
|
inline |
◆ takeMatrix()
| QTransform QQuickContext2DCommandBuffer::takeMatrix |
( |
| ) |
|
|
inline |
◆ takeMiterLimit()
| qreal QQuickContext2DCommandBuffer::takeMiterLimit |
( |
| ) |
|
|
inline |
◆ takeNextCommand()
◆ takePath()
◆ takePixmap()
◆ takeReal()
| qreal QQuickContext2DCommandBuffer::takeReal |
( |
| ) |
|
|
inline |
◆ takeRect()
| QRectF QQuickContext2DCommandBuffer::takeRect |
( |
| ) |
|
|
inline |
◆ takeShadowBlur()
| qreal QQuickContext2DCommandBuffer::takeShadowBlur |
( |
| ) |
|
|
inline |
◆ takeShadowColor()
| QColor QQuickContext2DCommandBuffer::takeShadowColor |
( |
| ) |
|
|
inline |
◆ takeShadowOffsetX()
| qreal QQuickContext2DCommandBuffer::takeShadowOffsetX |
( |
| ) |
|
|
inline |
◆ takeShadowOffsetY()
| qreal QQuickContext2DCommandBuffer::takeShadowOffsetY |
( |
| ) |
|
|
inline |
◆ takeStrokeStyle()
| QBrush QQuickContext2DCommandBuffer::takeStrokeStyle |
( |
| ) |
|
|
inline |
◆ updateMatrix()
| void QQuickContext2DCommandBuffer::updateMatrix |
( |
const QTransform & | matrix | ) |
|
|
inline |
The documentation for this class was generated from the following files: