Handle flipped view text rendering for Cairo

This commit is contained in:
Maciej Suminski 2016-12-12 11:51:36 +01:00
parent effc8bebb1
commit 3ea8f12555
1 changed files with 8 additions and 0 deletions

View File

@ -310,7 +310,15 @@ public:
double aRotationAngle ) double aRotationAngle )
{ {
// Fallback: use stroke font // Fallback: use stroke font
// Handle flipped view
if( globalFlipX )
textProperties.m_mirrored = !textProperties.m_mirrored;
StrokeText( aText, aPosition, aRotationAngle ); StrokeText( aText, aPosition, aRotationAngle );
if( globalFlipX )
textProperties.m_mirrored = !textProperties.m_mirrored;
} }
/** /**