To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=111715





------- Additional comments from a...@openoffice.org Tue May 25 16:52:38 +0000 
2010 -------
Part (a) starts at SdrCircObj::ImpCalcXPolyCirc where
                const double fStart(((36000 - nEnd) % 36000) * F_PI18000);
is used, but numerically better would be
                const double fStart((((36000 - nEnd) % 36000) / 18000.0) * 
F_PI);
since F_PI18000 is defined in basegfx/ftools.hxx as
                #define F_PI18000       (M_PI/18000.0)

which forces the calculation to multiply with an 18000th of PI. This leads to a
slight numerical offset and to choosing the wrong start sector in
basegfx::tools::createPolygonFromEllipseSegment. More numerical corrections
could be done there. It will be necessary to grep for F_PI18000 usages and
numerically correct them.
When changing the lines in SdrCircObj::ImpCalcXPolyCirc as shown above, all
three examples work as expected.

Nonetheless, (a) and (b) should be fixed independently...


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to