Skip to content

Extend ImageDataAtSizeProvider to cropped image rendering #468

@HeikoKlare

Description

@HeikoKlare

The ImageDataAtSizeProvider was introduced with:

It is currently limited to drawing an image with GC#drawImage(image, x, y, width, height). It would also be useful to be considered in the longer existing GC#drawImage(image, srcX, srcY, srcWidth, srxHeight, destX, destY, destWidth, destHeight) method for drawing cropped images.

It shall be validated if the ImageDataAtSizeProvider can be adopted with reasonable effort in that method as well. Preliminary work that can be extended for prototyping has been started here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

    Type

    No type

    Projects

    Status

    🔖 Ready: Atomic

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions