mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 07:38:22 +02:00
[perf] Correct typo in long-lines.c
Computed may_y using height not width, fortunately the test cases have always been square.
This commit is contained in:
parent
229887e980
commit
944206e55b
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ do_long_lines (cairo_t *cr, int width, int height, long_lines_crop_t crop)
|
|||
min_x = x = - outer_width / 2.0;
|
||||
min_y = y = - outer_height / 2.0;
|
||||
max_x = outer_width / 2.0;
|
||||
max_y = outer_width / 2.0;
|
||||
max_y = outer_height / 2.0;
|
||||
dx = outer_width / NUM_LINES;
|
||||
dy = outer_height / NUM_LINES;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue