graphics header merge
authorSungyeon Woo <s.woo@samsung.com>
Thu, 18 Apr 2013 10:32:34 +0000 (19:32 +0900)
committerSungyeon Woo <s.woo@samsung.com>
Thu, 18 Apr 2013 10:32:34 +0000 (19:32 +0900)
Change-Id: I8c094499187dc66ae17c6c8c7649fbefa05ccf9b
Signed-off-by: Sungyeon Woo <s.woo@samsung.com>
inc/FGrpBitmap.h
inc/FGrpCanvas.h
inc/FGrpColor.h
inc/FGrpCoordinateSystem.h
inc/FGrpEnrichedText.h
inc/FGrpFont.h

index 53c3823..f8db02c 100644 (file)
@@ -211,9 +211,9 @@ public:
         * @return      An error code
         * @param[in]   rect            The rectangular area of the frame that is copied into bitmap @n
         *                                                      The width and height of the rectangle must be greater than @c 0. @n
-        *                                                      The area defined by @c rect is clipped to the edges of the Frame so that
-        *                                                      the rectangle does not fall outside the edges of the Frame. @n
-        *                                                      The rectangle must not fall outside the edges of the Frame entirely. @n
+        *                                                      The area defined by @c rect is clipped to the edges of the frame so that
+        *                                                      the rectangle does not fall outside the edges of the frame. @n
+        *                                                      The rectangle must not fall outside the edges of the frame entirely. @n
         *                                                      If these conditions are not satisfied, an @c E_OUT_OF_RANGE exception is returned.
         * @exception   E_SUCCESS                       The method is successful.
         * @exception   E_OUT_OF_RANGE          The value of the argument is outside the valid range defined by the method.
@@ -239,14 +239,14 @@ public:
        result Construct(const FloatDimension& dim, BitmapPixelFormat format);
 
        /**
-        * Initializes this instance of %Bitmap by copying the specified rectangular area of the specified canvas.
+        * Initializes this instance of %Bitmap by copying a specified rectangular area of a specified canvas.
         *
         * @since                       2.1
         *
         * @return              An error code
         * @param[in]   canvas          The canvas to copy @n
         *                                                      The canvas must be constructed successfully before it is passed into this method. @n
-        *                                                      If not, an E_INVALID_ARG exception is returned.
+        *                                                      If not, an @c E_INVALID_ARG exception is returned.
         * @param[in]   rect            The rectangular area of the canvas that is copied into a bitmap @n
         *                                                      The width and height of the rectangle must be greater than @c 0. @n
         *                                                      The rectangle defined by @c rect is clipped to the edges of the canvas so that
@@ -261,14 +261,14 @@ public:
        result Construct(const Canvas& canvas, const FloatRectangle& rect);
 
        /**
-        * Initializes this instance of %Bitmap by copying a rectangular area of the specified bitmap.
+        * Initializes this instance of %Bitmap by copying a rectangular area of a specified bitmap.
         *
         * @since                       2.1
         *
         * @return              An error code
         * @param[in]   bitmap          The source bitmap @n
         *                                                      The bitmap must be constructed successfully before it is passed into this method. @n
-        *                                                      If not, an E_INVALID_ARG exception is returned.
+        *                                                      If not, an @c E_INVALID_ARG exception is returned.
         * @param[in]   rect            The rectangular area of the source bitmap that is copied into this bitmap @n
         *                                                      The width and height of the rectangle must be greater than @c 0. @n
         *                                                      The rectangle defined by @c rect is clipped to the edges of the source bitmap so that
@@ -298,7 +298,7 @@ public:
        result Scale(const Dimension& dim);
 
        /**
-        * Scales the bitmap to the specified width and height.
+        * Scales the bitmap to a specified width and height.
         *
         * @since                       2.1
         *
@@ -332,7 +332,7 @@ public:
        result Merge(const Point& destPoint, const Bitmap& srcBitmap, const Rectangle& srcRect);
 
        /**
-        * Merges the specified area of the source bitmap into the calling bitmap at the given Point.
+        * Merges a specified area of the source bitmap into the calling bitmap at a given point.
         *
         * @since                       2.1
         *
@@ -340,7 +340,7 @@ public:
         * @param[in]   destPoint               The X and Y coordinate of the top-left corner of the destination area in the calling bitmap instance
         * @param[in]   srcBitmap               The source bitmap instance to copy from
         * @param[in]   srcRect             The rectangular area to copy from the source bitmap @n
-                                       The width and height of the rectangle must be greater than or equal to @c 0.
+        *                               The width and height of the rectangle must be greater than or equal to @c 0.
         * @exception   E_SUCCESS                       The method is successful.
         * @exception   E_OUT_OF_RANGE          Either of the following conditions has occurred: @n
         *                                                                      - The value of the argument is outside the valid range defined by the method. @n
index 068fb8f..bf700ec 100644 (file)
@@ -103,7 +103,7 @@ public:
        result Construct(const Rectangle& rect);
 
        /**
-        * Initializes this instance of %Canvas with the specified parameter.
+        * Initializes this instance of %Canvas with a specified parameter.
         *
         * @since               2.1
         *
@@ -194,8 +194,8 @@ public:
        result Copy(const Point& destPoint, const Canvas& srcCanvas, const Rectangle& srcRect);
 
        /**
-        * Copies the specified rectangular region from the specified instance of %Canvas to the current instance of
-        * %Canvas at the specified location.
+        * Copies a specified rectangular region from a specified instance of %Canvas to the current instance of
+        * %Canvas at a specified location.
         *
         * @since               2.1
         *
@@ -236,7 +236,7 @@ public:
        result Copy(const Rectangle& destRect, const Canvas& srcCanvas, const Rectangle& srcRect);
 
        /**
-        * Copies the scaled image of the specified rectangular region from the specified instance of
+        * Copies the scaled image of a specified rectangular region from a specified instance of
         * %Canvas to the current instance of %Canvas.
         *
         * @since               2.1
@@ -286,7 +286,7 @@ public:
         *
         * @return              The line width, @n
         *                              else @c -1.0f if the method fails
-        * @remarks The default value is 1.0f.
+        * @remarks The default value is @c 1.0f.
         */
        float GetLineWidthF(void) const;
 
