From fcb0258b3c1486a0ff09803524c589643f8c8e0f Mon Sep 17 00:00:00 2001 From: Ji2z Date: Fri, 22 Oct 2021 12:27:31 +0900 Subject: [PATCH] common: Fix typo Fix typo backeneds to backends --- docs/html/thorvg_8h_source.html | 2 +- inc/thorvg.h | 4 ++-- src/bindings/capi/thorvg_capi.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/html/thorvg_8h_source.html b/docs/html/thorvg_8h_source.html index ef2e233a..3dfa8d72 100644 --- a/docs/html/thorvg_8h_source.html +++ b/docs/html/thorvg_8h_source.html @@ -528,7 +528,7 @@ $(function() {
@ Butt
The stroke ends exactly at each of the two end-points of a sub-path. For zero length sub-paths no str...
@ MoveTo
Sets a new initial point of the sub-path and a new current point. This command expects 1 point: the s...
float offset
Definition: thorvg.h:367
-
CanvasEngine
Enumeration specifying the engine type used for the graphics backend. For multiple backeneds bitwise ...
Definition: thorvg.h:158
+
CanvasEngine
Enumeration specifying the engine type used for the graphics backend. For multiple backends bitwise ...
Definition: thorvg.h:158
A class for the rendering graphical elements with a software raster engine.
Definition: thorvg.h:1203
@ Shareable
Memory Pool is shared among the SwCanvases.
Definition: thorvg.h:1224
CompositeMethod
Enumeration indicating the method used in the composition of two objects - the target and the source.
Definition: thorvg.h:147
diff --git a/inc/thorvg.h b/inc/thorvg.h index 69bd051b..f0b96669 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -1356,7 +1356,7 @@ public: * You can indicate the number of threads, the count of which is designated @p threads. * In the initialization step, TVG will generate/spawn the threads as set by @p threads count. * - * @param[in] engine The engine types to initialize. This is relative to the Canvas types, in which it will be used. For multiple backeneds bitwise operation is allowed. + * @param[in] engine The engine types to initialize. This is relative to the Canvas types, in which it will be used. For multiple backends bitwise operation is allowed. * @param[in] threads The number of additional threads. Zero indicates only the main thread is to be used. * * @retval Result::Success When succeed. @@ -1373,7 +1373,7 @@ public: /** * @brief Terminates TVG engines. * - * @param[in] engine The engine types to terminate. This is relative to the Canvas types, in which it will be used. For multiple backeneds bitwise operation is allowed + * @param[in] engine The engine types to terminate. This is relative to the Canvas types, in which it will be used. For multiple backends bitwise operation is allowed * * @retval Result::Success When succeed. * @retval Result::InsufficientCondition In case there is nothing to be terminated. diff --git a/src/bindings/capi/thorvg_capi.h b/src/bindings/capi/thorvg_capi.h index a7b8e7bf..3e65a12d 100644 --- a/src/bindings/capi/thorvg_capi.h +++ b/src/bindings/capi/thorvg_capi.h @@ -76,7 +76,7 @@ typedef struct _Tvg_Saver Tvg_Saver; /** -* \brief Enumeration specifying the engine type used for the graphics backend. For multiple backeneds bitwise operation is allowed. +* \brief Enumeration specifying the engine type used for the graphics backend. For multiple backends bitwise operation is allowed. * * \ingroup ThorVGCapi_Initializer */ @@ -239,7 +239,7 @@ typedef struct * tvg_engine_init(TVG_ENGINE_SW, 0); //Initialize software renderer and use the main thread only * \endcode * -* \param[in] engine_method The engine types to initialize. This is relative to the Canvas types, in which it will be used. For multiple backeneds bitwise operation is allowed. +* \param[in] engine_method The engine types to initialize. This is relative to the Canvas types, in which it will be used. For multiple backends bitwise operation is allowed. * - TVG_ENGINE_SW: CPU rasterizer * - TVG_ENGINE_GL: OpenGL rasterizer (not supported yet) * \param[in] threads The number of additional threads used to perform rendering. Zero indicates only the main thread is to be used. @@ -269,7 +269,7 @@ TVG_EXPORT Tvg_Result tvg_engine_init(Tvg_Engine engine_method, unsigned threads * tvg_engine_term(TVG_ENGINE_SW); * \endcode * -* \param engine_method The engine types to terminate. This is relative to the Canvas types, in which it will be used. For multiple backeneds bitwise operation is allowed +* \param engine_method The engine types to terminate. This is relative to the Canvas types, in which it will be used. For multiple backends bitwise operation is allowed * - TVG_ENGINE_SW: CPU rasterizer * - TVG_ENGINE_GL: OpenGL rasterizer (not supported yet) *