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

Bug 410517

Summary: ThemeBuilder lines are not crisp
Product: [ECD] Orion Reporter: Silenio Quarti <Silenio_Quarti>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: antonm
Version: 3.0   
Target Milestone: 4.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
work in progress none

Description Silenio Quarti CLA 2013-06-11 13:58:10 EDT
The lines in the mock up UI (editor and UI) of the theme settings page are not crisp. They are wider than 1 pixel.  This happens because the line is not drawn in the middle of the pixel. I am not sure this was intentional or not.

In order to get crisp lines, we need to add 0.5 to all the coordinates. For example, when drawing the rect (x=10,y=10,w=100,h=100), we should draw (x=10.5,y=10.5,w=100,h=100) instead.
Comment 1 Silenio Quarti CLA 2013-06-11 14:36:39 EDT
Created attachment 232256 [details]
work in progress

Work in progress. Most lines are a crisp with this patch, but there are still some fuzzy lines.