![]() |
Qt 6.x
The Qt SDK
|
#include <qquickcontext2d_p.h>
Classes | |
struct | State |
Public Types | |
enum | TextBaseLineType { Alphabetic =0 , Top , Middle , Bottom , Hanging } |
enum | TextAlignType { Start =0 , End , Left , Right , Center } |
enum | PaintCommand { Invalid = 0 , UpdateMatrix , ClearRect , FillRect , StrokeRect , Fill , Stroke , Clip , UpdateBrush , GlobalAlpha , GlobalCompositeOperation , StrokeStyle , FillStyle , LineWidth , LineCap , LineJoin , LineDash , LineDashOffset , MiterLimit , ShadowOffsetX , ShadowOffsetY , ShadowBlur , ShadowColor , Font , TextBaseline , TextAlign , FillText , StrokeText , DrawImage , DrawPixmap , GetImageData } |
Public Member Functions | |
QQuickContext2D (QObject *parent=nullptr) | |
~QQuickContext2D () | |
QStringList | contextNames () const override |
void | init (QQuickCanvasItem *canvasItem, const QVariantMap &args) override |
void | prepare (const QSize &canvasSize, const QSize &tileSize, const QRect &canvasWindow, const QRect &dirtyRect, bool smooth, bool antialiasing) override |
void | flush () override |
void | sync () |
QThread * | thread () const |
QQuickContext2DTexture * | texture () const |
QImage | toImage (const QRectF &bounds) override |
QV4::ReturnedValue | v4value () const override |
QV4::ExecutionEngine * | v4Engine () const override |
void | setV4Engine (QV4::ExecutionEngine *eng) override |
QQuickCanvasItem * | canvas () const |
QQuickContext2DCommandBuffer * | buffer () const |
bool | bufferValid () const |
void | popState () |
void | pushState () |
void | reset () |
void | fill () |
void | clip () |
void | stroke () |
void | fillRect (qreal x, qreal y, qreal w, qreal h) |
void | strokeRect (qreal x, qreal y, qreal w, qreal h) |
void | clearRect (qreal x, qreal y, qreal w, qreal h) |
void | drawText (const QString &text, qreal x, qreal y, bool fill) |
void | scale (qreal x, qreal y) |
void | rotate (qreal angle) |
void | shear (qreal h, qreal v) |
void | translate (qreal x, qreal y) |
void | transform (qreal a, qreal b, qreal c, qreal d, qreal e, qreal f) |
void | setTransform (qreal a, qreal b, qreal c, qreal d, qreal e, qreal f) |
void | beginPath () |
void | closePath () |
void | moveTo (qreal x, qreal y) |
void | lineTo (qreal x, qreal y) |
void | quadraticCurveTo (qreal cpx, qreal cpy, qreal x, qreal y) |
void | bezierCurveTo (qreal cp1x, qreal cp1y, qreal cp2x, qreal cp2y, qreal x, qreal y) |
void | arcTo (qreal x1, qreal y1, qreal x2, qreal y2, qreal radius) |
void | rect (qreal x, qreal y, qreal w, qreal h) |
void | roundedRect (qreal x, qreal y, qreal w, qreal h, qreal xr, qreal yr) |
void | ellipse (qreal x, qreal y, qreal w, qreal h) |
void | text (const QString &str, qreal x, qreal y) |
void | arc (qreal x, qreal y, qreal radius, qreal startAngle, qreal endAngle, bool anticlockwise) |
void | addArcTo (const QPointF &p1, const QPointF &p2, qreal radius) |
bool | isPointInPath (qreal x, qreal y) const |
QPainterPath | createTextGlyphs (qreal x, qreal y, const QString &text) |
QQmlRefPointer< QQuickCanvasPixmap > | createPixmap (const QUrl &url, QSizeF sourceSize=QSizeF()) |
QSurface * | surface () const |
void | setGrabbedImage (const QImage &grab) |
![]() | |
QQuickCanvasContext (QObject *parent=nullptr) | |
~QQuickCanvasContext () | |
virtual QStringList | contextNames () const =0 |
virtual void | init (QQuickCanvasItem *canvasItem, const QVariantMap &args)=0 |
virtual void | prepare (const QSize &canvasSize, const QSize &tileSize, const QRect &canvasWindow, const QRect &dirtyRect, bool smooth, bool antialiasing) |
virtual void | flush () |
virtual QV4::ExecutionEngine * | v4Engine () const =0 |
virtual void | setV4Engine (QV4::ExecutionEngine *engine)=0 |
virtual QV4::ReturnedValue | v4value () const =0 |
virtual QImage | toImage (const QRectF &bounds)=0 |
![]() | |
Q_INVOKABLE | QObject (QObject *parent=nullptr) |
Constructs an object with parent object parent. | |
virtual | ~QObject () |
Destroys the object, deleting all its child objects. | |
virtual bool | event (QEvent *event) |
This virtual function receives events to an object and should return true if the event e was recognized and processed. | |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
Filters events if this object has been installed as an event filter for the watched object. | |
QString | objectName () const |
Q_WEAK_OVERLOAD void | setObjectName (const QString &name) |
Sets the object's name to name. | |
void | setObjectName (QAnyStringView name) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QBindable< QString > | bindableObjectName () |
bool | isWidgetType () const |
Returns true if the object is a widget; otherwise returns false . | |
bool | isWindowType () const |
Returns true if the object is a window; otherwise returns false . | |
bool | isQuickItemType () const |
Returns true if the object is a QQuickItem; otherwise returns false . | |
bool | signalsBlocked () const noexcept |
Returns true if signals are blocked; otherwise returns false . | |
bool | blockSignals (bool b) noexcept |
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). | |
QThread * | thread () const |
Returns the thread in which the object lives. | |
void | moveToThread (QThread *thread) |
Changes the thread affinity for this object and its children. | |
int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds. | |
int | startTimer (std::chrono::milliseconds time, Qt::TimerType timerType=Qt::CoarseTimer) |
void | killTimer (int id) |
Kills the timer with timer identifier, id. | |
template<typename T > | |
T | findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object. | |
template<typename T > | |
QList< T > | findChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. | |
template<typename T > | |
QList< T > | findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
const QObjectList & | children () const |
Returns a list of child objects. | |
void | setParent (QObject *parent) |
Makes the object a child of parent. | |
void | installEventFilter (QObject *filterObj) |
Installs an event filter filterObj on this object. | |
void | removeEventFilter (QObject *obj) |
Removes an event filter object obj from this object. | |
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
bool | disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const |
bool | disconnect (const QObject *receiver, const char *member=nullptr) const |
void | dumpObjectTree () const |
Dumps a tree of children to the debug output. | |
void | dumpObjectInfo () const |
Dumps information about signal connections, etc. | |
bool | setProperty (const char *name, const QVariant &value) |
Sets the value of the object's name property to value. | |
bool | setProperty (const char *name, QVariant &&value) |
QVariant | property (const char *name) const |
Returns the value of the object's name property. | |
QList< QByteArray > | dynamicPropertyNames () const |
QBindingStorage * | bindingStorage () |
const QBindingStorage * | bindingStorage () const |
QObject * | parent () const |
Returns a pointer to the parent object. | |
bool | inherits (const char *classname) const |
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false . | |
Static Public Attributes | |
static QMutex | mutex |
Additional Inherited Members | |
![]() | |
void | deleteLater () |
\threadsafe | |
![]() | |
void | textureChanged () |
![]() | |
void | destroyed (QObject *=nullptr) |
This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked. | |
void | objectNameChanged (const QString &objectName, QPrivateSignal) |
This signal is emitted after the object's name has been changed. | |
![]() | |
static QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
\threadsafe | |
static QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
\threadsafe | |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static bool | disconnect (const QMetaObject::Connection &) |
Disconnect a connection. | |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot) |
template<typename Func1 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero) |
![]() | |
QObject * | sender () const |
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr. | |
int | senderSignalIndex () const |
int | receivers (const char *signal) const |
Returns the number of receivers connected to the signal. | |
bool | isSignalConnected (const QMetaMethod &signal) const |
virtual void | timerEvent (QTimerEvent *event) |
This event handler can be reimplemented in a subclass to receive timer events for the object. | |
virtual void | childEvent (QChildEvent *event) |
This event handler can be reimplemented in a subclass to receive child events. | |
virtual void | customEvent (QEvent *event) |
This event handler can be reimplemented in a subclass to receive custom events. | |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
QObject (QObjectPrivate &dd, QObject *parent=nullptr) | |
![]() | |
QScopedPointer< QObjectData > | d_ptr |
![]() | |
QString | objectName |
the name of this object | |
![]() | |
template< class T > T | qobject_cast (const QObject *object) |
Returns the given object cast to type T if the object is of type T (or of a subclass); otherwise returns \nullptr. | |
template< typename T > T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
template< typename T > QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
QObjectList | |
\macro Q_CLASSINFO(Name, Value) | |
Definition at line 54 of file qquickcontext2d_p.h.
Definition at line 63 of file qquickcontext2d_p.h.
Enumerator | |
---|---|
Start | |
End | |
Left | |
Right | |
Center |
Definition at line 62 of file qquickcontext2d_p.h.
Enumerator | |
---|---|
Alphabetic | |
Top | |
Middle | |
Bottom | |
Hanging |
Definition at line 61 of file qquickcontext2d_p.h.
Definition at line 4230 of file qquickcontext2d.cpp.
QQuickContext2D::~QQuickContext2D | ( | ) |
Definition at line 4240 of file qquickcontext2d.cpp.
References QObject::deleteLater(), QMutex::lock(), m_buffer, m_texture, mutex, QQuickContext2DTexture::setItem(), and QMutex::unlock().
Definition at line 3916 of file qquickcontext2d.cpp.
References QPointF::dotProduct(), M_PI, p1, p2, qFuzzyCompare(), QPointF::x(), and QPointF::y().
void QQuickContext2D::arc | ( | qreal | x, |
qreal | y, | ||
qreal | radius, | ||
qreal | startAngle, | ||
qreal | endAngle, | ||
bool | anticlockwise | ||
) |
Definition at line 4048 of file qquickcontext2d.cpp.
References qAbs(), qFuzzyCompare(), qRadiansToDegrees(), qt_is_finite(), and state.
Definition at line 3969 of file qquickcontext2d.cpp.
References qt_is_finite(), and state.
void QQuickContext2D::beginPath | ( | ) |
Definition at line 3846 of file qquickcontext2d.cpp.
void QQuickContext2D::bezierCurveTo | ( | qreal | cp1x, |
qreal | cp1y, | ||
qreal | cp2x, | ||
qreal | cp2y, | ||
qreal | x, | ||
qreal | y | ||
) |
Definition at line 3901 of file qquickcontext2d.cpp.
References state.
|
inline |
Definition at line 171 of file qquickcontext2d_p.h.
References m_buffer.
Referenced by popState().
|
inline |
Definition at line 173 of file qquickcontext2d_p.h.
References m_buffer.
|
inline |
Definition at line 170 of file qquickcontext2d_p.h.
References m_canvas.
Definition at line 3819 of file qquickcontext2d.cpp.
References qt_is_finite(), and state.
void QQuickContext2D::clip | ( | ) |
Definition at line 3770 of file qquickcontext2d.cpp.
References QPainterPath::closeSubpath(), QPainterPath::intersected(), and state.
void QQuickContext2D::closePath | ( | ) |
Definition at line 3853 of file qquickcontext2d.cpp.
References QRectF::height(), and QRectF::width().
|
overridevirtual |
Implements QQuickCanvasContext.
Definition at line 4255 of file qquickcontext2d.cpp.
References QStringLiteral.
QQmlRefPointer< QQuickCanvasPixmap > QQuickContext2D::createPixmap | ( | const QUrl & | url, |
QSizeF | sourceSize = QSizeF() |
||
) |
Definition at line 4155 of file qquickcontext2d.cpp.
References url.
QPainterPath QQuickContext2D::createTextGlyphs | ( | qreal | x, |
qreal | y, | ||
const QString & | text | ||
) |
Definition at line 4160 of file qquickcontext2d.cpp.
References QPainterPath::addText(), baseLineOffset(), state, text, and textAlignOffset().
Definition at line 3830 of file qquickcontext2d.cpp.
References fill(), qt_is_finite(), state, and text.
Definition at line 4021 of file qquickcontext2d.cpp.
References qt_is_finite(), and state.
void QQuickContext2D::fill | ( | ) |
Definition at line 3758 of file qquickcontext2d.cpp.
References state.
Definition at line 3797 of file qquickcontext2d.cpp.
References qt_is_finite(), and state.
|
overridevirtual |
Reimplemented from QQuickCanvasContext.
Definition at line 4317 of file qquickcontext2d.cpp.
References QThread::currentThread(), m_buffer, m_texture, QQuickContext2DTexture::paint(), QCoreApplication::postEvent(), and QObject::thread().
Referenced by toImage().
|
overridevirtual |
Implements QQuickCanvasContext.
Definition at line 4260 of file qquickcontext2d.cpp.
References QQuickItem::antialiasing, args, QQuickCanvasItem::canvasSize, QQuickCanvasItem::canvasWindow, QObject::connect(), QThread::currentThread(), QQuickCanvasItem::FramebufferObject, QQuickCanvasItem::Image, QQuickContext2DRenderThread::instance(), m_canvas, m_renderStrategy, m_renderTarget, m_texture, m_thread, QObject::moveToThread(), QGuiApplicationPrivate::platformIntegration(), Q_UNUSED, qmlEngine(), QQuickCanvasItem::renderStrategy, QQuickCanvasItem::renderTarget, reset(), QQuickContext2DTexture::setAntialiasing(), QQuickContext2DTexture::setCanvasSize(), QQuickContext2DTexture::setCanvasWindow(), QQuickContext2DTexture::setItem(), QQuickContext2DTexture::setOnCustomThread(), QQuickContext2DTexture::setSmooth(), QQuickContext2DTexture::setTileSize(), SIGNAL, QQuickItem::smooth, QQuickCanvasContext::textureChanged(), QQuickCanvasItem::Threaded, QPlatformIntegration::ThreadedOpenGL, QQuickCanvasItem::tileSize, QRectF::toRect(), and QSizeF::toSize().
Definition at line 4184 of file qquickcontext2d.cpp.
References areCollinear(), contains(), i, QTransform::inverted(), QTransform::map(), p1, p2, qAbs(), qt_is_finite(), state, and withinRange().
Definition at line 3874 of file qquickcontext2d.cpp.
References state.
Definition at line 3865 of file qquickcontext2d.cpp.
References state.
void QQuickContext2D::popState | ( | ) |
Definition at line 4396 of file qquickcontext2d.cpp.
References buffer(), QQuickContext2D::State::clip, QQuickContext2DCommandBuffer::clip(), QQuickContext2D::State::clipPath, QQuickContext2D::State::fillStyle, QQuickContext2D::State::globalAlpha, QQuickContext2D::State::globalCompositeOperation, QTransform::inverted(), QList< T >::isEmpty(), QQuickContext2D::State::lineCap, QQuickContext2D::State::lineDash, QQuickContext2D::State::lineJoin, QQuickContext2D::State::lineWidth, m_path, m_stateStack, QTransform::map(), QQuickContext2D::State::matrix, QQuickContext2D::State::miterLimit, newState(), QStack< T >::pop(), QQuickContext2DCommandBuffer::setFillStyle(), QQuickContext2DCommandBuffer::setGlobalAlpha(), QQuickContext2DCommandBuffer::setGlobalCompositeOperation(), QQuickContext2DCommandBuffer::setLineCap(), QQuickContext2DCommandBuffer::setLineDash(), QQuickContext2DCommandBuffer::setLineJoin(), QQuickContext2DCommandBuffer::setLineWidth(), QQuickContext2DCommandBuffer::setMiterLimit(), QQuickContext2DCommandBuffer::setShadowBlur(), QQuickContext2DCommandBuffer::setShadowColor(), QQuickContext2DCommandBuffer::setShadowOffsetX(), QQuickContext2DCommandBuffer::setShadowOffsetY(), QQuickContext2DCommandBuffer::setStrokeStyle(), QQuickContext2D::State::shadowBlur, QQuickContext2D::State::shadowColor, QQuickContext2D::State::shadowOffsetX, QQuickContext2D::State::shadowOffsetY, state, QQuickContext2D::State::strokeStyle, and QQuickContext2DCommandBuffer::updateMatrix().
Referenced by reset().
|
overridevirtual |
Reimplemented from QQuickCanvasContext.
Definition at line 4302 of file qquickcontext2d.cpp.
References QQuickContext2DTexture::canvasChanged(), QThread::currentThread(), e, m_texture, QCoreApplication::postEvent(), QObject::thread(), and tileSize.
void QQuickContext2D::pushState | ( | ) |
Definition at line 4452 of file qquickcontext2d.cpp.
References m_stateStack, QStack< T >::push(), and state.
Definition at line 3887 of file qquickcontext2d.cpp.
References state.
Definition at line 3990 of file qquickcontext2d.cpp.
References qt_is_finite(), and state.
void QQuickContext2D::reset | ( | ) |
Definition at line 4457 of file qquickcontext2d.cpp.
References QList< T >::clear(), QQuickContext2DCommandBuffer::clearRect(), QQuickItem::height, m_buffer, m_canvas, m_path, m_stateStack, newState(), popState(), QStack< T >::push(), QQuickItem::width, and Qt::WindingFill.
Referenced by init().
Definition at line 3660 of file qquickcontext2d.cpp.
References QTransform::isInvertible(), QTransform::map(), qRadiansToDegrees(), qt_is_finite(), QTransform::rotate(), and state.
Definition at line 4004 of file qquickcontext2d.cpp.
References Qt::AbsoluteSize, qt_is_finite(), and state.
Definition at line 3639 of file qquickcontext2d.cpp.
References QTransform::isInvertible(), QTransform::map(), qt_is_finite(), QTransform::scale(), and state.
Definition at line 4149 of file qquickcontext2d.cpp.
Referenced by QQuickContext2DImageTexture::grabImage().
Definition at line 3743 of file qquickcontext2d.cpp.
References d, e, QTransform::inverted(), QTransform::isInvertible(), QTransform::map(), qt_is_finite(), and state.
|
overridevirtual |
Implements QQuickCanvasContext.
Definition at line 4476 of file qquickcontext2d.cpp.
References QQuickContext2DEngineData::contextPrototype, engine, m_v4engine, m_v4value, QV4::PersistentValue::value(), and wrapper().
Definition at line 3681 of file qquickcontext2d.cpp.
References QTransform::isInvertible(), QTransform::map(), qt_is_finite(), return, QTransform::shear(), and state.
void QQuickContext2D::stroke | ( | ) |
Definition at line 3786 of file qquickcontext2d.cpp.
References state.
Definition at line 3808 of file qquickcontext2d.cpp.
References qt_is_finite(), and state.
|
inline |
Definition at line 217 of file qquickcontext2d_p.h.
References QScopedPointer< T, Cleanup >::data(), and m_surface.
void QQuickContext2D::sync | ( | ) |
Definition at line 4038 of file qquickcontext2d.cpp.
QQuickContext2DTexture * QQuickContext2D::texture | ( | ) | const |
Definition at line 4328 of file qquickcontext2d.cpp.
References m_texture.
|
inline |
Definition at line 162 of file qquickcontext2d_p.h.
References m_thread.
Implements QQuickCanvasContext.
Definition at line 4333 of file qquickcontext2d.cpp.
References Qt::BlockingQueuedConnection, QQuickCanvasItem::Cooperative, QThread::currentThread(), flush(), QQuickContext2DTexture::grabImage(), QMetaObject::invokeMethod(), m_grabbed, m_grabbedImage, m_renderStrategy, m_texture, QCoreApplication::postEvent(), Q_ARG, qWarning, QObject::thread(), and QEvent::User.
Definition at line 3723 of file qquickcontext2d.cpp.
References d, e, QTransform::isInvertible(), qt_is_finite(), and state.
Definition at line 3702 of file qquickcontext2d.cpp.
References QTransform::isInvertible(), QTransform::map(), qt_is_finite(), return, state, and QTransform::translate().
|
overridevirtual |
Implements QQuickCanvasContext.
Definition at line 4471 of file qquickcontext2d.cpp.
References m_v4engine.
|
overridevirtual |
Implements QQuickCanvasContext.
Definition at line 4250 of file qquickcontext2d.cpp.
References m_v4value, and QV4::PersistentValue::value().
QQuickContext2DCommandBuffer* QQuickContext2D::m_buffer |
Definition at line 223 of file qquickcontext2d_p.h.
Referenced by ~QQuickContext2D(), buffer(), bufferValid(), flush(), and reset().
QQueue<QQuickContext2DCommandBuffer*> QQuickContext2D::m_bufferQueue |
Definition at line 234 of file qquickcontext2d_p.h.
QQuickCanvasItem* QQuickContext2D::m_canvas |
Definition at line 222 of file qquickcontext2d_p.h.
QV4::PersistentValue QQuickContext2D::m_fillStyle |
Definition at line 225 of file qquickcontext2d_p.h.
bool QQuickContext2D::m_grabbed |
Definition at line 237 of file qquickcontext2d_p.h.
Referenced by toImage().
QImage QQuickContext2D::m_grabbedImage |
Definition at line 236 of file qquickcontext2d_p.h.
Referenced by toImage().
QPainterPath QQuickContext2D::m_path |
Definition at line 224 of file qquickcontext2d_p.h.
Referenced by popState(), and reset().
QQuickCanvasItem::RenderStrategy QQuickContext2D::m_renderStrategy |
Definition at line 233 of file qquickcontext2d_p.h.
QQuickCanvasItem::RenderTarget QQuickContext2D::m_renderTarget |
Definition at line 232 of file qquickcontext2d_p.h.
Referenced by init().
QStack<QQuickContext2D::State> QQuickContext2D::m_stateStack |
Definition at line 221 of file qquickcontext2d_p.h.
Referenced by popState(), pushState(), and reset().
QV4::PersistentValue QQuickContext2D::m_strokeStyle |
Definition at line 226 of file qquickcontext2d_p.h.
QScopedPointer<QOffscreenSurface> QQuickContext2D::m_surface |
Definition at line 229 of file qquickcontext2d_p.h.
Referenced by surface().
QQuickContext2DTexture* QQuickContext2D::m_texture |
Definition at line 231 of file qquickcontext2d_p.h.
Referenced by ~QQuickContext2D(), flush(), init(), prepare(), texture(), and toImage().
QThread* QQuickContext2D::m_thread |
Definition at line 235 of file qquickcontext2d_p.h.
QV4::ExecutionEngine* QQuickContext2D::m_v4engine |
Definition at line 228 of file qquickcontext2d_p.h.
Referenced by setV4Engine(), and v4Engine().
QV4::PersistentValue QQuickContext2D::m_v4path |
Definition at line 227 of file qquickcontext2d_p.h.
QV4::PersistentValue QQuickContext2D::m_v4value |
Definition at line 230 of file qquickcontext2d_p.h.
Referenced by setV4Engine(), and v4value().
|
static |
Definition at line 239 of file qquickcontext2d_p.h.
Referenced by ~QQuickContext2D(), QQuickContext2DImageTexture::grabImage(), and QQuickContext2DTexture::paint().
State QQuickContext2D::state |
Definition at line 220 of file qquickcontext2d_p.h.
Referenced by popState(), pushState(), and QQuickContext2DTexture::setItem().