| 702 | } |
| 703 | |
| 704 | void DrawNode::drawSolidCircle(const Vec2& center, |
| 705 | float radius, |
| 706 | float angle, |
| 707 | unsigned int segments, |
| 708 | float scaleX, |
| 709 | float scaleY, |
| 710 | const Color4F& fillColor, |
| 711 | float thickness, |
| 712 | const Color4F& borderColor, |
| 713 | bool drawLineToCenter) |
| 714 | { |
| 715 | if (thickness < 0.0f) |
| 716 | { |
| 717 | AXLOGW("{}: thickness < 0, changed to 0", __FUNCTION__); |
| 718 | thickness = 0.0f; |
| 719 | } |
| 720 | _drawCircle(center, radius, angle, segments, drawLineToCenter, scaleX, scaleY, borderColor, fillColor, true, |
| 721 | thickness); |
| 722 | } |
| 723 | |
| 724 | void DrawNode::drawSolidCircle(const Vec2& center, |
| 725 | float radius, |