| 668 | } |
| 669 | |
| 670 | void DrawNode::drawPie(const Vec2& center, |
| 671 | float radius, |
| 672 | float rotation, |
| 673 | int startAngle, |
| 674 | int endAngle, |
| 675 | float scaleX, |
| 676 | float scaleY, |
| 677 | const Color4F& fillColor, |
| 678 | const Color4F& borderColor, |
| 679 | DrawMode drawMode, |
| 680 | float thickness) |
| 681 | { |
| 682 | if (thickness < 0.0f) |
| 683 | { |
| 684 | AXLOGW("{}: thickness < 0, changed to 0", __FUNCTION__); |
| 685 | thickness = 0.0f; |
| 686 | } |
| 687 | _drawPie(center, radius, rotation, startAngle, endAngle, scaleX, scaleY, fillColor, borderColor, drawMode, |
| 688 | thickness); |
| 689 | } |
| 690 | |
| 691 | void DrawNode::drawPie(const Vec2& center, |
| 692 | float radius, |
no outgoing calls