|
Krita Source Code Documentation
|
#include "kis_painting_assistants_decoration.h"#include <cstdint>#include <limits>#include <QList>#include <QPointF>#include <klocalizedstring.h>#include <kactioncollection.h>#include <ktoggleaction.h>#include <kis_algebra_2d.h>#include "kis_debug.h"#include "KisDocument.h"#include "kis_canvas2.h"#include "kis_canvas_resource_provider.h"#include "kis_icon_utils.h"#include "KisViewManager.h"#include <KoCompositeOpRegistry.h>#include "kis_tool_proxy.h"#include <KoColorDisplayRendererInterface.h>#include <QPainter>#include <QPainterPath>#include <QApplication>Go to the source code of this file.
Classes | |
| struct | KisPaintingAssistantsDecoration::Private |
Functions | |
| void | drawDoubleState (QPainter &gc, const QImage &icon, const QImage &icon2, QRect maxRect, const QPoint &position, const bool state, const KoColorDisplayRendererInterface *renderInterface) |
| void | drawSingleState (QPainter &gc, const QImage &icon, QRect maxRect, const QPoint &position, const KoColorDisplayRendererInterface *renderInterface, QPoint additional=QPoint()) |
| void drawDoubleState | ( | QPainter & | gc, |
| const QImage & | icon, | ||
| const QImage & | icon2, | ||
| QRect | maxRect, | ||
| const QPoint & | position, | ||
| const bool | state, | ||
| const KoColorDisplayRendererInterface * | renderInterface ) |
Definition at line 571 of file kis_painting_assistants_decoration.cpp.
References KoColorDisplayRendererInterface::convertImageToDisplayColorSpace(), and target().
| void drawSingleState | ( | QPainter & | gc, |
| const QImage & | icon, | ||
| QRect | maxRect, | ||
| const QPoint & | position, | ||
| const KoColorDisplayRendererInterface * | renderInterface, | ||
| QPoint | additional = QPoint() ) |
Definition at line 562 of file kis_painting_assistants_decoration.cpp.
References KoColorDisplayRendererInterface::convertImageToDisplayColorSpace(), and target().