@@ -347,7 +347,7 @@ public:
         * @since 2.1
         *
         * @return              An error code
-        * @param[out]  pattern                 The list containing the information of dash pattern.
+        * @param[out]  pattern                 The list containing the information of dash pattern
         * @param[out]  offset                  The offset into the dash pattern at which the stroke must start
         * @exception   E_SUCCESS               The method is successful.
         * @exception   E_INVALID_ARG   A specific input parameter is invalid.
@@ -373,7 +373,7 @@ public:
         * @since 2.1
         *
         * @return              An error code
-        * @param[in]   pattern                 The list containing the information of dash pattern.
+        * @param[in]   pattern                 The list containing the information of dash pattern
         * @param[in]   offset                  The offset into the dash pattern at which the stroke must start
         * @exception   E_SUCCESS               The method is successful.
         * @exception   E_INVALID_ARG   A specific input parameter is invalid.
@@ -440,7 +440,7 @@ public:
        result GetPixel(const Point& point, Color& color) const;
 
        /**
-        * Gets the color information at the specified point.
+        * Gets the color information at a specified point.
         *
         * @since               2.1
         *
@@ -470,7 +470,7 @@ public:
        result SetPixel(const Point& point);
 
        /**
-        * Sets a point at the specified coordinate.
+        * Sets a point at a specified coordinate.
         *
         * @since               2.0
         *
@@ -558,7 +558,7 @@ public:
        result FillRectangle(const Color& color, const Rectangle& rect);
 
        /**
-        * Fills a rectangular region of the current instance of %Canvas with the specified color.
+        * Fills a rectangular region of the current instance of %Canvas with a specified color.
         *
         * @since               2.1
         *
@@ -698,7 +698,7 @@ public:
        result FillEllipse(const Color& color, const Rectangle& rect);
 
        /**
-        * Draws a filled ellipse with the specified color.
+        * Draws a filled ellipse with a specified color.
         *
         * @since               2.1
         *
@@ -795,7 +795,7 @@ public:
        result FillTriangle(const Color& color, const Point& point1, const Point& point2, const Point& point3);
 
        /**
-        * Draw a filled triangle with the specified color.
+        * Draw a filled triangle with a specified color.
         *
         * @since               2.1
         *
@@ -870,8 +870,9 @@ public:
         *                              else @c null if the method fails
         * @exception           E_SUCCESS                       The method is successful.
         * @exception           E_OUT_OF_MEMORY                 The memory is insufficient.
-        * @remarks             The specific error code can be accessed using the GetLastResult() method.
-        * @remarks             If a font is not set with the SetFont() method, this method returns the system default font.
+        * @remarks
+        *                      - The specific error code can be accessed using the GetLastResult() method.
+        *                      - If a font is not set with the SetFont() method, this method returns the system default font.
         */
        Font* GetFontN(void) const;
 
@@ -886,13 +887,14 @@ public:
         * @exception   E_SUCCESS                       The method is successful.
         * @exception   E_INVALID_ARG           A specified input parameter is invalid.
         * @exception   E_OPERATION_FAILED  The operation has failed.
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const Point& point, const Tizen::Base::String& text);
 
        /**
-        * Draws a text at the specified location.
+        * Draws a text at a specified location.
         *
         * @since               2.1
         *
@@ -902,8 +904,9 @@ public:
         * @exception   E_SUCCESS                       The method is successful.
         * @exception   E_INVALID_ARG           A specified input parameter is invalid.
         * @exception   E_OPERATION_FAILED  The operation has failed.
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const FloatPoint& point, const Tizen::Base::String& text);
 
@@ -921,13 +924,14 @@ public:
         * @exception   E_INVALID_ARG           A specified input parameter is invalid.
         * @exception   E_OUT_OF_RANGE          The value of the argument is outside the valid range defined by the method.
         * @exception   E_OPERATION_FAILED  The operation has failed.
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const Point& point, const Tizen::Base::String& text, int length);
 
        /**
-        * Draws a text at the specified location and length.
+        * Draws a text at a specified location and length.
         *
         * @since               2.1
         *
@@ -940,8 +944,9 @@ public:
         * @exception   E_INVALID_ARG           A specified input parameter is invalid.
         * @exception   E_OUT_OF_RANGE          The value of the argument is outside the valid range defined by the method.
         * @exception   E_OPERATION_FAILED  The operation has failed.
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const FloatPoint& point, const Tizen::Base::String& text, int length);
 
@@ -958,26 +963,28 @@ public:
         * @exception    E_INVALID_ARG       A specified input parameter is invalid.
         * @exception    E_OUT_OF_RANGE      The value of the argument is outside the valid range defined by the method.
         * @exception    E_OPERATION_FAILED  The operation has failed.
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const Point& point, const Tizen::Base::String& text, const Color& outlineColor);
 
        /**
-        * Draws a text with an outline rendering at the specified location.
+        * Draws a text with an outline rendering at a specified location.
         *
         * @since        2.1
         *
         * @return       An error code
         * @param[in]    point               The location to draw the text
-        * @param[in]    text                The text to draw @n
+        * @param[in]    text                The text to draw
         * @param[in]    outlineColor        The color that is set as outline color
         * @exception    E_SUCCESS           The method is successful.
         * @exception    E_INVALID_ARG       A specified input parameter is invalid.
         * @exception    E_OUT_OF_RANGE      The value of the argument is outside the valid range defined by the method.
         * @exception    E_OPERATION_FAILED  The operation has failed.
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const FloatPoint& point, const Tizen::Base::String& text, const Color& outlineColor);
 
@@ -996,14 +1003,14 @@ public:
         * @exception    E_INVALID_ARG       A specified input parameter is invalid.
         * @exception    E_OUT_OF_RANGE      The value of the argument is outside the valid range defined by the method.
         * @exception    E_OPERATION_FAILED  The operation has failed.
-        *
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const Point& point, const Tizen::Base::String& text, int length, const Color& outlineColor);
 
        /**
-        * Draws a text with an outline rendering at the specified location and length.
+        * Draws a text with an outline rendering at a specified location and length.
         *
         * @since        2.1
         *
@@ -1017,9 +1024,9 @@ public:
         * @exception    E_INVALID_ARG       A specified input parameter is invalid.
         * @exception    E_OUT_OF_RANGE      The value of the argument is outside the valid range defined by the method.
         * @exception    E_OPERATION_FAILED  The operation has failed.
-        *
-        * @remarks     The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks     The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const FloatPoint& point, const Tizen::Base::String& text, int length, const Color& outlineColor);
 
@@ -1033,14 +1040,14 @@ public:
         * @param[in]   enrichedText                    The TextElement to draw
         * @exception   E_SUCCESS                               The method is successful.
         * @exception   E_DEVICE_UNAVAILABLE    A specified device is invalid.
-        *
-        * @remarks  The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks  The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const Point& point, const EnrichedText& enrichedText);
 
        /**
-        * Draws an enriched text at the specified area.
+        * Draws an enriched text at a specified area.
         *
         * @since               2.1
         *
@@ -1049,9 +1056,9 @@ public:
         * @param[in]   enrichedText                    The TextElement to draw
         * @exception   E_SUCCESS                               The method is successful.
         * @exception   E_DEVICE_UNAVAILABLE    A specified device is invalid.
-        *
-        * @remarks  The foreground color (RGB value only) of the %Canvas control is used as the text color.
-        * @remarks  The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
+        * @remarks
+        *                      - The foreground color (RGB value only) of the %Canvas control is used as the text color.
+        *                      - The em square has a defined font size. As a result, if the font's glyph exceeds its em square, it will be scaled down when it is drawn.
         */
        result DrawText(const FloatPoint& point, const EnrichedText& enrichedText);
 
