LibreOffice Module vcl (master) 1
|
#include <BitmapFastScaleFilter.hxx>
Public Member Functions | |
BitmapFastScaleFilter (double fScaleX, double fScaleY) | |
virtual BitmapEx | execute (BitmapEx const &rBitmapEx) const override |
Public Member Functions inherited from BitmapFilter | |
BitmapFilter () | |
virtual | ~BitmapFilter () |
virtual BitmapEx | execute (BitmapEx const &rBitmapEx) const =0 |
Private Attributes | |
double | mfScaleX |
double | mfScaleY |
Size | maSize |
Additional Inherited Members | |
Static Public Member Functions inherited from BitmapFilter | |
static bool | Filter (BitmapEx &rBmpEx, BitmapFilter const &rFilter) |
static bool | Filter (Animation &rBmpEx, BitmapFilter const &rFilter) |
Definition at line 17 of file BitmapFastScaleFilter.hxx.
|
inlineexplicit |
Definition at line 20 of file BitmapFastScaleFilter.hxx.
Implements BitmapFilter.
Definition at line 28 of file BitmapFastScaleFilter.cxx.
References Fast, FRound(), BitmapEx::GetAlphaMask(), BitmapEx::GetBitmap(), BitmapInfoAccess::GetPalette(), Bitmap::getPixelFormat(), BitmapReadAccess::GetPixelFromData(), BitmapReadAccess::GetScanline(), Bitmap::GetSizePixel(), Size::Height(), BitmapInfoAccess::Height(), AlphaMask::IsEmpty(), maSize, mfScaleX, mfScaleY, Bitmap::ReassignWithSize(), vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), SAL_INFO, SAL_WARN, SAL_WARN_IF, Bitmap::Scale(), Size::Width(), and BitmapInfoAccess::Width().
|
private |
Definition at line 31 of file BitmapFastScaleFilter.hxx.
Referenced by execute().
|
private |
Definition at line 29 of file BitmapFastScaleFilter.hxx.
Referenced by execute().
|
private |
Definition at line 30 of file BitmapFastScaleFilter.hxx.
Referenced by execute().