Skip to content

Use the existing image to initialize the GC in ImageGcDrawerWrapper #328

Open
eclipse-platform/eclipse.platform.swt
#2238
@ShahzaibIbrahim

Description

@ShahzaibIbrahim

Description
In ImageGCDrawerWrapper#newImageHandle, we create a new image with existing data to initialize the GC, instead we could use the existing image object and the base handle should be created as it is done in PlainImageDataProvider.

This ticket is for refactoring.

Metadata

Metadata

Labels

HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

Type

Projects

Status

👀 In Review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions