https://issues.apache.org/ooo/show_bug.cgi?id=121549
Bug ID: 121549
Issue Type: DEFECT
Summary: Negative angles in command U are treated as zero
Classification: Application
Product: drawing
Version: AOO400-dev
Hardware: PC
OS: Windows XP
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: code
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Created attachment 80071
--> https://issues.apache.org/ooo/attachment.cgi?id=80071&action=edit
File containing custom shapes with U commands
When a custom shape is defined by a U command with negative angle, this angle
is treated as zero. This should not happen, because there is no such constraint
in the spec for this angles.
The predefined custom shapes, which use the U command, use always angle 0° to
360°, so the error was undetected up to now.
The attached document contains some custom shapes with U command. Their angle
values increase and decrease with 90 degrees. The used range is noted in the
text of the shape. The angles have fixed values because of the problem with
handles and with orientation in bug 121491.
BTW:
I have looked into createPolygonFromUnitEllipseSegment in
basegfx\source\polygon\b2dpolygontools.cxx in the context of this bug. I do not
understand, why the angles are trimmed there at all. That forces all callers to
workaround the angle range restriction.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.