a trivial reversed value was returned that
brought the inverted arc drawing...
Change-Id: I928f05b3400772a367d1653496d385354032cbad
}
int64_t d = c > 0 ? (a * b + (c >> 1)) / c : 0x7FFFFFFFL;
- return (s > 0 ? -d : d);
+ return (s > 0 ? d : -d);
}
static void _borderArcTo(SwStrokeBorder* border, SwPoint& center, SwFixed radius, SwFixed angleStart, SwFixed angleDiff)
{
- constexpr auto ARC_CUBIC_ANGLE = ANGLE_PI / 2;
+ constexpr SwFixed ARC_CUBIC_ANGLE = ANGLE_PI / 2;
SwPoint a = {radius, 0};
mathRotate(a, angleStart);
a += center;