Plasma
paintutils.h
Go to the documentation of this file.
QPainterPath roundedRectangle(const QRectF &rect, qreal radius)
Returns a nicely rounded rectanglular path for painting.
Definition: paintutils.cpp:159
QPixmap texturedText(const QString &text, const QFont &font, Plasma::Svg *texture)
Definition: paintutils.cpp:107
void shadowBlur(QImage &image, int radius, const QColor &color)
Creates a blurred shadow of the supplied image.
Definition: paintutils.cpp:38
void centerPixmaps(QPixmap &from, QPixmap &to)
center two pixmap together in the biggest rectangle
Definition: paintutils.cpp:174
QPixmap shadowText(QString text, QColor textColor, QColor shadowColor, QPoint offset, int radius)
Definition: paintutils.cpp:56
QPixmap transition(const QPixmap &from, const QPixmap &to, qreal amount)
Blends a pixmap into another.
Definition: paintutils.cpp:208
void drawHalo(QPainter *painter, const QRectF &rect)
Definition: paintutils.cpp:154
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.