Bug 891388. Implement Arc() in PathCG. r=joe

--HG--
extra : rebase_source : 3ebc541ce7407eba02165366bcc754484f65fcaa
This commit is contained in:
Jeff Muizelaar 2013-07-08 14:28:21 -04:00
parent 42c7bf43fe
commit c62228e3e4

View File

@ -68,6 +68,12 @@ void
PathBuilderCG::Arc(const Point &aOrigin, Float aRadius, Float aStartAngle,
Float aEndAngle, bool aAntiClockwise)
{
CGPathAddArc(mCGPath, nullptr,
aOrigin.x, aOrigin.y,
aRadius,
aStartAngle,
aEndAngle,
!aAntiClockwise);
}
Point