krita/ui

KisToolShape Class Reference

Base for tools specialized in drawing shapes. More...

#include <kis_tool_shape.h>

Inheritance diagram for KisToolShape:

List of all members.

Public Member Functions

 KisToolShape (KoCanvasBase *canvas, const QCursor &cursor)
virtual ~KisToolShape ()

Protected Member Functions

virtual QWidgetcreateOptionWidget ()
KisPainter::FillStyle fillStyle ()
virtual void setupPainter (KisPainter *painter)
KisPainter::StrokeStyle strokeStyle ()

Detailed Description

Base for tools specialized in drawing shapes.

Definition at line 46 of file kis_tool_shape.h.


Constructor & Destructor Documentation

KisToolShape::KisToolShape ( KoCanvasBase canvas,
const QCursor cursor 
)

Definition at line 33 of file kis_tool_shape.cc.

KisToolShape::~KisToolShape (  )  [virtual]

Definition at line 40 of file kis_tool_shape.cc.


Member Function Documentation

QWidget * KisToolShape::createOptionWidget (  )  [protected, virtual]

Reimplemented from KisToolPaint.

Definition at line 44 of file kis_tool_shape.cc.

KisPainter::FillStyle KisToolShape::fillStyle ( void   )  [protected]

Definition at line 76 of file kis_tool_shape.cc.

void KisToolShape::setupPainter ( KisPainter *  painter  )  [protected, virtual]

convenience method to fill the painter's settings with all the current resources

Reimplemented from KisTool.

Definition at line 94 of file kis_tool_shape.cc.

KisPainter::StrokeStyle KisToolShape::strokeStyle ( void   )  [protected]

Definition at line 85 of file kis_tool_shape.cc.


The documentation for this class was generated from the following files: