summaryrefslogtreecommitdiff
path: root/ivi-shell
diff options
context:
space:
mode:
authorYong Bakos <ybakos@humanoriented.com>2016-04-28 11:59:08 -0500
committerBryce Harrington <bryce@osg.samsung.com>2016-04-29 16:33:08 -0700
commite069871da39589f04a3aea37f63ac823204020bc (patch)
treeab702403f24585129ec3d3f6e6693a5f5f20b59d /ivi-shell
parent3b2276101d31304a5509642b2d2d01f874c8214f (diff)
ivi-layout: Correct coordinate adjective grammar, misspellings
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@humanoriented.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'ivi-shell')
-rw-r--r--ivi-shell/ivi-layout.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index 41426943..16017875 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,