Add gaussian blur support in PixelBuffer
[platform/core/uifw/dali-adaptor.git] / adaptors / devel-api / adaptor-framework / pixel-buffer.h
index 91c7161..dfe228b 100644 (file)
@@ -170,6 +170,15 @@ public:
    */
   void ApplyMask( PixelBuffer mask, float contentScale=1.0f, bool cropToMask=false );
 
+  /**
+   * Apply a Gaussian blur to this pixel data with the given radius.
+   *
+   * @note A bigger radius will yield a blurrier image. Only works for pixel data in RGBA format.
+   *
+   * @param[in] blurRadius The radius for Gaussian blur. A value of 0 or negative value indicates no blur.
+   */
+  void ApplyGaussianBlur( const float blurRadius );
+
 public:
 
   /**