Bug 465996. Use Ellipse instead of Arc to draw circles. r+sr=roc

This commit is contained in:
Robert Longson 2008-12-03 10:02:32 +13:00
parent a6a1b12240
commit 2d58977916

View File

@ -153,5 +153,5 @@ nsSVGCircleElement::ConstructPath(gfxContext *aCtx)
GetAnimatedLengthValues(&x, &y, &r, nsnull);
if (r > 0.0f)
aCtx->Arc(gfxPoint(x, y), r, 0, 2*M_PI);
aCtx->Ellipse(gfxPoint(x, y), gfxSize(r*2, r*2));
}