krita/ui
KisShapeLayerCanvas Class Reference
KisShapeLayerCanvas is a special canvas implementation that Krita uses for non-krita shapes to request updates on. More...
#include <kis_shape_layer_canvas.h>

Public Member Functions | |
| KisShapeLayerCanvas (KisShapeLayer *parent, KoViewConverter *viewConverter) | |
| virtual | ~KisShapeLayerCanvas () |
| void | addCommand (QUndoCommand *command) |
| const QWidget * | canvasWidget () const |
| QWidget * | canvasWidget () |
| void | gridSize (qreal *horizontal, qreal *vertical) const |
| void | setProjection (KisPaintDeviceSP projection) |
| KoShapeManager * | shapeManager () const |
| bool | snapToGrid () const |
| KoToolProxy * | toolProxy () const |
| KoUnit | unit () const |
| void | updateCanvas (const QRectF &rc) |
| virtual void | updateInputMethodInfo () |
| const KoViewConverter * | viewConverter () const |
Detailed Description
KisShapeLayerCanvas is a special canvas implementation that Krita uses for non-krita shapes to request updates on.
Do NOT give this canvas to tools or to the KoCanvasController, it's not made for that.
Definition at line 39 of file kis_shape_layer_canvas.h.
Constructor & Destructor Documentation
| KisShapeLayerCanvas::KisShapeLayerCanvas | ( | KisShapeLayer * | parent, | |
| KoViewConverter * | viewConverter | |||
| ) |
Definition at line 40 of file kis_shape_layer_canvas.cpp.
| KisShapeLayerCanvas::~KisShapeLayerCanvas | ( | ) | [virtual] |
Definition at line 53 of file kis_shape_layer_canvas.cpp.
Member Function Documentation
| void KisShapeLayerCanvas::addCommand | ( | QUndoCommand * | command | ) |
Definition at line 70 of file kis_shape_layer_canvas.cpp.
| const QWidget * KisShapeLayerCanvas::canvasWidget | ( | ) | const |
Definition at line 147 of file kis_shape_layer_canvas.cpp.
| QWidget * KisShapeLayerCanvas::canvasWidget | ( | ) |
Definition at line 142 of file kis_shape_layer_canvas.cpp.
| void KisShapeLayerCanvas::gridSize | ( | qreal * | horizontal, | |
| qreal * | vertical | |||
| ) | const |
Definition at line 57 of file kis_shape_layer_canvas.cpp.
| void KisShapeLayerCanvas::setProjection | ( | KisPaintDeviceSP | projection | ) | [inline] |
This canvas won't render onto a widget, but a projection.
Definition at line 48 of file kis_shape_layer_canvas.h.
| KoShapeManager * KisShapeLayerCanvas::shapeManager | ( | ) | const |
Definition at line 75 of file kis_shape_layer_canvas.cpp.
| bool KisShapeLayerCanvas::snapToGrid | ( | ) | const |
Definition at line 64 of file kis_shape_layer_canvas.cpp.
| KoToolProxy * KisShapeLayerCanvas::toolProxy | ( | ) | const |
Definition at line 131 of file kis_shape_layer_canvas.cpp.
| KoUnit KisShapeLayerCanvas::unit | ( | ) | const |
Definition at line 152 of file kis_shape_layer_canvas.cpp.
| void KisShapeLayerCanvas::updateCanvas | ( | const QRectF & | rc | ) |
Definition at line 84 of file kis_shape_layer_canvas.cpp.
| virtual void KisShapeLayerCanvas::updateInputMethodInfo | ( | ) | [inline, virtual] |
Definition at line 62 of file kis_shape_layer_canvas.h.
| const KoViewConverter * KisShapeLayerCanvas::viewConverter | ( | ) | const |
Definition at line 137 of file kis_shape_layer_canvas.cpp.
The documentation for this class was generated from the following files:
