Kaydet (Commit) 363728c5 authored tarafından Matteo Casalin's avatar Matteo Casalin Kaydeden (comit) Tor Lillqvist

DecoView - a more descriptive comment about mirroring issues with checkmarks

üst ca0c4462
...@@ -339,6 +339,8 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType ...@@ -339,6 +339,8 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType
// #106953# never mirror checkmarks // #106953# never mirror checkmarks
if ( pDev->ImplHasMirroredGraphics() && pDev->IsRTLEnabled() ) if ( pDev->ImplHasMirroredGraphics() && pDev->IsRTLEnabled() )
{ {
// Draw a mirrored checkmark so that it looks "normal" in a
// mirrored graphics device (double mirroring!)
pDev->DrawLine( Point( nRect.Right(), nRect.Bottom()-n3 ), pDev->DrawLine( Point( nRect.Right(), nRect.Bottom()-n3 ),
Point( nRect.Right()-n3, nRect.Bottom() ) ); Point( nRect.Right()-n3, nRect.Bottom() ) );
pDev->DrawLine( Point( nRect.Right()-n3, nRect.Bottom() ), pDev->DrawLine( Point( nRect.Right()-n3, nRect.Bottom() ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment