MCPcopy Create free account
hub / github.com/MyGUI/mygui / updateSpline

Method updateSpline

UnitTests/UnitTest_Spline/DemoKeeper.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 void DemoKeeper::updateSpline()
88 {
89 std::vector<MyGUI::FloatPoint> points;
90 for (auto& i : point)
91 {
92 points.emplace_back(i->getLeft() + 8.0f, i->getTop() + 8.0f);
93 }
94 makeBezier(points, bezierQuality);
95 mPolygonalSkin->setPoints(mLinePoints);
96 mPolygonalSkin->setStroke(stroke);
97 }
98
99 void DemoKeeper::notifyPointMove(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id)
100 {

Callers

nothing calls this directly

Calls 4

getLeftMethod · 0.80
getTopMethod · 0.80
setPointsMethod · 0.80
setStrokeMethod · 0.80

Tested by

no test coverage detected