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





------- Additional comments from [EMAIL PROTECTED] Mon Sep  3 16:45:43 +0000 
2007 -------
The problem is caused by rounding errors: In
ViewContactOfSdrObj::ShouldPaintObject() the redraw area (the area that has to
be repainted) is compared to the paint rectangle of the line.  If both have a
non-empty intersection then the line is painted.  
The redraw area is created by invalidating the paint rectangle of the line, and
therefore, both rectangles should be identical.  However, the redraw area is
converted from logical to pixel coordinates and back again.  With a zoom factor
lower than 100% this leads to a loss of precision and results in general in
redraw areas with slightly modified coordinates. In the case of horizontal and
vertical lines with a zero height or width this leads to empty intersections
between paint rectangles before and after the temporary transition to the pixel
coordinate system.

Possible fix is to enlarge the redraw area by the logical equivalent of one 
pixel.

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