![]() |
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 , DirtyStrokeGradient = 0x80 } |
| typedef QList< QSGGeometry::ColoredPoint2D > | VertexContainerType |
| typedef QList< QSGGeometry::TexturedPoint2D > | TexturedVertexContainerType |
| typedef QList< 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 36 of file qquickshapegenericrenderer_p.h.
Definition at line 88 of file qquickshapegenericrenderer_p.h.
Definition at line 87 of file qquickshapegenericrenderer_p.h.
Definition at line 86 of file qquickshapegenericrenderer_p.h.
| Enumerator | |
|---|---|
| DirtyFillGeom | |
| DirtyStrokeGeom | |
| DirtyColor | |
| DirtyFillGradient | |
| DirtyFillTransform | |
| DirtyFillTexture | |
| DirtyList | |
| DirtyStrokeGradient | |
Definition at line 39 of file qquickshapegenericrenderer_p.h.
|
inline |
Definition at line 50 of file qquickshapegenericrenderer_p.h.
References QQuickShapeGenericRenderer().
Referenced by QQuickShapeGenericRenderer().
| QQuickShapeGenericRenderer::~QQuickShapeGenericRenderer | ( | ) |
Definition at line 104 of file qquickshapegenericrenderer.cpp.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 117 of file qquickshapegenericrenderer.cpp.
References DirtyList.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 328 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 78 of file qquickshapegenericrenderer_p.h.
References QQuickAbstractPathRenderer::SupportsAsync.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 272 of file qquickshapegenericrenderer.cpp.
|
overridevirtual |
Reimplemented from QQuickAbstractPathRenderer.
Definition at line 312 of file qquickshapegenericrenderer.cpp.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 195 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 160 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
Implements QQuickAbstractPathRenderer.
Definition at line 169 of file qquickshapegenericrenderer.cpp.
References QQuickShapeGenericRenderer::Color4ub::a, DirtyColor, and DirtyFillGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 245 of file qquickshapegenericrenderer.cpp.
References DirtyFillGradient.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 180 of file qquickshapegenericrenderer.cpp.
References DirtyFillGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 259 of file qquickshapegenericrenderer.cpp.
References DirtyFillGeom, and DirtyFillTexture.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 285 of file qquickshapegenericrenderer.cpp.
References DirtyFillTransform.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 187 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 133 of file qquickshapegenericrenderer.cpp.
References DirtyFillGeom, and DirtyStrokeGeom.
| void QQuickShapeGenericRenderer::setRootNode | ( | QQuickShapeGenericNode * | node | ) |
Definition at line 544 of file qquickshapegenericrenderer.cpp.
References DirtyList.
Implements QQuickAbstractPathRenderer.
Definition at line 140 of file qquickshapegenericrenderer.cpp.
References QQuickShapeGenericRenderer::Color4ub::a, DirtyColor, and DirtyStrokeGeom.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 252 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGradient.
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 202 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
Implements QQuickAbstractPathRenderer.
Definition at line 151 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
Reimplemented from QQuickAbstractPathRenderer.
Definition at line 292 of file qquickshapegenericrenderer.cpp.
References DirtyStrokeGeom.
|
static |
Definition at line 473 of file qquickshapegenericrenderer.cpp.
References ColoredVertex::set().
|
static |
Definition at line 506 of file qquickshapegenericrenderer.cpp.
References ColoredVertex::set().
|
overridevirtual |
Implements QQuickAbstractPathRenderer.
Definition at line 553 of file qquickshapegenericrenderer.cpp.
References QQuickShapeGenericNode::m_fillNode, QQuickShapeGenericNode::m_next, and QQuickShapeGenericNode::m_strokeNode.