mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix for affine transforms with a negative scaling factor in the software renderer.
This commit is contained in:
parent
4e442ec9a6
commit
02733aa1b7
1 changed files with 2 additions and 1 deletions
|
|
@ -87,7 +87,8 @@ public:
|
|||
|
||||
complexTransform = getTransformWith (t);
|
||||
isOnlyTranslated = false;
|
||||
isRotated = (complexTransform.mat01 != 0 || complexTransform.mat10 != 0);
|
||||
isRotated = (complexTransform.mat01 != 0 || complexTransform.mat10 != 0
|
||||
|| complexTransform.mat00 < 0 || complexTransform.mat11 < 0);
|
||||
}
|
||||
|
||||
float getPhysicalPixelScaleFactor() const noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue