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/unbounded-operator.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/unbounded-operator.c')
-rw-r--r-- | test/unbounded-operator.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unbounded-operator.c b/test/unbounded-operator.c index a053ca3f..853627b6 100644 --- a/test/unbounded-operator.c +++ b/test/unbounded-operator.c @@ -42,7 +42,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); @@ -72,7 +72,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, @@ -87,7 +87,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); @@ -161,7 +161,7 @@ draw (cairo_t *cr, int width, int height) for (i = 0; i < ARRAY_SIZE (operators); i++) { x = i * (WIDTH + PAD) + PAD; y = j * (HEIGHT + PAD) + PAD; - + cairo_save (cr); pattern = cairo_pattern_create_linear (x + WIDTH, y, @@ -172,7 +172,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); @@ -183,7 +183,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); } } |