mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 691137: Use proper coordinates when adding a device space quadratic curve. r=roc
This commit is contained in:
parent
82e9a39d4d
commit
c77f32b5f2
@ -2335,7 +2335,7 @@ nsCanvasRenderingContext2DAzure::QuadraticCurveTo(float cpx, float cpy, float x,
|
||||
mPathBuilder->QuadraticBezierTo(Point(cpx, cpy), Point(x, y));
|
||||
} else {
|
||||
Matrix transform = mTarget->GetTransform();
|
||||
mDSPathBuilder->QuadraticBezierTo(transform * Point(cpx, cpy), transform * Point(cpx, cpy));
|
||||
mDSPathBuilder->QuadraticBezierTo(transform * Point(cpx, cpy), transform * Point(x, y));
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user