diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-06-10 16:53:28 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-06-10 16:53:28 +0000 |
commit | 2165446af32912b9b608b9e3f562379a12c7ce39 (patch) | |
tree | be9417fe4bc7701bed4cd2cb30313ee309e4922c /vcl/source/gdi/impimage.cxx | |
parent | d0e11fd7bfc91a4e2c75f9ae3e0454fe182f582a (diff) |
INTEGRATION: CWS so8ea1acc01 (1.13.92); FILE MERGED
2004/06/04 12:31:10 mt 1.13.92.4: #i21242# Fixed merge problems...
2004/06/02 08:36:38 mt 1.13.92.3: merged...
2004/05/11 06:18:34 mt 1.13.92.2: #i21242# More transformations...
2004/04/29 12:05:31 mt 1.13.92.1: #i21242# Image transformations...
Diffstat (limited to 'vcl/source/gdi/impimage.cxx')
-rw-r--r-- | vcl/source/gdi/impimage.cxx | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/vcl/source/gdi/impimage.cxx b/vcl/source/gdi/impimage.cxx index 00b30f2b3404..148ed576a254 100644 --- a/vcl/source/gdi/impimage.cxx +++ b/vcl/source/gdi/impimage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impimage.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: rt $ $Date: 2004-05-21 16:23:38 $ + * last change: $Author: kz $ $Date: 2004-06-10 17:53:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -187,7 +187,9 @@ ImplImageData::~ImplImageData() delete mpImageBitmap; } -// ----------------------------------------------------------------------- +// ----------------- +// - ImplImageData - +// ----------------- BOOL ImplImageData::IsEqual( const ImplImageData& rData ) { @@ -233,7 +235,9 @@ ImplImageBmp::ImplImageBmp() : { } -// ----------------------------------------------------------------------- +// ------------- +// - ImplImage - +// ------------- ImplImageBmp::~ImplImageBmp() { @@ -305,6 +309,16 @@ void ImplImageBmp::Expand( USHORT nGrowSize ) // ----------------------------------------------------------------------- +void ImplImageBmp::Invert() +{ + delete mpDisplayBmp; + mpDisplayBmp = NULL; + + maBmpEx.Invert(); +} + +// ----------------------------------------------------------------------- + void ImplImageBmp::Replace( USHORT nPos, USHORT nSrcPos ) { const Point aSrcPos( nSrcPos * maSize.Width(), 0L ), aPos( nPos * maSize.Width(), 0L ); |