| 109 | } |
| 110 | |
| 111 | void xg::shape::Group::MoveTo(float x, float y) { |
| 112 | if(!this->IsVisible()) |
| 113 | return; |
| 114 | std::for_each(children_.begin(), children_.end(), [&](std::unique_ptr<Element> &element) -> void { element->MoveTo(x, y); }); |
| 115 | } |
| 116 | |
| 117 | void xg::shape::Group::Apply(Vector2D *v) { |
| 118 | if(!this->IsVisible()) |
no test coverage detected