Plasma
paintutils.h File Reference
#include <QtGui/QApplication>
#include <QtGui/QGraphicsItem>
#include <QtGui/QPainterPath>
#include <plasma/plasma_export.h>
#include "theme.h"
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, QColor shadowColor, QPoint offset, int radius) |
QPixmap | Plasma::PaintUtils::shadowText (QString text, const QFont &font, 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) |
QPixmap | Plasma::PaintUtils::transition (const QPixmap &from, const QPixmap &to, qreal amount) |