clients: fix spelling

Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
Tiago Vignatti 2012-02-09 19:06:56 +02:00 committed by Pekka Paalanen
parent c5528d8dc8
commit 0a26641626
2 changed files with 9 additions and 9 deletions

View File

@ -169,7 +169,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_mask(cr, pattern);
}
/* Top strecth */
/* Top stretch */
cairo_matrix_init_translate(&matrix, 64, 0);
cairo_matrix_scale(&matrix, 64.0 / (width - 2 * margin), 1);
cairo_matrix_translate(&matrix, -x - width / 2, -y);
@ -184,7 +184,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_clip (cr);
cairo_mask(cr, pattern);
/* Bottom strecth */
/* Bottom stretch */
cairo_matrix_translate(&matrix, 0, -height + 128);
cairo_pattern_set_matrix(pattern, &matrix);
@ -194,7 +194,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_clip (cr);
cairo_mask(cr, pattern);
/* Left strecth */
/* Left stretch */
cairo_matrix_init_translate(&matrix, 0, 64);
cairo_matrix_scale(&matrix, 1, 64.0 / (height - 2 * margin));
cairo_matrix_translate(&matrix, -x, -y - height / 2);
@ -204,7 +204,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_clip (cr);
cairo_mask(cr, pattern);
/* Right strecth */
/* Right stretch */
cairo_matrix_translate(&matrix, -width + 128, 0);
cairo_pattern_set_matrix(pattern, &matrix);
cairo_rectangle(cr, x + width - margin, y + margin,
@ -251,7 +251,7 @@ tile_source(cairo_t *cr, cairo_surface_t *surface,
cairo_fill(cr);
}
/* Top strecth */
/* Top stretch */
cairo_matrix_init_translate(&matrix, 64, 0);
cairo_matrix_scale(&matrix, 64.0 / (width - 2 * margin), 1);
cairo_matrix_translate(&matrix, -x - width / 2, -y);
@ -259,14 +259,14 @@ tile_source(cairo_t *cr, cairo_surface_t *surface,
cairo_rectangle(cr, x + margin, y, width - 2 * margin, top_margin);
cairo_fill(cr);
/* Bottom strecth */
/* Bottom stretch */
cairo_matrix_translate(&matrix, 0, -height + 128);
cairo_pattern_set_matrix(pattern, &matrix);
cairo_rectangle(cr, x + margin, y + height - margin,
width - 2 * margin, margin);
cairo_fill(cr);
/* Left strecth */
/* Left stretch */
cairo_matrix_init_translate(&matrix, 0, 64);
cairo_matrix_scale(&matrix, 1, 64.0 / (height - margin - top_margin));
cairo_matrix_translate(&matrix, -x, -y - height / 2);
@ -275,7 +275,7 @@ tile_source(cairo_t *cr, cairo_surface_t *surface,
margin, height - margin - top_margin);
cairo_fill(cr);
/* Right strecth */
/* Right stretch */
cairo_matrix_translate(&matrix, -width + 128, 0);
cairo_pattern_set_matrix(pattern, &matrix);
cairo_rectangle(cr, x + width - margin, y + top_margin,

View File

@ -332,7 +332,7 @@ gears_create(struct display *display)
die("failed to create context\n");
if (!eglMakeCurrent(gears->display, NULL, NULL, gears->context))
die("faile to make context current\n");
die("failed to make context current\n");
for (i = 0; i < 3; i++) {
gears->gear_list[i] = glGenLists(1);