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

Labels

HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

Type

No type

Projects

Status

👀 In Review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions