20 #ifndef INCLUDED_VCL_INC_QUARTZ_SALBMP_H
21 #define INCLUDED_VCL_INC_QUARTZ_SALBMP_H
63 bool Create(
const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount )
override;
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,
103 #endif // INCLUDED_VCL_INC_QUARTZ_SALBMP_H
std::shared_ptr< sal_uInt8 > m_pUserBuffer
bool Replace(const Color &rSearchColor, const Color &rReplaceColor, sal_uInt8 nTol) override
CGImageRef CreateColorMask(int nX, int nY, int nWidth, int nHeight, Color nMaskColor) const
CGContextHolder maGraphicContext
void ReleaseBuffer(BitmapBuffer *pBuffer, BitmapAccessMode nMode) override
bool ScalingSupported() const override
bool Create(const Size &rSize, sal_uInt16 nBitCount, const BitmapPalette &rPal) override
Size GetSize() const override
virtual ~QuartzSalBitmap() override
bool Scale(const double &rScaleX, const double &rScaleY, BmpScaleFlag nScaleFlag) override
std::shared_ptr< sal_uInt8 > m_pContextBuffer
sal_uInt16 GetBitCount() const override
BitmapBuffer * AcquireBuffer(BitmapAccessMode nMode) override
CGImageRef CreateCroppedImage(int nX, int nY, int nWidth, int nHeight) const
CGImageRef CreateWithMask(const QuartzSalBitmap &rMask, int nX, int nY, int nWidth, int nHeight) const
bool GetSystemData(BitmapSystemData &rData) 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)