To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=115096
------- Additional comments from osn...@openoffice.org Mon Nov 29 11:08:13 +0000 2010 ------- So a new version which uses the functions of b2dpolygontools which indeed simplifies a lot the code. The result between this version and the previous one seem quite similar except that in some case where b2dpolygontools seems to generate odd splines. Therefore I will also attach pict.bugs which contains two examples which seem to err a lot with the following extensions: - .pict: the original picture, - .pict.ascii: the picture parsing, - .pict.tiff: the quickdraw result, - .pict.old.png: my previous result when I generated by hand the splines, - .pict.new.png: the new result obtained with b2dpolygontools functions with a red grid to show coordinates. I dig a little to understand what happens: For Image280, the small arc around O does not look like a arc ; for the three arcs around O, the program constructs a B2DPolygon by calling << tools::createPolygonFromEllipseSegment(Pt, dim[0], dim[1], angl[0], angl[1]);>> with Arc: Pt=21x210, dim=62x62, angl=5.60251x1.74846e-07 // Ok, the intermediate arc Arc: Pt=20x210, dim=89x89, angl=5.27089x5.61996 // Ok, the biggest arc Arc: Pt=21x208, dim=56x56, angl=5.67232x0.0174534 // the small arc which seems bugged For Image7239, there must be two ellipses (*) around B and J ; in these case, the program constructs the B2DPolygon by calling <<tools::createPolygonFromRect(Rect, 1., 1.); >> with RoundRect: Rect=125x33<->143x56 // ellipse around B RoundRect: Rect=44x92<->61x113 // ellipse around J so I guess that the problem was in b2dpolygontools, but I did not have time to dig further.... (*) in fact, the picture asks to clear two round rectangles with maximum round corners, which is a complicated way to define an ellipse.... --------------------------------------------------------------------- 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...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org