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

Method Scale

core/graphics/shape/Group.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void 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
111void xg::shape::Group::MoveTo(float x, float y) {
112 if(!this->IsVisible())

Callers 8

GetPositionMethod · 0.45
OnBeforeCanvasDrawMethod · 0.45
GetPositionMethod · 0.45
CreateShapePointsCfgMethod · 0.45
CreateShapePointsCfgMethod · 0.45
CreateShapePointsCfgMethod · 0.45
MappingMethod · 0.45
MappingMethod · 0.45

Calls 3

IsVisibleMethod · 0.80
beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected