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


User aw changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Wed Jun 16 15:15:11 +0000 
2010 -------
AW: Again looked into expanding the tools Polygon to 32bit point count. The
basic change is not too hard (except looking at all places working with a
polygon), but the problem is in the stream and Read/Write operators. There, a
wild mixture of ImplWrite/Write and the stream operators are used. Only
Write(...) uses a version info and could possibly be 'persuaded' to write
polygons with more than 65535 points possibly. Many usages (esp. the Metafile
actions) use the stream operator or even ImpWrite. There are even places where
usages stream the points directly (using NO method for Polygon at all). All this
comes from a endless story of changes/fixes around the tools Polygon and it's
expansions; e.g. the stream operators do not even stream the control point 
flags (!)

All in all: too dangerous to do. It's better to not touch the Metafile and it's
polygon usages, if avoidable.

But how to avoid? I thought about strategies of point reduction (clipping,
weighted point relevance), but that will lose resolution.

The only way to reduce this problem is to do it where it happens: At the
Metafile creation. In this concrete case, it's a line polygon which could simply
be splitted into many shorter ones. This is also the way to stay backward
compatible. Thus, for lines, split them in halfs. For filled polygons, clip them
hor/vertically when too complex.

Looking where this could be done best...

---------------------------------------------------------------------
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]

Reply via email to