4#ifndef QQUICKSHAPE_P_P_H
5#define QQUICKSHAPE_P_P_H
18#include <QtQuickShapes/private/qquickshapesglobal_p.h>
19#include <QtQuickShapes/private/qquickshape_p.h>
20#include <private/qquickitem_p.h>
21#include <private/qsgtransform_p.h>
22#include <QPainterPath>
25#include <QElapsedTimer>
27# include <private/qopenglcontext_p.h>
46 virtual void beginSync(
int totalCount,
bool *countChanged) = 0;
58 qreal dashOffset,
const QVector<qreal> &dashPattern) = 0;
94 DirtyStrokeColor = 0x02,
95 DirtyStrokeWidth = 0x04,
96 DirtyFillColor = 0x08,
100 DirtyFillGradient = 0x80,
101 DirtyFillTransform = 0x100,
109 void _q_fillGradientChanged();
142 QVector<QQuickShapePath *>
sp;
The QColor class provides colors based on RGB, HSV or CMYK values.
virtual void setPath(int index, const QQuickPath *path)=0
virtual void setTriangulationScale(qreal)
virtual void beginSync(int totalCount, bool *countChanged)=0
virtual void setStrokeColor(int index, const QColor &color)=0
virtual void setStrokeStyle(int index, QQuickShapePath::StrokeStyle strokeStyle, qreal dashOffset, const QVector< qreal > &dashPattern)=0
virtual void setAsyncCallback(void(*)(void *), void *)
virtual Flags flags() const
virtual void setCapStyle(int index, QQuickShapePath::CapStyle capStyle)=0
virtual void setFillGradient(int index, QQuickShapeGradient *gradient)=0
virtual ~QQuickAbstractPathRenderer()
virtual void setFillColor(int index, const QColor &color)=0
virtual void setFillRule(int index, QQuickShapePath::FillRule fillRule)=0
virtual void setStrokeWidth(int index, qreal w)=0
virtual void setFillTransform(int index, const QSGTransform &transform)=0
virtual void endSync(bool async)=0
virtual void updateNode()=0
virtual void setJoinStyle(int index, QQuickShapePath::JoinStyle joinStyle, int miterLimit)=0
QQuickShapePath::PathHints pathHints
QQuickShapeStrokeFillParams sfp
static QQuickShapePathPrivate * get(QQuickShapePath *p)
QQuickShape::RendererType rendererType
QVector< QQuickShapePath * > sp
QQuickShapePrivate()
Renders a path.
static QQuickShapePrivate * get(QQuickShape *item)
qreal getImplicitWidth() const override
void setStatus(QQuickShape::Status newStatus)
void _q_shapePathChanged()
qreal getImplicitHeight() const override
QQuickShape::VAlignment verticalAlignment
QQuickShape::Status status
QQuickAbstractPathRenderer * renderer
QQuickShape::RendererType preferredType
static void asyncShapeReady(void *data)
QQuickShape::ContainsMode containsMode
QQuickShape::RendererType selectRendererType()
QQuickShape::HAlignment horizontalAlignment
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLfloat GLfloat GLfloat w
[0]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint GLenum GLenum transform
GLsizei const GLchar *const * path
QQuickShapePath::JoinStyle joinStyle
QQuickShapePath::FillRule fillRule
QSGTransform fillTransform
QVector< qreal > dashPattern
QQuickShapePath::CapStyle capStyle
QQuickShapePath::StrokeStyle strokeStyle
QQuickShapeGradient * fillGradient