32 Q_DECLARE_PUBLIC(QQuickRectangularShadow)
39 void handleGeometryChange(
const QRectF &newGeometry,
const QRectF &oldGeometry);
40 void handleItemChange(QQuickItem::ItemChange change,
const QQuickItem::ItemChangeData &value);
41 qreal getPadding()
const;
43 void updateShaderSource();
44 void updateSizeProperties();
46 qreal clampedRadius(qreal radius)
const;
47 QVector4D clampedRadius4R()
const;
48 QQuickItem *currentMaterial()
const;
49 void maybeSetImplicitAntialiasing();
50 bool useIndividualRadius()
const;
51 void updateDefaultShader();
53 QQuickShaderEffect *m_defaultMaterial =
nullptr;
54 QQuickItem *m_material =
nullptr;
55 QColor m_color = { 0, 0, 0, 255 };
60 bool m_cached =
false;
61 bool m_initialized =
false;
69 isTopLeftRadiusSet(
false),
70 isTopRightRadiusSet(
false),
71 isBottomLeftRadiusSet(
false),
72 isBottomRightRadiusSet(
false)
77 qreal bottomLeftRadius;
78 qreal bottomRightRadius;
80 unsigned isTopLeftRadiusSet : 1;
81 unsigned isTopRightRadiusSet : 1;
82 unsigned isBottomLeftRadiusSet : 1;
83 unsigned isBottomRightRadiusSet : 1;
85 QLazilyAllocated<ExtraData> extra;