25 if (pWriteAcc->HasPalette())
35 pWriteAcc->SetPaletteColor(
i, aCol);
42 const sal_Int32 nWidth = pWriteAcc->Width();
43 const sal_Int32 nHeight = pWriteAcc->Height();
45 for (sal_Int32 nY = 0; nY < nHeight; nY++)
47 Scanline pScanline = pWriteAcc->GetScanline(nY);
48 for (sal_Int32 nX = 0; nX < nWidth; nX++)
50 aCol = pWriteAcc->GetPixelFromData(pScanline, nX);
55 pWriteAcc->SetPixelOnData(pScanline, nX, aCol);
Bitmap GetBitmap(Color aTransparentReplaceColor) const
sal_uInt16 GetEntryCount() const
virtual BitmapEx execute(BitmapEx const &rBitmapEx) const override
sal_uInt8 mcSolarGreyThreshold
sal_uInt8 GetLuminance() const
This template handles BitmapAccess the RAII way.