Start cleaning geometry module.
This commit is contained in:
parent
26ecae46b3
commit
cd688f608f
52 changed files with 493 additions and 277 deletions
|
@ -8,11 +8,21 @@
|
|||
class SvgCircle : public SvgShapeElement
|
||||
{
|
||||
public:
|
||||
SvgCircle();
|
||||
enum class Type
|
||||
{
|
||||
REGULAR,
|
||||
ELLIPSE
|
||||
};
|
||||
|
||||
SvgCircle(Type type = Type::REGULAR);
|
||||
|
||||
void setLocation(const Point& loc);
|
||||
|
||||
void setRadius(double rad);
|
||||
|
||||
void setMinorRadius(double rad);
|
||||
private:
|
||||
Type mType{ Type::REGULAR };
|
||||
};
|
||||
|
||||
class SvgRectangle : public SvgShapeElement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue