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


User aw changed the following:

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




------- Additional comments from [EMAIL PROTECTED] Wed Apr 11 10:48:03 +0000 
2007 -------
AW: Took a look. Problem is that the AutoShape creates a group of two polygons
when converted to path object. This can be seen when converting the cloud to
curve (e.g.). The result is a group of two objects, one filled and one the
outline. This explains what happens when the cross fade is done. Under that
cirumstances, the cross fade is correct.
What has changed is that the conversion of the cloud from an autoshape to a
polygon object produces a object group now. This is done in svx in
EnhancedCustomShape2d::CreateSubPath(...). There, bForceCreateTwoObjects
controls if two objects need to be created for fill and outline. This is the
case when the autoshape is filled and has a non-closed outline.
For the cloud the polygon is not closed -> two objects are created.
Why did it work different in 2.1? Investigation shows that in 2.1 the
CreateSubPath method used the old XPolygon and XPolyPolygon classes, but
converted to B2DPolyPolygon for the closed thest. That conversion  includes the
old-polygon-is-closed-convention-test for first and last points are equal. This
conversion closed the created path, so bForceCreateTwoObjects worked correct.
So the assumtion is that the created polygon follows the old convention nad
needs to be checked after creation (first and last point equal -> closed).
Adding this for test...

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