![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquickshapegenericrenderer_p.h>
Classes | |
struct | Color4ub |
Public Types | |
enum | Dirty { DirtyFillGeom = 0x01 , DirtyStrokeGeom = 0x02 , DirtyColor = 0x04 , DirtyFillGradient = 0x08 , DirtyFillTransform = 0x10 , DirtyFillTexture = 0x20 , DirtyList = 0x40 } |
typedef QVector< QSGGeometry::ColoredPoint2D > | VertexContainerType |
typedef QVector< QSGGeometry::TexturedPoint2D > | TexturedVertexContainerType |
typedef QVector< quint32 > | IndexContainerType |
Public Types inherited from QQuickAbstractPathRenderer | |
enum | Flag { SupportsAsync = 0x01 } |
enum | FillGradientType { NoGradient = 0 , LinearGradient , RadialGradient , ConicalGradient } |
Static Public Member Functions | |
static void | triangulateFill (const QPainterPath &path, const Color4ub &fillColor, VertexContainerType *fillVertices, IndexContainerType *fillIndices, QSGGeometry::Type *indexType, bool supportsElementIndexUint, qreal triangulationScale) |
static void | triangulateStroke (const QPainterPath &path, const QPen &pen, const Color4ub &strokeColor, VertexContainerType *strokeVertices, const QSize &clipSize, qreal triangulationScale) |
Definition at line 35 of file qquickshapegenericrenderer_p.h.
Definition at line 85 of file qquickshapegenericrenderer_p.h.
typedef QVector<QSGGeometry::TexturedPoint2D> QQuickShapeGenericRenderer::TexturedVertexContainerType |
Definition at line 84 of file qquickshapegenericrenderer_p.h.
Definition at line 83 of file qquickshapegenericrenderer_p.h.
Enumerator | |
---|---|
DirtyFillGeom | |
DirtyStrokeGeom | |
DirtyColor | |
DirtyFillGradient | |
DirtyFillTransform | |
DirtyFillTexture | |
DirtyList |
Definition at line 38 of file qquickshapegenericrenderer_p.h.
|
inline |
Definition at line 48 of file qquickshapegenericrenderer_p.h.
References QQuickShapeGenericRenderer().
Referenced by QQuickShapeGenericRenderer().
QQuickShapeGenericRenderer::~QQuickShapeGenericRenderer | ( | ) |
Definition at line 103 of file qquickshapegenericrenderer.cpp.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 116 of file qquickshapegenericrenderer.cpp.
References DirtyList.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 310 of file qquickshapegenericrenderer.cpp.
References QQuickShapeGenericRenderer::Color4ub::a, DirtyFillGeom, DirtyStrokeGeom, QQuickShapeFillRunnable::fillColor, QQuickShapeFillRunnable::orphaned, QQuickShapeStrokeRunnable::orphaned, QQuickShapeStrokeRunnable::strokeColor, and QQuickShapeFillRunnable::supportsElementIndexUint.
|
inlineoverridevirtual |
Reimplemented from QQuickAbstractPathRenderer.
Definition at line 75 of file qquickshapegenericrenderer_p.h.
References QQuickAbstractPathRenderer::SupportsAsync.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 255 of file qquickshapegenericrenderer.cpp.
|
overridevirtual |
Reimplemented from QQuickAbstractPathRenderer.
Definition at line 294 of file qquickshapegenericrenderer.cpp.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 194 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 159 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
Implements QQuickAbstractPathRenderer.
Definition at line 168 of file qquickshapegenericrenderer.cpp.
References QQuickShapeGenericRenderer::Color4ub::a, DirtyColor, and DirtyFillGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 213 of file qquickshapegenericrenderer.cpp.
References DirtyFillGradient.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 179 of file qquickshapegenericrenderer.cpp.
References DirtyFillGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 242 of file qquickshapegenericrenderer.cpp.
References DirtyFillGeom, and DirtyFillTexture.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 268 of file qquickshapegenericrenderer.cpp.
References DirtyFillTransform.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 186 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 132 of file qquickshapegenericrenderer.cpp.
References DirtyFillGeom, and DirtyStrokeGeom.
void QQuickShapeGenericRenderer::setRootNode | ( | QQuickShapeGenericNode * | node | ) |
Definition at line 526 of file qquickshapegenericrenderer.cpp.
References DirtyList.
Implements QQuickAbstractPathRenderer.
Definition at line 139 of file qquickshapegenericrenderer.cpp.
References QQuickShapeGenericRenderer::Color4ub::a, DirtyColor, and DirtyStrokeGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 201 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
Implements QQuickAbstractPathRenderer.
Definition at line 150 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
Reimplemented from QQuickAbstractPathRenderer.
Definition at line 275 of file qquickshapegenericrenderer.cpp.
|
static |
Definition at line 455 of file qquickshapegenericrenderer.cpp.
References ColoredVertex::set().
|
static |
Definition at line 488 of file qquickshapegenericrenderer.cpp.
References ColoredVertex::set().
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 535 of file qquickshapegenericrenderer.cpp.
References QQuickShapeGenericNode::m_fillNode, QQuickShapeGenericNode::m_next, and QQuickShapeGenericNode::m_strokeNode.