Bug 395055 - [SWT] Provide float-based draw... methods in GC class
Summary: [SWT] Provide float-based draw... methods in GC class
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2.1   Edit
Hardware: All All
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 06:14 EST by Christian Schneider CLA
Modified: 2020-03-27 06:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schneider CLA 2012-11-26 06:14:24 EST
Dear SWT devs,

our object is to provide beautiful and aesthetic graphical representation of data.
In order to get rid faults introduced by rounding floating point numbers we need to have a consistent float-based API chain.

The GC methods, e.g. like

drawRoundRectangle(int x, int y, int width, int height, int arcWidth, int arcHeight)

break this chain, which is this especially annoying as the platform specific parts used in the implementation, like NSRect on OSX or Cairo on Linux, are using floating point coordinates.

We would very much appreciate if you could provide additional methods that can fall back to the integer-based implementations if needed.
Comment 1 Eclipse Genie CLA 2019-10-31 15:37:18 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eric Williams CLA 2019-11-01 10:15:30 EDT
I think this is a good candidate for an improvement in an upcoming release, maybe 4.15.
Comment 3 Christian Schneider CLA 2020-03-27 06:54:25 EDT
> I think this is a good candidate for an improvement in an upcoming release, maybe 4.15.

That would be great!
The visualization project is still alive and now on GitHub: https://github.com/Kieler/KLighD