diff options
author | Carl Worth <cworth@cworth.org> | 2006-06-06 15:25:49 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-06-06 15:25:49 -0700 |
commit | 80b8deb1e4f9d0b856106031c6a7a629cca7552c (patch) | |
tree | 904372df192e3894d3418fd5adaaa0f41487a5f4 /test/operator-clear.c | |
parent | 28d47d332aafa81bcbc669603357298cb0a14322 (diff) |
Remove extraneous whitespace from "blank" lines.
This patch was produced with the following (GNU) sed script:
sed -i -r -e 's/^[ \t]+$//'
run on all *.[ch] files within cairo.
Diffstat (limited to 'test/operator-clear.c')
-rw-r--r-- | test/operator-clear.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/operator-clear.c b/test/operator-clear.c index ca6d235ac..34f1a858b 100644 --- a/test/operator-clear.c +++ b/test/operator-clear.c @@ -62,7 +62,7 @@ draw_mask (cairo_t *cr, int x, int y) double height = (int)(0.9 * HEIGHT); x += 0.05 * WIDTH; y += 0.05 * HEIGHT; - + mask_surface = cairo_surface_create_similar (cairo_get_target (cr), CAIRO_CONTENT_ALPHA, width, height); @@ -86,7 +86,7 @@ draw_glyphs (cairo_t *cr, int x, int y) cairo_text_extents_t extents; cairo_set_font_size (cr, 0.8 * HEIGHT); - + cairo_text_extents (cr, "FG", &extents); cairo_move_to (cr, x + (WIDTH - extents.width) / 2 - extents.x_bearing, @@ -101,7 +101,7 @@ draw_polygon (cairo_t *cr, int x, int y) double height = (int)(0.9 * HEIGHT); x += 0.05 * WIDTH; y += 0.05 * HEIGHT; - + cairo_new_path (cr); cairo_move_to (cr, x, y); cairo_line_to (cr, x, y + height); @@ -175,7 +175,7 @@ draw (cairo_t *cr, int width, int height) for (i = 0; i < ARRAY_SIZE (pattern_funcs); i++) { x = i * (WIDTH + PAD) + PAD; y = j * (HEIGHT + PAD) + PAD; - + cairo_save (cr); pattern = cairo_pattern_create_linear (x + WIDTH, y, @@ -186,7 +186,7 @@ draw (cairo_t *cr, int width, int height) 0.0, 0.0, 1.0, 0.0); /* Transparent blue */ cairo_set_source (cr, pattern); cairo_pattern_destroy (pattern); - + cairo_rectangle (cr, x, y, WIDTH, HEIGHT); cairo_fill_preserve (cr); cairo_clip (cr); @@ -196,7 +196,7 @@ draw (cairo_t *cr, int width, int height) draw_funcs[j] (cr, x, y); if (cairo_status (cr)) cairo_test_log ("%d %d HERE!\n", i, j); - + cairo_restore (cr); } } |