20#ifndef INCLUDED_VCL_INC_SCANLINEWRITER_HXX
21#define INCLUDED_VCL_INC_SCANLINEWRITER_HXX
56 return std::make_unique<ScanlineWriter>(aPalette, 8);
58 return std::make_unique<ScanlineWriter>(aPalette, 2);
60 return std::make_unique<ScanlineWriter>(aPalette, 1);
sal_uInt16 GetBestIndex(const BitmapColor &rCol) const
void nextLine(sal_uInt8 *pScanline)
sal_uInt8 const mnColorsPerByte
void writeRGB(sal_uInt8 nR, sal_uInt8 nG, sal_uInt8 nB)
sal_uInt8 const mnColorBitSize
ScanlineWriter(BitmapPalette &aPalette, sal_Int8 nColorsPerByte)
sal_uInt8 * mpCurrentScanline
static std::unique_ptr< ScanlineWriter > Create(sal_uInt16 nBits, BitmapPalette &aPalette)
BitmapPalette & maPalette
sal_uInt8 const mnColorBitMask