25 for (sal_Int32
y(0);
y < sal_Int32(pWriteAccess->Height());
y++)
27 Scanline pScanline = pWriteAccess->GetScanline(
y);
29 for (sal_Int32
x(0);
x < sal_Int32(pWriteAccess->Width());
x++)
32 sal_uInt16 nLuminance(
static_cast<sal_uInt16
>(aColor.
GetLuminance()) + 1);
41 pWriteAccess->SetPixelOnData(pScanline,
x, aDestColor);
Bitmap GetBitmap(Color aTransparentReplaceColor) const
virtual BitmapEx execute(BitmapEx const &rBitmapEx) const override
sal_uInt8 GetLuminance() const
sal_uInt8 GetBlue() const
sal_uInt8 GetGreen() const
This template handles BitmapAccess the RAII way.