| 623 | } |
| 624 | |
| 625 | void DrawNode::drawSolidPolygon(const Vec2* verts, |
| 626 | int count, |
| 627 | const Color4F& fillColor, |
| 628 | float thickness, |
| 629 | const Color4F& borderColor, |
| 630 | bool isconvex) |
| 631 | { |
| 632 | if (thickness < 0.0f) |
| 633 | { |
| 634 | AXLOGW("{}: thickness < 0, changed to 0", __FUNCTION__); |
| 635 | thickness = 0.0f; |
| 636 | } |
| 637 | _drawPolygon(verts, count, fillColor, borderColor, true, thickness, isconvex); |
| 638 | } |
| 639 | |
| 640 | void DrawNode::drawSolidRect(const Vec2& origin, |
| 641 | const Vec2& destination, |