MCPcopy Create free account
hub / github.com/antvis/F2Native / DrawInner

Method DrawInner

core/graphics/shape/Group.cpp:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5using namespace xg::util;
6
7void 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
11const BBox &xg::shape::Group::GetBBox(canvas::CanvasContext &context) {
12 float minX = FLT_MAX;

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
DrawMethod · 0.45

Tested by

no test coverage detected