| 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 | { |