Reviewed by George Staikos.
- Implement drawArc with proper units.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21507
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-05-15 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ - Implement drawArc with proper units.
+
+ * platform/graphics/qt/GraphicsContextQt.cpp:
+ (WebCore::GraphicsContext::strokeArc):
+
2007-05-15 Adam Treat <adam@staikos.net>
Reviewed by George Staikos.
if (paintingDisabled() || strokeStyle() == NoStroke || strokeThickness() <= 0.0f || !strokeColor().alpha())
return;
- m_data->p().drawArc(rect, startAngle, angleSpan);
+ m_data->p().drawArc(rect, startAngle * 16, angleSpan * 16);
}
void GraphicsContext::drawConvexPolygon(size_t npoints, const FloatPoint* points, bool shouldAntialias)