Kaydet (Commit) 3bc228a1 authored tarafından Noel Grandin's avatar Noel Grandin

use RawBitmap and BitmapEx in DffPropertyReader

part of making Bitmap an internal feature of vcl

Change-Id: I2945005b9070bc13844c02f8ecaa349920d151fe
Reviewed-on: https://gerrit.libreoffice.org/49579Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst c6b702cd
...@@ -555,7 +555,7 @@ void CGMImpressOutAct::DrawBitmap( CGMBitmapDescriptor* pBmpDesc ) ...@@ -555,7 +555,7 @@ void CGMImpressOutAct::DrawBitmap( CGMBitmapDescriptor* pBmpDesc )
if ( pBmpDesc->mbVMirror ) if ( pBmpDesc->mbVMirror )
nMirr |= BmpMirrorFlags::Vertical; nMirr |= BmpMirrorFlags::Vertical;
if ( nMirr != BmpMirrorFlags::NONE ) if ( nMirr != BmpMirrorFlags::NONE )
pBmpDesc->mxBitmap.Mirror( nMirr ); // FIXME pBmpDesc->mxBitmap.Mirror( nMirr );
mpCGM->ImplMapPoint( aOrigin ); mpCGM->ImplMapPoint( aOrigin );
mpCGM->ImplMapX( fdx ); mpCGM->ImplMapX( fdx );
......
...@@ -39,6 +39,8 @@ public: ...@@ -39,6 +39,8 @@ public:
mpData[ p++ ] = nColor.GetGreen(); mpData[ p++ ] = nColor.GetGreen();
mpData[ p ] = nColor.GetBlue(); mpData[ p ] = nColor.GetBlue();
} }
long Height() { return maSize.Height(); }
long Width() { return maSize.Width(); }
}; };
BitmapEx VCL_DLLPUBLIC loadFromName(const OUString& rFileName, const ImageLoadFlags eFlags = ImageLoadFlags::NONE); BitmapEx VCL_DLLPUBLIC loadFromName(const OUString& rFileName, const ImageLoadFlags eFlags = ImageLoadFlags::NONE);
......
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