Apply the new doxygen tagging rule for @SINCE
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / gaussian-blur-view / gaussian-blur-view.h
index 7ffdaca..1da50f6 100644 (file)
@@ -53,7 +53,7 @@ class BloomView;
  */
 
 /**
- *
+ * @brief
  * GaussianBlurView is a class for applying a render process that blurs an image.
  *
  * Basic idea:-
@@ -97,28 +97,33 @@ class BloomView;
  *  // Stop rendering the GaussianBlurView\n
  *  Stage::GetCurrent().Remove(gaussianBlurView);\n
  *  gaussianBlurView.Deactivate();\n
+ * @SINCE_1_0.0
  */
 class DALI_IMPORT_API GaussianBlurView : public Control
 {
 public:
   /**
-   * Signal type for notifications
+   * @brief Signal type for notifications
+   * @SINCE_1_0.0
    */
   typedef Signal< void (GaussianBlurView source) > GaussianBlurViewSignal;
 
   /**
-   * Create an uninitialized GaussianBlurView; this can be initialized with GaussianBlurView::New()
+   * @brief Create an uninitialized GaussianBlurView; this can be initialized with GaussianBlurView::New()
    * Calling member functions with an uninitialized Dali::Object is not allowed.
+   * @SINCE_1_0.0
    */
   GaussianBlurView();
 
   /**
-   * Copy constructor. Creates another handle that points to the same real object
+   * @brief Copy constructor. Creates another handle that points to the same real object
+   * @SINCE_1_0.0
    */
   GaussianBlurView(const GaussianBlurView& handle);
 
   /**
-   * Assignment operator. Changes this handle to point to another real object
+   * @brief Assignment operator. Changes this handle to point to another real object
+   * @SINCE_1_0.0
    */
   GaussianBlurView& operator=(const GaussianBlurView& ZoomView);
 
@@ -126,19 +131,21 @@ public:
    * @brief Destructor
    *
    * This is non-virtual since derived Handle types must not contain data or virtual methods.
+   * @SINCE_1_0.0
    */
   ~GaussianBlurView();
 
   /**
-   * Downcast an Object handle to GaussianBlurView. If handle points to a GaussianBlurView the
+   * @brief Downcast an Object handle to GaussianBlurView. If handle points to a GaussianBlurView the
    * downcast produces valid handle. If not the returned handle is left uninitialized.
+   * @SINCE_1_0.0
    * @param[in] handle Handle to an object
    * @return handle to a GaussianBlurView or an uninitialized handle
    */
   static GaussianBlurView DownCast( BaseHandle handle );
 
   /**
-  * Create an initialized GaussianBlurView, using default settings. The default settings are:-\n
+  * @brief Create an initialized GaussianBlurView, using default settings. The default settings are:-\n
   *
   * numSamples = 5\n
   * blurBellCurveWidth = 1.5\n
@@ -146,12 +153,14 @@ public:
   * downsampleWidthScale = 0.5\n
   * downsampleHeightScale = 0.5\n
   * blurUserImage = false
+  * @SINCE_1_0.0
   * @return A handle to a newly allocated Dali resource
   */
   static GaussianBlurView New();
 
   /**
-  * Create an initialized GaussianBlurView.
+  * @brief Create an initialized GaussianBlurView.
+  * @SINCE_1_0.0
   * @param numSamples The size of the Gaussian blur kernel (number of samples in horizontal / vertical blur directions).
   * @param blurBellCurveWidth The constant controlling the Gaussian function, must be > 0.0. Controls the width of the bell curve, i.e. the look of the blur and also indirectly
   * the amount of blurriness Smaller numbers for a tighter curve. Useful values in the range [0.5..3.0] - near the bottom of that range the curve is weighted heavily towards
@@ -172,90 +181,101 @@ public:
                               bool blurUserImage = false);
 
   /**
-   * Adds a child Actor to this Actor.
+   * @brief Adds a child Actor to this Actor.
    * NOTE! if the child already has a parent, it will be removed from old parent
    * and reparented to this actor. This may change childs position, color, shader effect,
    * scale etc as it now inherits them from this actor
+   * @SINCE_1_0.0
+   * @param [in] child The child.
    * @pre This Actor (the parent) has been initialized.
    * @pre The child actor has been initialized.
    * @pre The child actor is not the same as the parent actor.
    * @pre The actor is not the Root actor
-   * @param [in] child The child.
    * @post The child will be referenced by its parent. This means that the child will be kept alive,
    * even if the handle passed into this method is reset or destroyed.
    */
   void Add(Actor child);
 
   /**
-   * Removes a child Actor from this Actor.
+   * @brief Removes a child Actor from this Actor.
    * If the actor was not a child of this actor, this is a no-op.
+   * @SINCE_1_0.0
+   * @param [in] child The child.
    * @pre This Actor (the parent) has been initialized.
    * @pre The child actor is not the same as the parent actor.
-   * @param [in] child The child.
    */
   void Remove(Actor child);
 
   /**
-   * Start rendering the GaussianBlurView. Must be called after you Add() it to the stage.
+   * @brief Start rendering the GaussianBlurView. Must be called after you Add() it to the stage.
+   * @SINCE_1_0.0
    */
   void Activate();
 
   /**
-   * Render the GaussianBlurView once. Must be called after you Add() it to the stage.
+   * @brief Render the GaussianBlurView once. Must be called after you Add() it to the stage.
    * Only works with a gaussian blur view created with blurUserImage = true.
    * Listen to the Finished signal to determine when the rendering has completed.
+   * @SINCE_1_0.0
    */
   void ActivateOnce();
 
   /**
-   * Stop rendering the GaussianBlurView. Must be called after you Remove() it from the stage.
+   * @brief Stop rendering the GaussianBlurView. Must be called after you Remove() it from the stage.
+   * @SINCE_1_0.0
    */
   void Deactivate();
 
   /**
-   * Sets a custom image to be blurred and a render target to receive the blurred result. If this is called the children of the GaussianBlurObject will not be rendered blurred,
+   * @brief Sets a custom image to be blurred and a render target to receive the blurred result. If this is called the children of the GaussianBlurObject will not be rendered blurred,
    * instead the inputImage will get blurred.
    * To retrieve the blurred image the user can either pass a handle on a render target they own as the second parameter to SetUserImageAndOutputRenderTarget( ... ), or they
    * can pass NULL for this parameter and instead call GetBlurredRenderTarget() which will return a handle on a render target created internally to the GaussianBlurView object.
-   * @pre This object was created with a New( ... ) call where the blurUserImage argument was set to true. If this was not the case an exception will be thrown.
+   * @SINCE_1_0.0
    * @param inputImage The image that the user wishes to blur.
    * @param outputRenderTarget A render target to receive the blurred result. Passing NULL is allowed. See also GetBlurredRenderTarget().
+   * @pre This object was created with a New( ... ) call where the blurUserImage argument was set to true. If this was not the case an exception will be thrown.
    */
   void SetUserImageAndOutputRenderTarget(Image inputImage, FrameBufferImage outputRenderTarget);
 
   /**
-   * Get the index of the property that can be used to fade the blur in / out. This is the overall strength of the blur.
+   * @brief Get the index of the property that can be used to fade the blur in / out. This is the overall strength of the blur.
    * User can use this to animate the blur. A value of 0.0 is zero blur and 1.0 is full blur. Default is 1.0.
    * Note that if you set the blur to 0.0, the result will be no blur BUT the internal rendering will still be happening. If you wish to turn the blur off, you should remove
    * the GaussianBlurView object from the stage also.
+   * @SINCE_1_0.0
    * @return Index of the property that can be used to fade the blur in / out
    */
   Dali::Property::Index GetBlurStrengthPropertyIndex() const;
 
   /**
-   * Get the final blurred image.
+   * @brief Get the final blurred image.
    * Use can call this function to get the blurred result as an image, to use as they wish. It is not necessary to call this unless you specifically require it.
-   * @pre The user must call Activate() before the render target will be returned.
+   * @SINCE_1_0.0
    * @return A handle on the blurred image, contained in a render target.
+   * @pre The user must call Activate() before the render target will be returned.
    */
   FrameBufferImage GetBlurredRenderTarget() const;
 
   /**
-  * Set background color for the view. The background will be filled with this color.
+  * @brief Set background color for the view. The background will be filled with this color.
+  * @SINCE_1_0.0
   * @param[in] color The background color.
   */
   void SetBackgroundColor( const Vector4& color );
 
   /**
-  * Get the background color.
+  * @brief Get the background color.
+  * @SINCE_1_0.0
   * @return The background color.
   */
   Vector4 GetBackgroundColor() const;
 
 public: // Signals
   /**
-   * If ActivateOnce has been called, then connect to this signal to be notified when the
+   * @brief If ActivateOnce has been called, then connect to this signal to be notified when the
    * target actor has been rendered.
+   * @SINCE_1_0.0
    * @return The Finished signal
    */
   GaussianBlurViewSignal& FinishedSignal();
@@ -263,13 +283,15 @@ public: // Signals
 public:
 
   /**
-   * Creates a handle using the Toolkit::Internal implementation.
+   * @brief Creates a handle using the Toolkit::Internal implementation.
+   * @SINCE_1_0.0
    * @param[in]  implementation  The UI Control implementation.
    */
   DALI_INTERNAL GaussianBlurView( Internal::GaussianBlurView& implementation );
 
   /**
-   * Allows the creation of this UI Control from an Internal::CustomActor pointer.
+   * @brief Allows the creation of this UI Control from an Internal::CustomActor pointer.
+   * @SINCE_1_0.0
    * @param[in]  internal  A pointer to the internal CustomActor.
    */
   DALI_INTERNAL GaussianBlurView( Dali::Internal::CustomActor* internal );