We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a88f0c6 commit a417bbcCopy full SHA for a417bbc
Chapter12/exercises/09/main.cpp
@@ -25,6 +25,11 @@ class Rounded : public Lines {
25
p->draw_specifics(painter);
26
}
27
28
+ void move(int dx, int dy) override {
29
+ Lines::move(dx, dy);
30
+ for (Arc* p : c)
31
+ p->move(dx, dy);
32
+ }
33
private:
34
std::unique_ptr<Arc> create_corner
35
(Point p, int r, double st, double rot) const {
0 commit comments