Commit 6540d5a9 authored by pokergaming's avatar pokergaming
Browse files

fixed bbox calculation for implicit line commands (m 0 1 2 3 etc.)

parent 12384e14
......@@ -2807,8 +2807,8 @@ static void svg_getpathrect(t_svg *x, t_glist *glist,
yy = *ia;
break;
case 'M':
mx = *(ia+(x->x_nargs_per_cmd[i] - 2));
my = *(ia+(x->x_nargs_per_cmd[i] - 1));
mx = *(ia);
my = *(ia+1);
default:
xx = *(ia+(x->x_nargs_per_cmd[i] - 2));
yy = *(ia+(x->x_nargs_per_cmd[i] - 1));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment