doc common: Fix typo and missing parameter

This commit is contained in:
JunsuChoi 2021-04-27 11:21:16 +09:00 committed by Mira Grudzinska
parent 638d81fb15
commit 6241fd054d

View file

@ -514,7 +514,7 @@ public:
* Corresponds to the M command from the svg path commands. * Corresponds to the M command from the svg path commands.
* *
* @param[in] x The horizontal coordinate of the initial point of the sub-path. * @param[in] x The horizontal coordinate of the initial point of the sub-path.
* @param[in] t The vertical coordinate of the initial point of the sub-path. * @param[in] y The vertical coordinate of the initial point of the sub-path.
* @return Result::Success. * @return Result::Success.
*/ */
Result moveTo(float x, float y) noexcept; Result moveTo(float x, float y) noexcept;
@ -528,7 +528,7 @@ public:
* In case this is the first command in the path, it corresponds to the moveTo command. * In case this is the first command in the path, it corresponds to the moveTo command.
* *
* @param[in] x The horizontal coordinate of the endpoint of the line. * @param[in] x The horizontal coordinate of the endpoint of the line.
* @param[in] t The vertical coordinate of the endpoint of the line. * @param[in] y The vertical coordinate of the endpoint of the line.
* @return Result::Success. * @return Result::Success.
*/ */
Result lineTo(float x, float y) noexcept; Result lineTo(float x, float y) noexcept;
@ -547,7 +547,7 @@ public:
* @param[in] cx2 The horizontal coordinate of the 2nd control point. * @param[in] cx2 The horizontal coordinate of the 2nd control point.
* @param[in] cy2 The vertical coordinate of the 2nd control point. * @param[in] cy2 The vertical coordinate of the 2nd control point.
* @param[in] x The horizontal coordinate of the endpoint of the curve. * @param[in] x The horizontal coordinate of the endpoint of the curve.
* @param[in] t The vertical coordinate of the endpoint of the curve. * @param[in] y The vertical coordinate of the endpoint of the curve.
* @return Result::Success. * @return Result::Success.
*/ */
Result cubicTo(float cx1, float cy1, float cx2, float cy2, float x, float y) noexcept; Result cubicTo(float cx1, float cy1, float cx2, float cy2, float x, float y) noexcept;
@ -666,7 +666,7 @@ public:
/** /**
* @brief Sets the gradient fill of the stroke for all of the figures from the path.. * @brief Sets the gradient fill of the stroke for all of the figures from the path..
* @param[in] The unique pointer to the gradient fill. * @param[in] f The unique pointer to the gradient fill.
* @return Result::Success when succeeded, Result::FailedAllocation or Result::MemoryCorruption otherwise. * @return Result::Success when succeeded, Result::FailedAllocation or Result::MemoryCorruption otherwise.
*/ */
Result stroke(std::unique_ptr<Fill> f) noexcept; Result stroke(std::unique_ptr<Fill> f) noexcept;
@ -715,7 +715,7 @@ public:
* *
* The parts of the shape defined as inner are filled. * The parts of the shape defined as inner are filled.
* *
* @param[in] The unique pointer to the gradient fill. * @param[in] f The unique pointer to the gradient fill.
* @return Result::Success when succeeded, Result::MemoryCorruption otherwise. * @return Result::Success when succeeded, Result::MemoryCorruption otherwise.
*/ */
Result fill(std::unique_ptr<Fill> f) noexcept; Result fill(std::unique_ptr<Fill> f) noexcept;