@@ -1075,7 +1082,7 @@ public:
        result DrawBitmap(const Point& point, const Bitmap& bitmap);
 
        /**
-        * Draws a bitmap image at the specified location.
+        * Draws a bitmap image at a specified location.
         *
         * @since               2.1
         *
@@ -1114,7 +1121,7 @@ public:
        result DrawBitmap(const Rectangle& rect, const Bitmap& bitmap);
 
        /**
-        * Draws a bitmap image at the specified location.
+        * Draws a bitmap image at a specified location.
         *
         * @since               2.1
         *
@@ -1166,7 +1173,7 @@ public:
        result DrawBitmap(const Rectangle& destRect, const Bitmap& srcBitmap, const Rectangle& srcRect);
 
        /**
-        * Draws a color data corresponding to a rectangle of pixels from the specified bitmap onto %Canvas.
+        * Draws a color data corresponding to a rectangle of pixels from a specified bitmap onto %Canvas.
         *
         * @since               2.1
         *
@@ -1214,7 +1221,7 @@ public:
        result DrawBitmap(const Point& point, const Bitmap& bitmap, FlipDirection dir);
 
        /**
-        * Draws a flipped bitmap image at the specified location.
+        * Draws a flipped bitmap image at a specified location.
         *
         * @since               2.1
         *
@@ -1253,7 +1260,7 @@ public:
        result DrawBitmap(const Point& point, const Bitmap& bitmap, const Point& pivot, int degree);
 
        /**
-        * Draws a rotated bitmap image at the specified location.
+        * Draws a rotated bitmap image at a specified location.
         *
         * @since               2.1
         *
@@ -1290,7 +1297,6 @@ public:
         * @exception   E_SUCCESS       The method is successful.
         * @exception   E_INVALID_ARG   A specified input parameter is invalid.
         * @exception   E_OUT_OF_RANGE  The value of the argument is outside the valid range defined by the method.
-        *
         * @remarks    BitmapPixelFormat::BITMAP_PIXEL_FORMAT_R8G8B8A8 is not applicable for this method. @n
         *             The nine-patched bitmap must have a stretchable section by drawing one (or more) 1-pixel-wide black line(s) in the
         *             left and top part of the border.
@@ -1300,7 +1306,7 @@ public:
        result DrawNinePatchedBitmap(const Rectangle& rect, const Bitmap& bitmap);
 
        /**
-        * Draws a nine-patched bitmap at the specified location.
+        * Draws a nine-patched bitmap at a specified location.
         *
         * @since               2.1
         *
@@ -1314,7 +1320,6 @@ public:
         * @exception   E_SUCCESS       The method is successful.
         * @exception   E_INVALID_ARG   A specified input parameter is invalid.
         * @exception   E_OUT_OF_RANGE  The value of the argument is outside the valid range defined by the method.
-        *
         * @remarks    BitmapPixelFormat::BITMAP_PIXEL_FORMAT_R8G8B8A8 is not applicable for this method. @n
         *             The nine-patched bitmap must have a stretchable section by drawing one (or more) 1-pixel-wide black line(s) in the
         *             left and top part of the border.
@@ -1393,7 +1398,7 @@ public:
         *
         * @since       2.1
         *
-        * @return      The Rectangle instance containing the location and size of the current %Canvas instance
+        * @return      The FloatRectangle instance containing the location and size of the current %Canvas instance
         * @remarks If this %Canvas instance is a Window %Canvas, it returns FloatRectangle(0.0f, 0.0f, w, h).
         */
        FloatRectangle GetBoundsF(void) const;
