|
Krita Source Code Documentation
|
#include <kis_shape_tool_helper.h>
Static Public Member Functions | |
| static KoShape * | createEllipseShape (const QRectF &rect) |
| static KoShape * | createRectangleShape (const QRectF &rect, qreal roundCornersX, qreal roundCornersY) |
KisShapeToolHelper provides shapes and fallback shapes for shape based tools
Definition at line 18 of file kis_shape_tool_helper.h.
|
static |
Definition at line 47 of file kis_shape_tool_helper.cpp.
References KoShapeFactoryBase::createDefaultShape(), KoShapeRegistry::instance(), KoPathShapeId, KoShape::setPosition(), KoShape::setSize(), and KoGenericRegistry< T >::value().
|
static |
Definition at line 17 of file kis_shape_tool_helper.cpp.
References KoShapeFactoryBase::createShape(), KoPathShape::createShapeFromPainterPath(), KoShapeRegistry::instance(), KoPathShape::normalize(), KoProperties::setProperty(), and KoGenericRegistry< T >::value().