render_svg.c patch



Hello,
I've recently started using xml-docbook/svg for documenting my 4th year
project... I managed to find some bugs in render_svg.c code. The bug
occurs during rendering of arcs. It seems that the case of angles lying
across 0degree boundary was not handled and the large-arc-flag was not
being calculated properly... I've never sent a patch before...  here it
is. For some reason my svgs are still not getting rendered properly...
but at least the large-arc-flag is fixed....
Mike 
-- 
/*******************************************************************\
|      Mike Sowka                   o      _     _         _        |
| An Aspiring Engi"Nerd"    _o     /\_   _ \\o  (_)\__/o  (_)       |
|  Carleton University    _< \_   _>(_) (_)/<_    \_| \   _|/' \/   |
| msowka doe carleton ca (_)>(_) (_)        (_)   (_)    (_)'  _\o_ |
| (home mike sowka com)                                             |
\*******************************************************************/
-- 
/*******************************************************************\
|      Mike Sowka                   o      _     _         _        |
| An Aspiring Engi"Nerd"    _o     /\_   _ \\o  (_)\__/o  (_)       |
|  Carleton University    _< \_   _>(_) (_)/<_    \_| \   _|/' \/   |
| msowka doe carleton ca (_)>(_) (_)        (_)   (_)    (_)'  _\o_ |
| (home mike sowka com)                                             |
\*******************************************************************/

Attachment: svg-patch.diff
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]