@@ -1403,7 +1408,7 @@ public:
         *
         * @since       2.1
         *
-        * @return      The Rectangle instance containing the actual location and size of the current %Canvas instance
+        * @return      The FloatRectangle instance containing the actual location and size of the current %Canvas instance
         * @remarks If this %Canvas instance is a Window %Canvas, it returns FloatRectangle(0.0f, 0.0f, w, h).
         */
        FloatRectangle GetActualBounds(void) const;
@@ -1429,7 +1434,7 @@ public:
 
        /**
         * Sets the clip rectangle for a %Canvas control. @n
-        * When a clip rectangle is set, any drawing is restricted within the specified rectangular area. The
+        * When a clip rectangle is set, any drawing is restricted within a specified rectangular area. The
         * rectangular area defined is clipped at the edges of the %Canvas control so as to prevent the clipped rectangle
         * from falling outside the %Canvas control.
         *
@@ -1460,7 +1465,7 @@ public:
         *
         * @since               2.1
         *
-        * @return              An instance of Rectangle indicating the bounds of the clip rectangle
+        * @return              An instance of FloatRectangle indicating the bounds of the clip rectangle
         */
        FloatRectangle GetClipBoundsF(void) const;
 
@@ -1482,7 +1487,6 @@ public:
         * @exception   E_SUCCESS               The method is successful.
         * @exception   E_TIMEOUT               The operation cannot be completed within the specified time period.
         * @exception   E_SYSTEM                An unknown operating system error has occurred.
-        *
         * @remarks     BufferInfo contains a valid physical memory information, regardless of the
         *                              logical position and size of the %Canvas control.
         */
@@ -1547,8 +1551,7 @@ public:
         * @param[in]   point                                   The new position
         * @exception   E_SUCCESS                               The method is successful.
         * @exception   E_UNSUPPORTED_OPERATION Window %Canvas does not support moving the position.
-        *
-        * @remarks             Canvas::SetPosition(const Point& point) is not supported anymore since Tizen2.1. @n
+        * @remarks             Canvas::SetPosition(const Point& point) is not supported anymore since Tizen 2.1. @n
         *                              This function has influence on only Memory canvas. However, Memory Canvas Show() is deprecated in Tizen2.0, and this method has no meaning since Tizen2.0 and deprecated since Tizen2.1.
         */
        result SetPosition(const Point& point);
