Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickShapeGradientCacheKey Struct Reference

#include <qquickshape_p_p.h>

+ Collaboration diagram for QQuickShapeGradientCacheKey:

Public Member Functions

 QQuickShapeGradientCacheKey (const QGradientStops &stops, QQuickShapeGradient::SpreadMode spread)
 
bool operator== (const QQuickShapeGradientCacheKey &other) const
 

Public Attributes

QGradientStops stops
 
QQuickShapeGradient::SpreadMode spread
 

Detailed Description

Definition at line 160 of file qquickshape_p_p.h.

Constructor & Destructor Documentation

◆ QQuickShapeGradientCacheKey()

QQuickShapeGradientCacheKey::QQuickShapeGradientCacheKey ( const QGradientStops stops,
QQuickShapeGradient::SpreadMode  spread 
)
inline

Definition at line 162 of file qquickshape_p_p.h.

Member Function Documentation

◆ operator==()

bool QQuickShapeGradientCacheKey::operator== ( const QQuickShapeGradientCacheKey other) const
inline

Definition at line 167 of file qquickshape_p_p.h.

References other(), spread, and stops.

+ Here is the call graph for this function:

Member Data Documentation

◆ spread

QQuickShapeGradient::SpreadMode QQuickShapeGradientCacheKey::spread

Definition at line 166 of file qquickshape_p_p.h.

Referenced by QQuickShapeGradientCache::get(), and operator==().

◆ stops

QGradientStops QQuickShapeGradientCacheKey::stops

The documentation for this struct was generated from the following file: