Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wynn
purr-data
Commits
6540d5a9
Commit
6540d5a9
authored
Jul 18, 2014
by
pokergaming
Browse files
fixed bbox calculation for implicit line commands (m 0 1 2 3 etc.)
parent
12384e14
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
6540d5a9
...
...
@@ -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));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment