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

Bug 170425

Summary: Allow fractional linewidths in Shape
Product: [Tools] GEF Reporter: Al Major <almajor>
Component: GEF-Legacy Draw2dAssignee: Marc Gobeil <mgobeil>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ahunter.eclipse
Version: unspecifiedFlags: ahunter.eclipse: galileo+
Target Milestone: 3.5.0 (Galileo) M4   
Hardware: All   
OS: All   
Whiteboard:

Description Al Major CLA 2007-01-15 01:02:50 EST
SWT has been enhanced to allow fractional linewidths. Draw2D "Graphics" should soon be enhanced to introduce this feature into GEF (bug 168311).

it would be helpful if the shape hierarchy could be modified to permit fractional linewidths. the easy part of this is simply changing the line drawing code. the difficult issue are the modifications required to calculate the bounding rectangles (for outline drawing and hit testing) which have integer dimensions.
Comment 1 Al Major CLA 2007-01-23 08:21:26 EST
i've submitted a patch that does this in a very simple fashion. it's provided along with the patch to the Graphics hiearchy in bug 168311.
Comment 2 Marc Gobeil CLA 2008-10-01 15:00:21 EDT
covered by patch submitted for Bug 168311
Comment 3 Anthony Hunter CLA 2008-11-13 16:02:19 EST
(In reply to comment #2)
> covered by patch submitted for Bug 168311
>