[PATCH weston 04/10] ivi-layout: Correct coordinate adjective grammar, misspellings

Yong Bakos junk at humanoriented.com
Thu Apr 28 16:59:08 UTC 2016


From: Yong Bakos <ybakos at humanoriented.com>

Hyphenate 'multi screen' coordinates, and correct misspellings and
grammar within changed lines.

See https://lists.freedesktop.org/archives/wayland-devel/2016-April/028249.html.

Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
---
 ivi-shell/ivi-layout.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 4142694..1601787 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -456,24 +456,24 @@ calc_inverse_matrix_transform(const struct weston_matrix *matrix,
 
 /**
  * This computes the whole transformation matrix:m from surface-local
- * coordinates to multi screens coordinate, which is global coordinates.
+ * coordinates to multi-screen coordinates, which are global coordinates.
  * It is assumed that weston_view::geometry.{x,y} are zero.
  *
  * Additionally, this computes the mask on surface-local coordinates as a
  * ivi_rectangle. This can be set to weston_view_set_mask.
  *
  * The mask is computed by following steps
- * - destination rectangle of layer is tansformed to multi screen coordinate,
+ * - destination rectangle of layer is transformed to multi-screen coordinates,
  *   global coordinates. This is done by adding weston_output.{x,y} in simple
  *   because there is no scaled and rotated transformation.
- * - destination rectangle of layer in multi screens coordinate needs to be
+ * - destination rectangle of layer in multi-screen coordinates needs to be
  *   intersected inside of a screen the layer is assigned to. This is because
  *   overlapped region of weston surface in another screen shall not be
  *   displayed according to ivi use case.
  * - destination rectangle of layer
- *   - in multi screen coordinates,
+ *   - in multi-screen coordinates,
  *   - and intersected inside of an assigned screen,
- *   is inversed to surface-local cooodinates by inversed matrix:m.
+ *   is inversed to surface-local coordinates by inversed matrix:m.
  * - the area is intersected by intersected area between weston_surface and
  *   source rectangle of ivi_surface.
  */
@@ -525,9 +525,9 @@ calc_surface_to_global_matrix_and_mask_to_weston_surface(
 	 * coordinates to global coordinates, which is computed by
 	 * two steps,
 	 * - surface-local coordinates to layer-local coordinates
-	 * - layer-local coordinates to a single screen-local coordinates
-	 * - a single screen-local coordinates to multi screen coordinates,
-         *   which is global coordinates.
+	 * - layer-local coordinates to single screen-local coordinates
+	 * - single screen-local coordinates to multi-screen coordinates,
+	 *   which are global coordinates.
 	 */
 	calc_transformation_matrix(&surface_source_rect,
 				   &surface_dest_rect,
-- 
2.7.2



More information about the wayland-devel mailing list