Added method to PixelBuffer to multiply alpha into color channels
[platform/core/uifw/dali-adaptor.git] / adaptors / common / pixel-buffer-impl.h
index 1882909..2b57823 100644 (file)
@@ -175,6 +175,12 @@ public:
    */
   void Resize( ImageDimensions outDimensions );
 
+  /**
+   * Multiplies the image's color values by the alpha value. This provides better
+   * blending capability.
+   */
+  void MultiplyColorByAlpha();
+
 private:
   /*
    * Undefined copy constructor.