src/gui/painting/qpaintengineex.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   829     } x;
   829     } x;
   830     x.ptr = pts;
   830     x.ptr = pts;
   831 
   831 
   832     int point_count = 0;
   832     int point_count = 0;
   833     x.points[0] = qt_curves_for_arc(r, 0, -360, x.points + 1, &point_count);
   833     x.points[0] = qt_curves_for_arc(r, 0, -360, x.points + 1, &point_count);
   834     QVectorPath vp((qreal *) pts, 13, qpaintengineex_ellipse_types, QVectorPath::EllipseHint);
   834     QVectorPath vp((qreal *) pts, point_count, qpaintengineex_ellipse_types, QVectorPath::EllipseHint);
   835     draw(vp);
   835     draw(vp);
   836 }
   836 }
   837 
   837 
   838 void QPaintEngineEx::drawEllipse(const QRect &r)
   838 void QPaintEngineEx::drawEllipse(const QRect &r)
   839 {
   839 {