mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-03 14:50:30 +01:00
clip-push-group: Adjust test slightly to ensure mask-based clip is not anchored at the origin
This should help us test if there's an offset problem in copying the mask-based clip during cairo_push_group.
This commit is contained in:
parent
f880f5e57b
commit
f894ebf980
2 changed files with 2 additions and 1 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 199 B |
|
|
@ -34,6 +34,7 @@
|
|||
#include "cairo-test.h"
|
||||
|
||||
#define SIZE 10
|
||||
#define PAD 2
|
||||
|
||||
static cairo_test_draw_function_t draw;
|
||||
|
||||
|
|
@ -54,7 +55,7 @@ draw (cairo_t *cr, int width, int height)
|
|||
|
||||
cairo_arc (cr,
|
||||
SIZE / 2, SIZE / 2,
|
||||
SIZE / 2,
|
||||
SIZE / 2 - PAD,
|
||||
0, 2 * M_PI);
|
||||
cairo_clip (cr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue