return GetImplementation(*this).GetBuffer();
}
+const unsigned char* const PixelBuffer::GetBuffer() const
+{
+ return GetImplementation(*this).GetConstBuffer();
+}
+
void PixelBuffer::ApplyMask( PixelBuffer mask, float contentScale, bool cropToMask )
{
GetImplementation(*this).ApplyMask( GetImplementation( mask ), contentScale, cropToMask );
return GetImplementation(*this).GetMetadata(metadata);
}
-void PixelBuffer::Rotate( Degree angle )
+bool PixelBuffer::Rotate( Degree angle )
+{
+ return GetImplementation(*this).Rotate( angle );
+}
+
+bool PixelBuffer::IsAlphaPreMultiplied() const
{
- GetImplementation(*this).Rotate( angle );
+ return GetImplementation(*this).IsAlphaPreMultiplied();
}
} // namespace Devel