20#ifndef INCLUDED_VCL_INC_QUARTZ_SALBMP_H
21#define INCLUDED_VCL_INC_QUARTZ_SALBMP_H
64 virtual bool Create(
const css::uno::Reference< css::rendering::XBitmapCanvas >& rBitmapCanvas,
66 bool bMask =
false )
override;
79 bool Scale(
const double& rScaleX,
const double& rScaleY,
BmpScaleFlag nScaleFlag )
override;
89 sal_uInt16 nDestBits, sal_uInt32 nDestBytesPerRow,
const BitmapPalette& rDestPalette,
sal_uInt8* pDestData,
97 virtual CGImageRef
CreateColorMask(
int nX,
int nY,
int nWidth,
int nHeight,
Color nMaskColor )
const override;
void ConvertBitmapData(sal_uInt32 nWidth, sal_uInt32 nHeight, sal_uInt16 nDestBits, sal_uInt32 nDestBytesPerRow, const BitmapPalette &rDestPalette, sal_uInt8 *pDestData, sal_uInt16 nSrcBits, sal_uInt32 nSrcBytesPerRow, const BitmapPalette &rSrcPalette, sal_uInt8 *pSrcData)
BitmapBuffer * AcquireBuffer(BitmapAccessMode nMode) override
bool GetSystemData(BitmapSystemData &rData) override
sal_uInt16 GetBitCount() const override
bool Create(const SalBitmap &rSalBmp, SalGraphics *pGraphics) override
bool Create(const SalBitmap &rSalBmp, vcl::PixelFormat eNewPixelFormat) override
virtual bool Create(const css::uno::Reference< css::rendering::XBitmapCanvas > &rBitmapCanvas, Size &rSize, bool bMask=false) override
void ReleaseBuffer(BitmapBuffer *pBuffer, BitmapAccessMode nMode) override
bool Replace(const Color &rSearchColor, const Color &rReplaceColor, sal_uInt8 nTol) override
bool ScalingSupported() const override
bool Create(const SalBitmap &rSalBmp) override
virtual ~QuartzSalBitmap() override
virtual CGImageRef CreateCroppedImage(int nX, int nY, int nWidth, int nHeight) const override
virtual CGImageRef CreateColorMask(int nX, int nY, int nWidth, int nHeight, Color nMaskColor) const override
bool Create(const Size &rSize, vcl::PixelFormat ePixelFormat, const BitmapPalette &rPal) override
std::shared_ptr< sal_uInt8 > m_pUserBuffer
std::shared_ptr< sal_uInt8 > m_pContextBuffer
bool Create(CGLayerHolder const &rLayerHolder, int nBitCount, int nX, int nY, int nWidth, int nHeight, bool bFlipped)
virtual CGImageRef CreateWithMask(const SalBitmap &rMask, int nX, int nY, int nWidth, int nHeight) const override
bool Scale(const double &rScaleX, const double &rScaleY, BmpScaleFlag nScaleFlag) override
Size GetSize() const override
CGContextHolder maGraphicContext
PixelFormat
Pixel format of the bitmap in bits per pixel.