31 const sal_Int32 nWidth = pWriteAcc->Width();
32 const sal_Int32 nHeight = pWriteAcc->Height();
36 for (sal_Int32 nY = 0; nY < nHeight; nY++)
38 Scanline pScanline = pWriteAcc->GetScanline(nY);
40 for (sal_Int32 nX = 0; nX < nWidth; nX++)
45 pWriteAcc->SetPixelOnData(pScanline, nX, aWhite);
49 pWriteAcc->SetPixelOnData(pScanline, nX, aBlack);
56 for (sal_Int32 nY = 0; nY < nHeight; nY++)
58 Scanline pScanline = pWriteAcc->GetScanline(nY);
60 for (sal_Int32 nX = 0; nX < nWidth; nX++)
64 pWriteAcc->SetPixelOnData(pScanline, nX, aWhite);
68 pWriteAcc->SetPixelOnData(pScanline, nX, aBlack);
Bitmap GetBitmap(Color aTransparentReplaceColor) const
const BitmapColor & GetPaletteColor(sal_uInt16 nColor) const
virtual BitmapEx execute(BitmapEx const &rBitmapEx) const override
BitmapColor GetPixelFromData(const sal_uInt8 *pData, tools::Long nX) const
sal_uInt8 GetIndexFromData(const sal_uInt8 *pData, tools::Long nX) const
Scanline GetScanline(tools::Long nY) const
void SetPrefMapMode(const MapMode &rMapMode)
static const BitmapPalette & GetGreyPalette(int nEntries)
const MapMode & GetPrefMapMode() const
Size GetSizePixel() const
void SetPrefSize(const Size &rSize)
const Size & GetPrefSize() const
sal_uInt8 GetLuminance() const
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
HashMap_OWString_Interface aMap