diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/bitmap.cxx | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index 6e6ef0972c08..9d6a643a22fc 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -4,9 +4,9 @@ * * $RCSfile: bitmap.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: hr $ $Date: 2006-08-11 17:44:10 $ + * last change: $Author: vg $ $Date: 2006-09-08 08:33:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -300,7 +300,6 @@ Size Bitmap::GetSizePixel() const { return( mpImpBmp ? mpImpBmp->ImplGetSize() : Size() ); } - // ------------------------------------------------------------------ void Bitmap::SetSizePixel( const Size& rNewSize ) @@ -310,6 +309,21 @@ void Bitmap::SetSizePixel( const Size& rNewSize ) // ------------------------------------------------------------------ +Size Bitmap::GetSourceSizePixel() const +{ + return( mpImpBmp ? mpImpBmp->ImplGetSourceSize() : Size() ); +} + +// ------------------------------------------------------------------ + +void Bitmap::SetSourceSizePixel( const Size& rSize) +{ + if( mpImpBmp ) + mpImpBmp->ImplSetSourceSize( rSize); +} + +// ------------------------------------------------------------------ + USHORT Bitmap::GetBitCount() const { return( mpImpBmp ? mpImpBmp->ImplGetBitCount() : 0 ); |