Skip to content

Plans for using floats (doubles) in GC methods? #3405

Description

@FluBBaOfWard

Is your feature request related to a problem? Please describe.
Now that SWT has better support for HiDPI and scaling, the drawing methods in GC seem a bit limited, running with 200% scaling means we can only address every other pixel when drawing (unless you change the scaling and input values yourself before).

Describe the solution you'd like
If possible change the input arguments to floats/doubles, if that is not possible add new methods which takes floats/doubles (and use these arguments to the backend).

Describe alternatives you've considered
I tried to change the scaling manually and scale the input values, this works in most cases but the font handling breaks.

Additional context
On MacOS the backend is using doubles already but I have not looked into other platforms yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions