Issue 21249 - Converting polygons to curve and back yields surprising results
Summary: Converting polygons to curve and back yields surprising results
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.2
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 13:22 UTC by jvromans
Modified: 2007-01-08 11:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jvromans 2003-10-15 13:22:20 UTC
When converting a polygon to curve, and subsequently convert it back to polygon,
the resultant polygon gets a whole bunch of new points. For example, a 4-cm
straight line, when converted to curve and back again, gets 7 points distributed
over the line.

This may be intended behaviour, but I think it's unnecessary and quite confusing.
Comment 1 wolframgarten 2003-10-15 13:27:41 UTC
Can be reproduced in a current internal version.
Comment 2 wolframgarten 2003-10-15 13:28:49 UTC
Reassigned to Armin.
Comment 3 Armin Le Grand 2003-10-16 15:46:34 UTC
AW: This task is double to #106675#, here is the text from there:

This is a follow-up task for #96920# where the visualization of the
interactions SID_OBJECT_CROOK_ROTATE, SID_OBJECT_CROOK_SLANT and
SID_OBJECT_SHEAR was improved. Some automatic measurement for the
subdivisions of the selection is necessary to on one side improve the
forming proccess and on the other side to not unnecessarialy expand
the geometry.
AW: Not urgent

MSC:
"According to the OpenOffice.org roadmap
(http://tools.openoffice.org/releases) this issue was retargeted to
OOo Later." 

AW: I will close #106675# and use this one.
Comment 4 Armin Le Grand 2004-05-07 13:28:51 UTC
.
Comment 5 Armin Le Grand 2005-10-27 15:00:28 UTC
AW: Solved in aw024, adding there.
Comment 6 Armin Le Grand 2005-10-27 15:02:15 UTC
AW: In aw024, the subdivide is correct and knows about curves. In former
versions, the subdivide just did a fix numver of subdivisions, relying on object
size.
Comment 7 wolframgarten 2006-08-09 13:33:29 UTC
Target changed.
Comment 8 Armin Le Grand 2006-08-09 15:17:24 UTC
AW->WG: From external, please verify. Changes:
When using the polygon toolbar:
- setting to polygon will straighten the edges
- setting to curve (2 types) will create curve control points and smooth polygon
accordingly (forcing to continuity)
When using the convert to (conext menu)
- when converting poly to curve, control points are produced but not forced to
continuity
- no more in-between points will be produced when converting straight curve
edges to polygon
Comment 9 wolframgarten 2006-10-31 13:20:43 UTC
Verified in CWS.
Comment 10 wolframgarten 2006-10-31 13:42:51 UTC
Target adapted.
Comment 11 wolframgarten 2007-01-08 11:26:09 UTC
Tested in OOo2.1. Closed.