]> O.S.I.I.S - jp/vkvg.git/commitdiff
Docs fixes (#112)
authorMarco Rubin <20150305+Rubo3@users.noreply.github.com>
Sat, 12 Mar 2022 15:09:41 +0000 (16:09 +0100)
committerGitHub <noreply@github.com>
Sat, 12 Mar 2022 15:09:41 +0000 (16:09 +0100)
* Docs fixes

* Update vkvg.h

include/vkvg.h

index 80e6c1d82bf4d75466adf9a72fda111f18638608..dfc1497a4c49c955885dd909e435d67a72eeb12c 100644 (file)
@@ -277,7 +277,7 @@ typedef struct _glyph_info_t {
  * @brief Opaque pointer on a vkvg text run.
  *
  * A VkvgText is an intermediate representation of a text to be drawn.
- * It contains the measurments computed for character poisitioning.
+ * It contains the measurements computed for character positioning.
  *
  * This object is used to speed up the rendering of the same text with the same font multiple times
  * by storing typographic computations.
@@ -608,10 +608,10 @@ VkvgDevice vkvg_device_create_from_vk (VkInstance inst, VkPhysicalDevice phy, Vk
 vkvg_public
 VkvgDevice vkvg_device_create_from_vk_multisample (VkInstance inst, VkPhysicalDevice phy, VkDevice vkdev, uint32_t qFamIdx, uint32_t qIndex, VkSampleCountFlags samples, bool deferredResolve);
 /**
- * @brief Decrement the reference count of the device by 1. Release all it's ressources if count reach 0.
+ * @brief Decrement the reference count of the device by 1. Release all its resources if count reaches 0.
  *
- * If device is reference by several active surfaces, calling destroy will only decrement the reference count by 1.
- * When the reference count reach 0, the vkvg device is effectively destroyed, the device pointer is freed, and
+ * If device is referenced by several active surfaces, calling destroy will only decrement the reference count by 1.
+ * When the reference count reaches 0, the vkvg device is effectively destroyed, the device pointer is freed, and
  * vulkan objects are released.
  * Vkvg Devices has to stay active as long as surfaces created by it are used.
  * @param dev The vkvg device to destroy.
@@ -1752,7 +1752,7 @@ VkvgText vkvg_text_run_create (VkvgContext ctx, const char* text);
 vkvg_public
 VkvgText vkvg_text_run_create_with_length (VkvgContext ctx, const char* text, uint32_t length);
 /**
- * @brief Release ressources holded by the text run.
+ * @brief Release resources holded by the text run.
  *
  * @param VkvgtextRun A valid VkvgText pointer.
  */
@@ -1938,7 +1938,7 @@ vkvg_status_t vkvg_pattern_get_color_stop_rgba (VkvgPattern pat, uint32_t index,
 /**
  * @brief dispose pattern.
  * 
- * When you have finished using a pattern, free its ressources by calling this method.
+ * When you have finished using a pattern, free its resources by calling this method.
  *
  * @param pat the pattern to destroy.
  */