@@ -1565,8 +1568,7 @@ public:
         * @param[in]   y                                               The new y-coordinate
         * @exception   E_SUCCESS                               The method is successful.
         * @exception   E_UNSUPPORTED_OPERATION Window %Canvas does not support moving the position.
-        *
-        * @remarks             Canvas::SetPosition(int x, int y) is not supported anymore since Tizen2.1. @n
+        * @remarks             Canvas::SetPosition(int x, int y) is not supported anymore since Tizen 2.1. @n
         *                              This function has influence on only Memory canvas. However, Memory Canvas Show() is deprecated in Tizen2.0, and this method has no meaning since Tizen2.0 and deprecated since Tizen2.1.
         */
        result SetPosition(int x, int y);
index cc773cb..d912cac 100644 (file)
@@ -265,7 +265,7 @@ public:
         *
         * @since               2.0
         *
-        * @return      An unsigned integer value representing the current instance of %Color
+        * @return      An @c unsigned integer value representing the current instance of %Color
         */
        unsigned int GetRGB32(void) const;
 
index 1094339..e86e55d 100644 (file)
@@ -146,32 +146,32 @@ public:
        static float ConvertToPhysicalY(float logicalY);
 
        /**
-        * Returns the FloatPoint which will be pixel-exact in the device coordinate system, for best appearance on the display.
+        * Returns the FloatPoint instance, which will be pixel-exact for the device coordinate system to display the best appearance.
         *
         * @since 2.1
         *
         * @return      Device aligned point
-        * @param[in]   point   input point to be aligned.
+        * @param[in]   point   The input point to align
         */
        static FloatPoint AlignToDevice(const FloatPoint& point);
 
        /**
-        * Returns the FloatDimension which will be pixel-exact in the device coordinate system, for best appearance on the display.
+        * Returns the FloatDimension instance, which will be pixel-exact for the device coordinate system to display the best appearance.
         *
         * @since 2.1
         *
         * @return      Device aligned dimension
-        * @param[in]   dimension       input dimension to be aligned.
+        * @param[in]   dimension       The input dimension to align
         */
        static FloatDimension AlignToDevice(const FloatDimension& dimension);
 
        /**
-        * Returns the FloatRectangle which will be pixel-exact in the device coordinate system, for best appearance on the display.
+        * Returns the FloatRectangle instance, which will be pixel-exact for the device coordinate system to display the best appearance.
         *
         * @since 2.1
         *
         * @return      Device aligned rectangle
-        * @param[in]   rectangle       input rectangle to be aligned.
+        * @param[in]   rectangle       The input rectangle to align
         */
        static FloatRectangle AlignToDevice(const FloatRectangle& rectangle);
 
index 2c0387e..a26be24 100644 (file)
@@ -226,7 +226,7 @@ public:
        result Construct(const Tizen::Graphics::Dimension& dim);
 
        /**
-        * Initializes this instance of %EnrichedText with the specified parameter.
+        * Initializes this instance of %EnrichedText with a specified parameter.
         *
         * @since               2.1
         *
@@ -355,7 +355,7 @@ public:
         * @since               2.0
         *
         * @return      An error code
-        * @param[in]   size                The new size of the %EnrichedText @n
+        * @param[in]   size                The new size of the %EnrichedText instance @n
         *                                  The width and height must be greater than @c 0.
         * @exception   E_SUCCESS           The method is successful.
         * @exception   E_OUT_OF_RANGE      The value of the parameter is outside the valid range defined by the method.
@@ -368,7 +368,7 @@ public:
         * @since               2.1
         *
         * @return      An error code
-        * @param[in]   size                The new size of the %EnrichedText @n
+        * @param[in]   size                The new size of the %EnrichedText instance @n
         *                                  The width and height must be greater than @c 0.0f.
         * @exception   E_SUCCESS           The method is successful.
         * @exception   E_OUT_OF_RANGE      The value of the parameter is outside the valid range defined by the method.
@@ -420,7 +420,7 @@ public:
         *
         * @since               2.1
         *
-        * @return              An instance of %FloatDimension containing the width and the height of the %EnrichedText instance
+        * @return              An instance of FloatDimension containing the width and the height of the %EnrichedText instance
         *
         */
        Tizen::Graphics::FloatDimension GetSizeF(void) const;
