------------------------------------------------------------------------
| 768 | |
| 769 | //------------------------------------------------------------------------ |
| 770 | void Agg2D::roundedRect(double x1, double y1, double x2, double y2, double r) |
| 771 | { |
| 772 | m_path.remove_all(); |
| 773 | agg::rounded_rect rc(x1, y1, x2, y2, r); |
| 774 | rc.normalize_radius(); |
| 775 | rc.approximation_scale(worldToScreen(1.0) * g_approxScale); |
| 776 | // JME audit |
| 777 | //m_path.add_path(rc, 0, false); |
| 778 | m_path.concat_path(rc,0); |
| 779 | drawPath(FillAndStroke); |
| 780 | } |
| 781 | |
| 782 | |
| 783 |
nothing calls this directly
no test coverage detected