To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=115096 Issue #|115096 Summary|filter: apple(pict): a proposition to draw thick lines |/frames Component|framework Version|1.0.0 Platform|Macintosh URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|mba Reported by|osnola
------- Additional comments from [email protected] Sun Oct 17 09:11:40 +0000 2010 ------- Actually, ipict.cxx draws the line and the shapes frame without using the pen size information (ie. it uses always a 1 pixel width to draw the curve ). A proposition to draw the line and the shape with thickness. Notes: - the shapes are now transformed in B2DPolygon ( which is in module basegfx ), so if filter CAN NOT DEPENT on basegfx, this proposition must be DISCARDED, - this patch CAN ONLY BE APPLIED AFTER applying http://www.openoffice.org/nonav/issues/showattachment.cgi/72019/ipict3.cxx.patch ( from http://www.openoffice.org/issues/show_bug.cgi?id=115029 ) - I have replaced circle/arc by cubic splines in order to represent them by a BD2Polygon ( using the same method than in http://whizkidtech.redprince.net/bezier/circle/ ), so their representations are no longer exact, - as the methods to draw the shape in OpenOffice are not the same than the Quickdraw routines, I try to do some compromises between drawing the <<exact>> Apple Pict shapes using a complex representations and drawing a approximated simple shapes, - in general, the obtained results seem better (ie. more faithful) than previously ( using my database of pictures), but I found a few Apple Pict where the opposite can be said ( mainly because some clipping regions are too big), - I add a note to explain the region format, but I do not add code because I do not know how to draw these regions. - I note a small bug when drawing some spline curves with small curvature radius, some cracks happen in the drawing ( but maybe it is limited to my version of OpenOffice ) and another one when drawing some basic B2DPolygon (ie. a little square in each corner is not drawn correctly ), - in the files' attachment, the original pict files will have extension .pict, their quickdraw representations will have extension .pict.tiff and the extension .pict.ascii correspond to a homemade parsing... --------------------------------------------------------------------- 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
