| 103 | } |
| 104 | |
| 105 | void xg::shape::Group::Scale(float sx, float sy) { |
| 106 | if(!this->IsVisible()) |
| 107 | return; |
| 108 | std::for_each(children_.begin(), children_.end(), [&](std::unique_ptr<Element> &element) -> void { element->Scale(sx, sy); }); |
| 109 | } |
| 110 | |
| 111 | void xg::shape::Group::MoveTo(float x, float y) { |
| 112 | if(!this->IsVisible()) |
no test coverage detected