Bug 312661

Summary: Shapes slightly dislocated when zoomed or printed
Product: [Tools] GEF Reporter: Thomas Thuem <thomas.thuem>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Printer and screen output none

Description Thomas Thuem CLA 2010-05-12 12:05:31 EDT
Build Identifier: 3.6.0.v20100429-2050-45-7w3121153903161

We use Ellipses and Rectangles that are connected with PolylineConnections. All figures are drawn a half pixel too high and a half pixel to wide left relative to the connection lines. As a result (a) the connections below end a half pixel before the figures, i.e., there is a gap and (b) our ellipse miss some parts to the top and to the left.

Unfortunately, I cannot adjust the positions for printing, because it is only a half pixel and the ellipse is drawn in its box (increasing the box does not help).

The GEF examples do not allow printing nor zooming so that I was not able to easily verify that this problem is a general Draw2D issue, but I'm pretty sure.

Reproducible: Always
Comment 1 Thomas Thuem CLA 2010-05-12 12:11:20 EDT
Created attachment 168189 [details]
Printer and screen output

There is a png-export which looks exactly like in the editor with 100% zoom level. And there are two exports using Adobe's pdf printer and Microsoft's xps printer.