Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 157195

Summary: Line border incorrectly drawn when scaled and border width>1
Product: [Tools] GEF Reporter: Tomáš Studva <tstudva>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: nyssen
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Tomáš Studva CLA 2006-09-13 12:39:17 EDT
Reproducing:
Using 
  Figure result = new Figure();
  result.setBorder(new LineBorder(ColorConstants.lightBlue,
                                20 ));
that figure in ScaledFeedbackLayer, I get incorrectly drawn border. When it is realy zoomed, the problem can be seen. Also border must be non 1, actually bigger width, worser position of border.
Comment 1 Tomáš Studva CLA 2006-09-13 12:43:10 EDT
I think problem is not with LineBorder, or border class, same problem I've encountered, when using RectangleFigure with big line width, and no border. Figure was incorrecly drawn. 
Comment 2 Alexander Nyßen CLA 2011-10-13 17:44:27 EDT
From the given information I cannot reproduce the problem. Resolving as WORKSFORME though. Please re-open an provide additional information (e.g. a code snippet and a screenshot) that depicts the problem and information on how to reproduce it.