LibreOffice Module vcl (master) 1
|
#include <sal/config.h>
#include <memory>
#include <optional>
#include <vcl/dllapi.h>
#include <vcl/BitmapPalette.hxx>
#include <vcl/ColorMask.hxx>
#include <vcl/Scanline.hxx>
#include <tools/long.hxx>
Go to the source code of this file.
Classes | |
struct | BitmapBuffer |
Functions | |
VCL_DLLPUBLIC std::unique_ptr< BitmapBuffer > | StretchAndConvert (const BitmapBuffer &rSrcBuffer, const SalTwoRect &rTwoRect, ScanlineFormat nDstBitmapFormat, std::optional< BitmapPalette > pDstPal=std::nullopt, const ColorMask *pDstMask=nullptr) |
VCL_DLLPUBLIC std::unique_ptr< BitmapBuffer > StretchAndConvert | ( | const BitmapBuffer & | rSrcBuffer, |
const SalTwoRect & | rTwoRect, | ||
ScanlineFormat | nDstBitmapFormat, | ||
std::optional< BitmapPalette > | pDstPal = std::nullopt , |
||
const ColorMask * | pDstMask = nullptr |
||
) |
Definition at line 229 of file salmisc.cxx.
References AlignedWidth4Bytes(), BitmapReadAccess::GetPixelForN1BitMsbPal(), BitmapReadAccess::GetPixelFunction(), i, IMPL_CASE_SET_FORMAT, ImplFastBitmapConversion(), ImplPALToPAL(), ImplPALToTC(), ImplTCToPAL(), ImplTCToTC(), BitmapBuffer::mnBitCount, SalTwoRect::mnDestHeight, SalTwoRect::mnDestWidth, BitmapBuffer::mnFormat, mnHeight, BitmapBuffer::mnHeight, BitmapBuffer::mnScanlineSize, SalTwoRect::mnSrcHeight, SalTwoRect::mnSrcWidth, SalTwoRect::mnSrcX, SalTwoRect::mnSrcY, mnWidth, BitmapBuffer::mpBits, N1BitMsbPal, N24BitTcBgr, N24BitTcRgb, N32BitTcAbgr, N32BitTcArgb, N32BitTcBgra, N32BitTcMask, N32BitTcRgba, N8BitPal, RemoveScanline(), SAL_WARN, BitmapReadAccess::SetPixelForN1BitMsbPal(), and TopDown.