31 assert(pRead->
HasPalette() &&
"only supposed to be called with 1-bit mask");
33 for (sal_Int32 nY = 0; nY < sal_Int32(aSize.Height()); ++nY)
35 Scanline pScanline = pWrite->GetScanline(nY);
37 for (sal_Int32 nX = 0; nX < sal_Int32(aSize.Width()); ++nX)
44 else if (aBmpColor ==
Color(0, 0, 1))
48 pWrite->SetPixelOnData(pScanline, nX, aBmpColor);
Scanline GetScanline(tools::Long nY) const
sal_uInt16 GetPaletteEntryCount() const
Bitmap GetBitmap(Color aTransparentReplaceColor) const
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_WHITE
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_BLACK
BitmapColor GetPixelFromData(const sal_uInt8 *pData, tools::Long nX) const
virtual BitmapEx execute(BitmapEx const &rBitmapEx) const override
Convert a 1-bit mask to an alpha layer.
const Size & GetSizePixel() const
static const BitmapPalette & GetGreyPalette(int nEntries)