mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-30 22:38:12 +02:00
[spans] Correct offsets for trapezoids
Pass on the destination offset from composite_trapezoids() to composite_polygon().
This commit is contained in:
parent
9389cb78a8
commit
4b221bd49a
1 changed files with 2 additions and 2 deletions
|
|
@ -102,8 +102,8 @@ _cairo_surface_composite_trapezoids_as_polygon (cairo_surface_t *surface,
|
|||
|
||||
rects.src.x = src_x;
|
||||
rects.src.y = src_y;
|
||||
rects.dst.x = 0;
|
||||
rects.dst.y = 0;
|
||||
rects.dst.x = dst_x;
|
||||
rects.dst.y = dst_y;
|
||||
rects.mask.x = dst_x;
|
||||
rects.mask.y = dst_y;
|
||||
rects.width = width;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue