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

Method MoveTo

core/graphics/shape/Group.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void 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
117void xg::shape::Group::Apply(Vector2D *v) {
118 if(!this->IsVisible())

Callers 6

CreatePathMethod · 0.45
CreatePathMethod · 0.45
CreatePathMethod · 0.45
CreatePathMethod · 0.45
CreatePathMethod · 0.45
CreatePathMethod · 0.45

Calls 3

IsVisibleMethod · 0.80
beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected