8#ifndef KOELLIPSESHAPE_H
9#define KOELLIPSESHAPE_H
14#define EllipseShapeId "EllipseShape"
37 void setSize(
const QSizeF &newSize)
override;
78 void moveHandleAction(
int handleId,
const QPointF &point, Qt::KeyboardModifiers modifiers = Qt::NoModifier)
override;
void setType(EllipseType type)
void updatePath(const QSizeF &size) override
Update the path of the parameter shape.
qreal startAngle() const
Returns the actual ellipse start angle in degree.
QPointF normalize() override
Normalizes the path data.
void updateAngleHandles()
void setStartAngle(qreal angle)
qreal endAngle() const
Returns the actual ellipse end angle in degree.
void setEndAngle(qreal angle)
QString pathShapeId() const override
reimplemented
void moveHandleAction(int handleId, const QPointF &point, Qt::KeyboardModifiers modifiers=Qt::NoModifier) override
Updates the internal state of a KoParameterShape.
EllipseType type() const
Returns the actual ellipse type.
bool loadSvg(const QDomElement &element, SvgLoadingContext &context) override
reimplemented from SvgShape
void setSize(const QSizeF &newSize) override
Resize the shape.
void createPoints(int requiredPointCount)
KoShape * cloneShape() const override
creates a deep copy of the shape or shape's subtree
bool saveSvg(SvgSavingContext &context) override
reimplemented from SvgShape
EllipseType
the possible ellipse types
QSizeF size() const override
reimplemented
Contains data used for loading svg.
Context for saving svg files.
An interface providing svg loading and saving routines.