21 virtual std::shared_ptr<geometrize::Shape>
clone()
const override;
The RotatedEllipse class represents a rotated ellipse.
Definition: rotatedellipse.h:16
virtual std::shared_ptr< geometrize::Shape > clone() const override
clone Clones the shape, a virtual copy constructor.
Definition: rotatedellipse.cpp:20
float m_rx
x-radius.
Definition: rotatedellipse.h:26
float m_y
y-coordinate.
Definition: rotatedellipse.h:25
float m_angle
Rotation angle.
Definition: rotatedellipse.h:28
float m_x
x-coordinate.
Definition: rotatedellipse.h:24
virtual geometrize::ShapeTypes getType() const override
getType Gets the ShapeType of the shape.
Definition: rotatedellipse.cpp:34
float m_ry
y-radius.
Definition: rotatedellipse.h:27
ShapeTypes
The ShapeTypes enum specifies the types of shapes that can be used. These can be combined to produce ...
Definition: shapetypes.h:17