mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Fix for Parallelogram::transformedBy()
This commit is contained in:
parent
49361b4775
commit
c419bc516d
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue