4#ifndef QSGGRADIENTCACHE_P_H
5#define QSGGRADIENTCACHE_P_H
18#include <QtCore/qhash.h>
19#include <QtGui/qbrush.h>
21#include <QtQuick/qtquickexports.h>
32 : stops(stops), spread(spread)
38 return spread ==
other.spread && stops ==
other.stops;
44 size_t h =
seed +
v.spread;
45 for (
int i = 0;
i < 3 &&
i <
v.stops.size(); ++
i)
46 h +=
v.stops[
i].second.rgba();
67 QHash<QSGGradientCacheKey, QSGPlainTexture *> m_textures;
Spread
Specifies how the area outside the gradient area should be filled.
\inmodule QtCore\reentrant
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
Combined button and popup list for selecting options.
static QDBusError::ErrorType get(const char *name)
GLsizei const GLfloat * v
[13]
GLfloat GLfloat GLfloat GLfloat h
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
size_t qHash(const QSGGradientCacheKey &v, size_t seed=0)
QSGGradientCacheKey(const QGradientStops &stops, QGradient::Spread spread)
bool operator==(const QSGGradientCacheKey &other) const