From 01b99f1cf5688b6edc4fb9ced6402e47bdc8d34a 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 9a5ad2f9..30cb5fda 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -1847,7 +1847,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.