From f202137acd9207a504c3a1063f53183f0d73f3b3 Mon Sep 17 00:00:00 2001 From: Mira Grudzinska Date: Mon, 24 Jun 2024 11:30:22 +0200 Subject: [PATCH] docs: add missing args description --- inc/thorvg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index a79a50b5..5a8ca4d8 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -1798,7 +1798,9 @@ public: * @brief Sets the drawing target for the rasterization. * * @param[in] instance WGPUInstance, context for all other wgpu objects. - * @param[in] surace WGPUSurface, handle to a presentable surface. + * @param[in] surface WGPUSurface, handle to a presentable surface. + * @param[in] w The width of the surface. + * @param[in] h The height of the surface. * * @retval Result::InsufficientCondition if the canvas is performing rendering. Please ensure the canvas is synced. * @retval Result::NonSupport In case the wg engine is not supported.