7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

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

View File

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