Skip to content

Extend ImageDataAtSizeProvider support to MacOS #466

@HeikoKlare

Description

@HeikoKlare

The ImageDataAtSizeProvider was introduced with:

It is currently only supported on Windows for the case that an image is drawn with GC#drawImage(image, x, y, width, height) and thus marked as experimental API.

The ImageDataAtSizeProvider should also be considered in the Image and GC implementations for MacOS, just like for Windows. According tests for an image based on an ImageDataAtSizeProvider and used via GC#drawImage(image, x y, width, height) shall be added. In case the Linux implementation of the use case is not yet implemented then, the tests are supposed to fail on Linux and should thus be disabled until that implementation is also done:

Once the Linux implementation is also adapted, the experimental note on ImageDataAtSizeProvider shall be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

    Type

    No type

    Projects

    Status

    ✅ Approved

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions