| 5 | using namespace xg::util; |
| 6 | |
| 7 | void xg::shape::Group::DrawInner(canvas::CanvasContext &context) const { |
| 8 | std::for_each(children_.begin(), children_.end(), [&](const std::unique_ptr<Element> &e) { e->Draw(context); }); |
| 9 | } |
| 10 | |
| 11 | const BBox &xg::shape::Group::GetBBox(canvas::CanvasContext &context) { |
| 12 | float minX = FLT_MAX; |