mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug 315061 - nsSVGCairoPathBuilder::ClosePath wasn't returning new point.
r=scooter
This commit is contained in:
parent
916cb2bfa4
commit
0f2999bf98
@ -259,6 +259,12 @@ NS_IMETHODIMP
|
||||
nsSVGCairoPathBuilder::ClosePath(float *newX, float *newY)
|
||||
{
|
||||
cairo_close_path(mCR);
|
||||
|
||||
double x, y;
|
||||
cairo_get_current_point(mCR, &x, &y);
|
||||
*newX = x;
|
||||
*newY = y;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user