Handle flipped view text rendering for Cairo
This commit is contained in:
parent
effc8bebb1
commit
3ea8f12555
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue