diff --git a/inc/thorvg.h b/inc/thorvg.h index 9e8b1855..702592dc 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -1258,7 +1258,7 @@ public: * @param[in] policy The method specifying the Memory Pool behavior. The default value is @c MempoolPolicy::Default. * * @retval Result::Success When succeed. - * @retval Result::InsufficientCondition If the canvas has no paints. + * @retval Result::InsufficientCondition If the canvas contains some paints already. * @retval Result::NonSupport In case the software engine is not supported. * * @note When @c policy is set as @c MempoolPolicy::Individual, the current instance of canvas uses its own individual diff --git a/src/bindings/capi/thorvg_capi.h b/src/bindings/capi/thorvg_capi.h index 41b49616..d42e22a8 100644 --- a/src/bindings/capi/thorvg_capi.h +++ b/src/bindings/capi/thorvg_capi.h @@ -372,7 +372,7 @@ TVG_EXPORT Tvg_Canvas* tvg_swcanvas_create(); * \return Tvg_Result enumeration. * \retval TVG_RESULT_SUCCESS Succeed. * \retval TVG_RESULT_MEMORY_CORRUPTION Casting in the internal function implementation failed. -* \retval TVG_RESULT_INVALID_ARGUMENTS An invalid buffer pointer passed or one of the @p stride, @p w or @p h being zero. +* \retval TVG_RESULT_INVALID_ARGUMENTS An invalid canvas or buffer pointer passed or one of the @p stride, @p w or @p h being zero. * \retval TVG_RESULT_NOT_SUPPORTED The software engine is not supported. * * \warning Do not access @p buffer during tvg_canvas_draw() - tvg_canvas_sync(). It should not be accessed while TVG is writing on it.