From 41ffcf2bdf2350e28172e5179b48c755adb1f5e6 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 12 Jun 2024 12:43:39 +0900 Subject: [PATCH] doc: updated the WgCanvas api doc --- inc/thorvg.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index 4e070623..955cf6b5 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -1838,7 +1838,10 @@ public: ~WgCanvas(); /** - * @brief Sets the target window for the rasterization. + * @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. * * @warning Please do not use it, this API is not official one. It could be modified in the next version. *