43 #include <QtGui/qtguiglobal.h>
44 #include <QtCore/qlist.h>
45 #include <QtCore/qpair.h>
46 #include <QtCore/qpoint.h>
47 #include <QtCore/qscopedpointer.h>
48 #include <QtGui/qcolor.h>
49 #include <QtGui/qimage.h>
50 #include <QtGui/qpixmap.h>
51 #include <QtGui/qtransform.h>
99 QImage textureImage()
const;
108 bool isOpaque()
const;
113 using DataPtr = std::unique_ptr<QBrushData, QBrushDataPointerDeleter>;
126 inline bool isDetached()
const;
139 #ifndef QT_NO_DATASTREAM
144 #ifndef QT_NO_DEBUG_STREAM
165 class QGradientPrivate;
199 ComponentInterpolation
220 CloudyKnoxville = 18,
228 SaintPetersburg = 26,
287 EternalConstance = 91,
302 ConfidentCloud = 107,
315 CheerfulCaramel = 122,
329 MillenniumPine = 138,
345 LandingAircraft = 155,
347 SleeplessNight = 157,
354 StrictNovember = 164,
382 inline void setSpread(Spread spread);
390 CoordinateMode coordinateMode()
const;
391 void setCoordinateMode(CoordinateMode
mode);
393 InterpolationMode interpolationMode()
const;
394 void setInterpolationMode(InterpolationMode
mode);
418 Type m_type = NoGradient;
419 Spread m_spread = PadSpread;
427 { m_spread = aspread; }
442 void setFinalStop(
const QPointF &stop);
470 qreal radius()
const;
471 void setRadius(
qreal radius);
473 qreal centerRadius()
const;
474 void setCenterRadius(
qreal radius);
476 qreal focalRadius()
const;
477 void setFocalRadius(
qreal radius);
The QAtomicInt class provides platform-independent atomic operations on int.
The QBrush class defines the fill pattern of shapes drawn by QPainter.
void setColor(const QColor &color)
bool operator!=(const QBrush &b) const
const QColor & color() const
std::unique_ptr< QBrushData, QBrushDataPointerDeleter > DataPtr
Qt::BrushStyle style() const
QTransform transform() const
The QColor class provides colors based on RGB, HSV or CMYK values.
The QConicalGradient class is used in combination with QBrush to specify a conical gradient brush.
void setCenter(qreal x, qreal y)
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
The QGradient class is used in combination with QBrush to specify gradient fills.
void setSpread(Spread spread)
bool operator!=(const QGradient &other) const
The QImage class provides a hardware-independent image representation that allows direct access to th...
The QLinearGradient class is used in combination with QBrush to specify a linear gradient brush.
void setStart(qreal x, qreal y)
void setFinalStop(qreal x, qreal y)
The QPainter class performs low-level painting on widgets and other paint devices.
The QPixmap class is an off-screen image representation that can be used as a paint device.
The QPointF class defines a point in the plane using floating point precision.
The QRadialGradient class is used in combination with QBrush to specify a radial gradient brush.
void setCenter(qreal x, qreal y)
void setFocalPoint(qreal x, qreal y)
The QRasterPaintEngine class enables hardware acceleration of painting operations in Qt for Embedded ...
The QVariant class acts like a union for the most common Qt data types.
QTextStream & center(QTextStream &stream)
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro vuzp8 reg2 vuzp d d ®2 endm macro vzip8 reg2 vzip d d ®2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld init[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1 beq endif SRC MASK if dst_r_bpp DST_R else add endif PF add sub src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head pixblock_size cache_preload_simple process_pixblock_tail pixinterleave dst_w_basereg irp beq endif process_pixblock_tail_head tst beq irp if pixblock_size chunk_size tst beq pixld SRC pixld MASK if DST_R else pixld DST_R endif if src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head if pixblock_size cache_preload_simple endif process_pixblock_tail pixinterleave dst_w_basereg irp if pixblock_size chunk_size tst beq if DST_W else pixst DST_W else mov ORIG_W endif add lsl if lsl endif if lsl endif lsl endif lsl endif lsl endif subs mov DST_W if regs_shortage str endif bge start_of_loop_label endm macro generate_composite_function
bool Q_GUI_EXPORT qHasPixmapTexture(const QBrush &brush)
std::pair< T1, T2 > QPair
QT_END_INCLUDE_NAMESPACE typedef double qreal
#define QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(Class)
bool operator==(const QMakeBaseKey &one, const QMakeBaseKey &two)
GLboolean GLboolean GLboolean b
GLint GLint GLint GLint GLint x
[0]
GLuint GLfloat GLfloat GLfloat GLfloat y1
GLuint GLenum GLenum transform
GLfixed GLfixed GLfixed y2
#define Q_DECLARE_SHARED(TYPE)
alphaGradient setColorAt(0.0, Qt::transparent)
item setTransform(QTransform().translate(x, y).rotate(45).translate(-x, -y))
myFilter setColor(QColor(128, 0, 0))
void operator()(QBrushData *d) const noexcept