@@ -712,7 +712,7 @@ public:
        int GetLineHeight(int lineIndex) const;
 
        /**
-        * Gets the line height of the specified line.
+        * Gets the line height of a specified line.
         *
         * @since               2.1
         *
@@ -741,7 +741,7 @@ public:
         * @since               2.0
         *
         * @return              An error code
-        * @param[in]   startTextIndex          The starting text index of the %EnrichedText
+        * @param[in]   startTextIndex          The starting text index of the %EnrichedText instance
         * @param[in]   textLength                      The length of the specified text @n
         *                                                                      It must be greater than or equal to @c 0.
         * @param[out]  width                           The width of the specified text
@@ -760,7 +760,7 @@ public:
         * @since               2.1
         *
         * @return              An error code
-        * @param[in]   startTextIndex          The starting text index of the %EnrichedText
+        * @param[in]   startTextIndex          The starting text index of the %EnrichedText instance
         * @param[in]   textLength                      The length of the specified text @n
         *                                                                      It must be greater than or equal to @c 0.
         * @param[out]  width                           The width of the specified text
@@ -773,10 +773,11 @@ public:
        result GetTextExtent(int startTextIndex, int textLength, float& width, float& height, int& actualLength) const;
 
        /**
-        * Gets the extent of the %EnrichedText instance on the assumption that all %TextElements are
+        * Gets the extent of the %EnrichedText instance on the assumption that all TextElements are
         * expanded to one line.
         *
         * @since 2.0
+        *
         * @return              An error code
         * @param[in]   startTextIndex          The starting text index of the EnrichedText
         * @param[in]   textLength                      The length of the specified text @n
@@ -790,12 +791,13 @@ public:
        result GetTextExtent(int startTextIndex, int textLength, Tizen::Graphics::Dimension& size, int& actualLength) const;
 
        /**
-        * Gets the extent of the %EnrichedText instance on the assumption that all %TextElements are
+        * Gets the extent of the %EnrichedText instance on the assumption that all TextElements are
         * expanded to one line.
         *
         * @since 2.1
+        *
         * @return              An error code
-        * @param[in]   startTextIndex          The starting text index of the EnrichedText
+        * @param[in]   startTextIndex          The starting text index of the %EnrichedText instance
         * @param[in]   textLength                      The length of the specified text @n
         *                                                                      It must be greater than or equal to @c 0.
         * @param[out]  size                            The extent of the specified text
@@ -807,21 +809,21 @@ public:
        result GetTextExtent(int startTextIndex, int textLength, Tizen::Graphics::FloatDimension& size, int& actualLength) const;
 
        /**
-        * Gets the extent of the %EnrichedText instance on the assumption that all %TextElements are
+        * Gets the extent of the %EnrichedText instance on the assumption that all TextElements are
         * not expanded to one line. @n The %GetTextExtent() method is useful for finding the extent of %EnrichedText spanning multiple lines.
         *
         * @since 2.0
-        * @return              An instance of %Dimension containing the extent of the %EnrichedText instance, @n
+        * @return              An instance of Dimension containing the extent of the %EnrichedText instance, @n
         *                              else (-1, -1) if the method fails
         */
        Tizen::Graphics::Dimension GetTextExtent(void) const;
 
        /**
-        * Gets the extent of the %EnrichedText instance on the assumption that all %TextElements are
-        * not expanded to one line. @n The %GetTextExtent() method is useful for finding the extent of %EnrichedText spanning multiple lines.
+        * Gets the extent of the %EnrichedText instance on the assumption that all TextElements are
+        * not expanded to one line. @n The %GetTextExtentF() method is useful for finding the extent of %EnrichedText spanning multiple lines.
         *
         * @since 2.1
-        * @return              An instance of %FloatDimension containing the extent of the %EnrichedText instance, @n
+        * @return              An instance of FloatDimension containing the extent of the %EnrichedText instance, @n
         *                              else (-1.0f, -1.0f) if the method fails
         */
        Tizen::Graphics::FloatDimension GetTextExtentF(void) const;
