diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 10:52:49 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 10:52:49 +0000 |
commit | 95adce37033d028609a3f870ebc8cdd0732c1968 (patch) | |
tree | 8d6a76746484e093e6b25c1d39c16423005bd83f /vcl | |
parent | 9a38f43420822f2ec231bf5730f6f73e4a527f76 (diff) |
INTEGRATION: CWS calcrtl (1.24.34); FILE MERGED
2004/01/13 10:17:31 sab 1.24.34.3: RESYNC: (1.25-1.27); FILE MERGED
2003/11/27 10:50:29 nn 1.24.34.2: RESYNC: (1.24-1.25); FILE MERGED
2003/11/10 10:22:08 ssa 1.24.34.1: #106948# improved mirroring
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx index bbcddabafb7e..9741e70cb426 100644 --- a/vcl/source/gdi/outdev.cxx +++ b/vcl/source/gdi/outdev.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outdev.cxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.28 $ * - * last change: $Author: vg $ $Date: 2004-01-06 13:49:09 $ + * last change: $Author: hr $ $Date: 2004-02-03 11:52:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -539,6 +539,8 @@ BOOL OutputDevice::ImplHasMirroredGraphics() return ( ImplGetGraphics() && (mpGraphics->GetLayout() & SAL_LAYOUT_BIDI_RTL) ); } +// note: the coordiantes to be remirrored are in frame coordiantes ! + void OutputDevice::ImplReMirror( Point &rPoint ) const { rPoint.X() = mnOutOffX + mnOutWidth - 1 - rPoint.X() + mnOutOffX; |