From 4fd1832990ae002eaecc4efc4e425fca03e225cb Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Tue, 27 Apr 2021 11:21:16 +0900 Subject: [PATCH] doc common: Fix typo and missing parameter --- inc/thorvg.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index 810266c..557dd3b 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -514,7 +514,7 @@ public: * 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] 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. */ 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. * * @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. */ 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] cy2 The vertical coordinate of the 2nd control point. * @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. */ 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.. - * @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. */ Result stroke(std::unique_ptr f) noexcept; @@ -715,7 +715,7 @@ public: * * 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. */ Result fill(std::unique_ptr f) noexcept; -- 2.7.4