@@ -869,7 +871,7 @@ public:
         * @exception  E_SUCCESS          The method is successful.
         * @exception  E_INVALID_ARG      A specified input parameter is invalid.
         * @exception  E_OBJ_NOT_FOUND    The required instance is not found.
-        * @remarks    The method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
+        * @remarks    This method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
         * @see        Tizen::Base::Utility::LinkInfo
         */
        result GetLinkInfoFromPosition(const Point& point, Tizen::Base::Utility::LinkInfo& linkInfo) const;
@@ -885,7 +887,7 @@ public:
         * @exception  E_SUCCESS          The method is successful.
         * @exception  E_INVALID_ARG      A specified input parameter is invalid.
         * @exception  E_OBJ_NOT_FOUND    The required instance is not found.
-        * @remarks    The method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
+        * @remarks    This method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
         * @see        Tizen::Base::Utility::LinkInfo
         */
        result GetLinkInfoFromPosition(const FloatPoint& point, Tizen::Base::Utility::LinkInfo& linkInfo) const;
@@ -902,13 +904,13 @@ public:
         * @exception  E_SUCCESS          The method is successful.
         * @exception  E_INVALID_ARG      A specified input parameter is invalid.
         * @exception  E_OBJ_NOT_FOUND    The required instance is not found.
-        * @remarks    The method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
+        * @remarks    This method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
         * @see        Tizen::Base::Utility::LinkInfo
         */
        result GetLinkInfoFromPosition(int x, int y, Tizen::Base::Utility::LinkInfo& linkInfo) const;
 
        /**
-        * Gets the information about the link at the specified position.
+        * Gets the information about the link at a specified position.
         *
         * @since      2.1
         *
@@ -919,7 +921,7 @@ public:
         * @exception  E_SUCCESS          The method is successful.
         * @exception  E_INVALID_ARG      A specified input parameter is invalid.
         * @exception  E_OBJ_NOT_FOUND    The required instance is not found.
-        * @remarks    The method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
+        * @remarks    This method throws @c E_OBJ_NOT_FOUND if there is no linked text at the specified position.
         * @see        Tizen::Base::Utility::LinkInfo
         */
        result GetLinkInfoFromPosition(float x, float y, Tizen::Base::Utility::LinkInfo& linkInfo) const;
index 7fd57fc..cc2ac4e 100644 (file)
@@ -144,7 +144,7 @@ public:
        result Construct(const Tizen::Base::ByteBuffer& fontData, int style, int size);
 
        /**
-        * Initializes this instance of %Font with the specified size and style. @n
+        * Initializes this instance of %Font with a specified size and style. @n
         * If the size and style are not specified, the default system font is set.
         *
         * @since               2.1
@@ -177,8 +177,8 @@ public:
         * @exception   E_UNSUPPORTED_FORMAT    The specified font format is not supported.
         * @exception   E_INVALID_OPERATION             The current state of the instance prohibits the execution of the specified operation.
         * @remarks Only TrueType font is supported.
-        *          The value of fontNameOrPath is considered system font name if it matches one of the retrieved values using GetSystemFontListN().
-        *          If not, it is considered local file path of a font-resource file.
+        *          The value of @c fontNameOrPath is considered as the default system font name if it matches to any one of the values that is retrieved using GetSystemFontListN().
+        *          If not, it is considered as the local file path of a font-resource file.
         */
        result Construct(const Tizen::Base::String& fontNameOrPath, int style, float size);
 
@@ -370,8 +370,8 @@ public:
         */
 
        /**
-        * Gets the width and height of the font used in the specified text. @n
-        * This method retrieves the font dimension of the text.
+        * Gets the width and height of the font used in a specified text. @n
+        * The %GetTextExtent() method retrieves the font dimension of the text.
         *
         * @since               2.1
         *