fix the import of svg circles.

2006-02-22  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors-import.c: fix the import of svg circles.
This commit is contained in:
Simon Budig 2006-02-22 13:12:48 +00:00 committed by Simon Budig
parent 4d5abb4323
commit b3c3846ef1
2 changed files with 22 additions and 9 deletions

View file

@ -1,3 +1,7 @@
2006-02-22 Simon Budig <simon@gimp.org>
* app/vectors/gimpvectors-import.c: fix the import of svg circles.
2006-02-21 Michael Natterer <mitch@gimp.org>
* app/plug-in/Makefile.am

View file

@ -801,17 +801,26 @@ svg_handler_ellipse_start (SvgHandler *handler,
case 'r':
if (strcmp (*names, "r") == 0)
parse_svg_length (*values,
handler->width, parser->image->xresolution,
&rx);
{
parse_svg_length (*values,
handler->width, parser->image->xresolution,
&rx);
parse_svg_length (*values,
handler->height, parser->image->yresolution,
&ry);
}
else if (strcmp (*names, "rx") == 0)
parse_svg_length (*values,
handler->width, parser->image->xresolution,
&rx);
{
parse_svg_length (*values,
handler->width, parser->image->xresolution,
&rx);
}
else if (strcmp (*names, "ry") == 0)
parse_svg_length (*values,
handler->height, parser->image->yresolution,
&ry);
{
parse_svg_length (*values,
handler->height, parser->image->yresolution,
&ry);
}
break;
case 't':