Related: #i121387# Corrected flag usages in RenderPolygonHairlinePrimitive2D

(cherry picked from commit e3eebb16c90fa5c3320fa9843e3420293bec6ab2)

Conflicts:
	drawinglayer/source/processor2d/vclprocessor2d.cxx

Change-Id: I245d7ebc040580057948fdd5888f55eaca783b2a
This commit is contained in:
Armin Le Grand
2012-11-28 13:55:37 +00:00
committed by Caolán McNamara
parent 829d31c122
commit e94baf5bcd

View File

@@ -451,9 +451,10 @@ namespace drawinglayer
aLocalTransform.decompose(aScale, aTranslate, fRotate, fShearX);
// #i121387# when mirrored and rotated, avoid the GraphicManager output which has low quality
const bool bRotated(basegfx::fTools::equalZero(fRotate));
const bool bSheared(basegfx::fTools::equalZero(fShearX));
const bool bMirroredAndRotated(bRotated && (aScale.getX() < 0.0 || aScale.getY() < 0.0));
const bool bRotated(!basegfx::fTools::equalZero(fRotate));
const bool bSheared(!basegfx::fTools::equalZero(fShearX));
const bool bMirrored(aScale.getX() < 0.0 || aScale.getY() < 0.0);
const bool bMirroredAndRotated(bRotated && bMirrored);
if(!bForceUseOfOwnTransformer && !bSheared && !bMirroredAndRotated)
{