libplasma
paintutils.cpp File Reference
#include <paintutils.h>
#include <QImage>
#include <QPainter>
#include <QPixmap>
#include "effects/blur.cpp"
Include dependency graph for paintutils.cpp:

Go to the source code of this file.
Namespaces | |
namespace | Plasma |
namespace | Plasma::PaintUtils |
Functions | |
QPainterPath | Plasma::PaintUtils::roundedRectangle (const QRectF &rect, qreal radius) |
void | Plasma::PaintUtils::shadowBlur (QImage &image, int radius, const QColor &color) |
QPixmap | Plasma::PaintUtils::shadowText (QString text, QColor textColor=Plasma::Theme::defaultTheme()->color(Plasma::Theme::TextColor), QColor shadowColor=Plasma::Theme::defaultTheme()->color(Plasma::Theme::BackgroundColor), QPoint offset=QPoint(1, 1), int radius=2) |