Skip to content

GEF: Simplify Layering of ScaledGraphics #549

@akoch-yatta

Description

@akoch-yatta

GEF currently represents scaled layers using multiple nested instances of ScaledGraphics, each applying its own scale transform and forwarding drawing operations to the next level. Because much of the involved API is based on integers, this layering introduces the risk of rounding errors, particularly when several independent scale factors accumulate.

The goal of this issue is to reduce complexity by unifying multiple ScaledGraphics layers into a single instance, effectively concatenating all zoom levels into one.

It must be ensured that*all operations applied to individual layers continue to behave consistently, regardless of whether scaling is applied through separate ScaledGraphics instances (as is currently done) or through a merged, concatenated instance.

Metadata

Metadata

Assignees

Labels

HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWTVectorIssues specifically relevant for Vector Informatik

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions