Skip to content

SWT: Add Rectangle.of(Point, Point) preserving OfFloat dimensions #563

@ShahzaibIbrahim

Description

@ShahzaibIbrahim
  • Introduce a static factory to create a Rectangle from a top-left Point and a size Point.

  • When the size point is Point.OfFloat, return Rectangle.OfFloat to retain sub-pixel precision; otherwise return the classic Rectangle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions