From d6504ed35d57ba687742b455f1be906118077112 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 28 Mar 2024 13:04:51 +0900 Subject: [PATCH] doc: List the parameters in their respective order. --- inc/thorvg.h | 2 +- src/bindings/capi/thorvg_capi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index a5a09609..3f3d75c8 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -1229,8 +1229,8 @@ public: * @param[in] data A pointer to a memory location where the content of the picture file is stored. * @param[in] size The size in bytes of the memory occupied by the @p data. * @param[in] mimeType Mimetype or extension of data such as "jpg", "jpeg", "lottie", "svg", "svg+xml", "png", etc. In case an empty string or an unknown type is provided, the loaders will be tried one by one. - * @param[in] copy If @c true the data are copied into the engine local buffer, otherwise they are not. * @param[in] rpath A resource directory path, if the @p data needs to access any external resources. + * @param[in] copy If @c true the data are copied into the engine local buffer, otherwise they are not. * * @retval Result::Success When succeed. * @retval Result::InvalidArguments In case no data are provided or the @p size is zero or less. diff --git a/src/bindings/capi/thorvg_capi.h b/src/bindings/capi/thorvg_capi.h index cbabfe42..704cbcf4 100644 --- a/src/bindings/capi/thorvg_capi.h +++ b/src/bindings/capi/thorvg_capi.h @@ -2006,8 +2006,8 @@ TVG_API Tvg_Result tvg_picture_load_raw(Tvg_Paint* paint, uint32_t *data, uint32 * \param[in] data A pointer to a memory location where the content of the picture file is stored. * \param[in] size The size in bytes of the memory occupied by the @p data. * \param[in] mimetype Mimetype or extension of data such as "jpg", "jpeg", "svg", "svg+xml", "lottie", "png", etc. In case an empty string or an unknown type is provided, the loaders will be tried one by one. -* \param[in] copy If @c true the data are copied into the engine local buffer, otherwise they are not. * \param[in] rpath A resource directory path, if the @p data needs to access any external resources. +* \param[in] copy If @c true the data are copied into the engine local buffer, otherwise they are not. * * \return Tvg_Result enumeration. * \retval TVG_RESULT_SUCCESS Succeed.