| 653 | } |
| 654 | |
| 655 | void DrawNode::drawSolidPoly(const Vec2* poli, |
| 656 | unsigned int numberOfPoints, |
| 657 | const Color4F& color, |
| 658 | float thickness, |
| 659 | const Color4F& borderColor, |
| 660 | bool isconvex) |
| 661 | { |
| 662 | if (thickness < 0.0f) |
| 663 | { |
| 664 | AXLOGW("{}: thickness < 0, changed to 0", __FUNCTION__); |
| 665 | thickness = 0.0f; |
| 666 | } |
| 667 | _drawPolygon(poli, numberOfPoints, color, borderColor, true, thickness, isconvex); |
| 668 | } |
| 669 | |
| 670 | void DrawNode::drawPie(const Vec2& center, |
| 671 | float radius, |