mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 891388. Implement Arc() in PathCG. r=joe
--HG-- extra : rebase_source : 3ebc541ce7407eba02165366bcc754484f65fcaa
This commit is contained in:
parent
42c7bf43fe
commit
c62228e3e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user