diff options
author | Kai Ahrens <ka@openoffice.org> | 2001-08-24 13:10:36 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2001-08-24 13:10:36 +0000 |
commit | 31904aa2d86596d1ca3674d7c4b789410a510a6a (patch) | |
tree | 85b962f817b39a574fbc0039aecfae36d6bf034f /vcl/source/gdi/graph.cxx | |
parent | 2e47f6f87119577ba4f337499ff91e07460be324 (diff) |
#84444#: added size parameter for ::GetBitmap(Ex)
Diffstat (limited to 'vcl/source/gdi/graph.cxx')
-rw-r--r-- | vcl/source/gdi/graph.cxx | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx index 0b6e66ef592a..0afb77b34f57 100644 --- a/vcl/source/gdi/graph.cxx +++ b/vcl/source/gdi/graph.cxx @@ -2,9 +2,9 @@ * * $RCSfile: graph.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: th $ $Date: 2001-07-06 16:02:21 $ + * last change: $Author: ka $ $Date: 2001-08-24 14:10:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -429,14 +429,28 @@ BOOL Graphic::IsAnimated() const Bitmap Graphic::GetBitmap() const { - return mpImpGraphic->ImplGetBitmap(); + return GetBitmap( NULL ); } // ------------------------------------------------------------------------ BitmapEx Graphic::GetBitmapEx() const { - return mpImpGraphic->ImplGetBitmapEx(); + return GetBitmapEx( NULL ); +} + +// ------------------------------------------------------------------------ + +Bitmap Graphic::GetBitmap( const Size* pSizePixel ) const +{ + return mpImpGraphic->ImplGetBitmap( pSizePixel ); +} + +// ------------------------------------------------------------------------ + +BitmapEx Graphic::GetBitmapEx( const Size* pSizePixel ) const +{ + return mpImpGraphic->ImplGetBitmapEx( pSizePixel ); } // ------------------------------------------------------------------------ |