Skip to content

Adapt usages in SWT to new GC#drawImage API #464

@arunjose696

Description

@arunjose696

The new drawImage method has been introduced in eclipse-platform/eclipse.platform.swt#2548 that allows drawing the full image into a specified destination rectangle without requiring source bounds.

Previously, consumers needed to call image.getBounds() to determine the image dimensions and use this in the drawImage() call for drawing. The consumers drawing the image fully could adapt the new API and not call getBounds to get the image size.

Metadata

Metadata

Assignees

Labels

HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

Type

No type

Projects

Status

🏗 In Work: Short

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions