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 a417bbc commit c1c497dCopy full SHA for c1c497d
Chapter12/exercises/07/main.cpp
@@ -39,6 +39,10 @@ class Striped_closed_polyline : public Closed_polyline {
39
Closed_polyline::draw_specifics(painter);
40
stripes->draw_specifics(painter);
41
}
42
+ void move(int dx, int dy) override {
43
+ Closed_polyline::move(dx, dy);
44
+ stripes->move(dx, dy);
45
+ }
46
int spacing() const { return sp; }
47
void set_spacing(int i) { sp = i; update_stripes(); }
48
private:
0 commit comments