krita/ui
KisShapeSelection Class Reference
#include <kis_shape_selection.h>

Public Member Functions | |
| KisShapeSelection (const KisShapeSelection &rhs) | |
| KisShapeSelection (KisImageWSP image, KisSelectionSP selection) | |
| virtual | ~KisShapeSelection () |
| void | addChild (KoShape *object) |
| KisSelectionComponent * | clone () |
| bool | loadSelection (KoStore *store) |
| void | removeChild (KoShape *object) |
| virtual void | renderToProjection (KisSelection *projection, const QRect &r) |
| virtual void | renderToProjection (KisSelection *projection) |
| bool | saveSelection (KoStore *store) const |
| virtual QPainterPath | selectionOutline () |
| virtual void | setDirty () |
| KoShapeManager * | shapeManager () const |
Protected Member Functions | |
| virtual void | paintComponent (QPainter &painter, const KoViewConverter &converter) |
Detailed Description
Definition at line 35 of file kis_shape_selection.h.
Constructor & Destructor Documentation
| KisShapeSelection::KisShapeSelection | ( | KisImageWSP | image, | |
| KisSelectionSP | selection | |||
| ) |
Definition at line 57 of file kis_shape_selection.cpp.
| KisShapeSelection::~KisShapeSelection | ( | ) | [virtual] |
Definition at line 70 of file kis_shape_selection.cpp.
| KisShapeSelection::KisShapeSelection | ( | const KisShapeSelection & | rhs | ) |
Definition at line 75 of file kis_shape_selection.cpp.
Member Function Documentation
| void KisShapeSelection::addChild | ( | KoShape * | object | ) |
Definition at line 266 of file kis_shape_selection.cpp.
| KisSelectionComponent * KisShapeSelection::clone | ( | ) |
Definition at line 84 of file kis_shape_selection.cpp.
| bool KisShapeSelection::loadSelection | ( | KoStore * | store | ) |
Definition at line 180 of file kis_shape_selection.cpp.
| void KisShapeSelection::paintComponent | ( | QPainter & | painter, | |
| const KoViewConverter & | converter | |||
| ) | [protected, virtual] |
Definition at line 294 of file kis_shape_selection.cpp.
| void KisShapeSelection::removeChild | ( | KoShape * | object | ) |
Definition at line 272 of file kis_shape_selection.cpp.
| void KisShapeSelection::renderToProjection | ( | KisSelection * | projection, | |
| const QRect & | r | |||
| ) | [virtual] |
Definition at line 311 of file kis_shape_selection.cpp.
| void KisShapeSelection::renderToProjection | ( | KisSelection * | projection | ) | [virtual] |
Renders the shapes to a selection.
This method should only be called by KisSelection to update it's projection.
- Parameters:
-
projection the target selection
Definition at line 300 of file kis_shape_selection.cpp.
| bool KisShapeSelection::saveSelection | ( | KoStore * | store | ) | const |
Definition at line 89 of file kis_shape_selection.cpp.
| QPainterPath KisShapeSelection::selectionOutline | ( | ) | [virtual] |
Definition at line 278 of file kis_shape_selection.cpp.
| void KisShapeSelection::setDirty | ( | ) | [virtual] |
Definition at line 364 of file kis_shape_selection.cpp.
| KoShapeManager * KisShapeSelection::shapeManager | ( | ) | const |
Definition at line 369 of file kis_shape_selection.cpp.
The documentation for this class was generated from the following files:
