1
0
Fork 0
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:
jules 2014-01-28 11:14:31 +00:00
parent 4e442ec9a6
commit 02733aa1b7

View file

@ -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