*
* Release the pixel buffer if exists.
*/
- ~PixelBuffer();
+ ~PixelBuffer() override;
public:
*/
bool Rotate( Degree angle );
+ /**
+ * @copydoc Devel::PixelBuffer::IsAlphaPreMultiplied()
+ */
+ bool IsAlphaPreMultiplied() const;
+
private:
/*
* Undefined copy constructor.
unsigned int mWidth; ///< Buffer width in pixels
unsigned int mHeight; ///< Buffer height in pixels
Pixel::Format mPixelFormat; ///< Pixel format
+ bool mPreMultiplied; ///< PreMultiplied
};
} // namespace Adaptor