См. документацию.
58 void draw(std::shared_ptr<IPainter>)
const override;
61 std::list<std::unique_ptr<IPrimitiveObject>> keeperObjects;
void addPoint(const Point &) override
Add Point to suite.
Definition: model.cpp:16
void addCircle(const Point &, const int &) override
Add circle to suite.
Definition: model.cpp:24
void addLine(const Point &, const Point &) override
Add line to suite.
Definition: model.cpp:20
void draw(std::shared_ptr< IPainter >) const override
Draw all primitive from suite.
Definition: model.cpp:33
void newModel() override
Create new suite.
Definition: model.cpp:3
There is class of model of the graphic editor.
Definition: model.h:9
void openModel(std::string &) override
Open new suite.
Definition: model.cpp:11
void saveModel() override
Save suite.
Definition: model.cpp:7
void removeLast() override
Removes last shape from suite.
Definition: model.cpp:28
Definition: base_types.h:6
Here is model for keeping primitive objects.
Definition: imodel.h:12