1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix for Parallelogram::transformedBy()

This commit is contained in:
ed 2020-04-20 19:16:09 +01:00
parent 49361b4775
commit c419bc516d

View file

@ -158,7 +158,10 @@ public:
Parallelogram transformedBy (const AffineTransform& transform) const noexcept
{
auto p = *this;
transform.transformPoints (p.topLeft, p.topRight, p.bottomLeft);
transform.transformPoints (p.topLeft.x, p.topLeft.y,
p.topRight.x, p.topRight.y,
p.bottomLeft.x, p.bottomLeft.y);
return p;
}