/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
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);
}
+bool PixelBuffer::Rotate( Degree angle )
+{
+ return GetImplementation(*this).Rotate( angle );
+}
+
+bool PixelBuffer::IsAlphaPreMultiplied() const
+{
+ return GetImplementation(*this).IsAlphaPreMultiplied();
+}
+
} // namespace Devel
} // namespace Dali