mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 08:48:00 +02:00
Fix initialization of radial patterns
This commit is contained in:
parent
12cc32b674
commit
ca5760a289
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ _cairo_pattern_init_radial (cairo_radial_pattern_t *pattern,
|
|||
|
||||
pattern->c1.x = _cairo_fixed_from_double (cx0);
|
||||
pattern->c1.y = _cairo_fixed_from_double (cy0);
|
||||
pattern->radius2 = _cairo_fixed_from_double (fabs (radius0));
|
||||
pattern->radius1 = _cairo_fixed_from_double (fabs (radius0));
|
||||
pattern->c2.x = _cairo_fixed_from_double (cx1);
|
||||
pattern->c2.y = _cairo_fixed_from_double (cy1);
|
||||
pattern->radius2 = _cairo_fixed_from_double (fabs (radius1));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue