-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Background
Currently, autoscaling behavior in SWT is configured globally. However, when performing complex drawing operations on a GC (e.g. as used in GEF), multiple issues have been observed due to rounding errors during up- and downscaling, particularly because coordinates and dimensions are rounded to integers.
In practice, the most reliable workaround has been to completely disable autoscaling for the involved Canvas and letting the consumer take care of scaling up before drawing. This is currently achieved by setting AUTOSCALE_DISABLED to true via Widget#setData and adaptions inside of GEF. However, this mechanism is only available in the Windows implementation and is not exposed through a formal API.
Goal
Define a concept for introducing API support to control autoscaling behavior in scenarios involving GC operations. This includes evaluating:
-
Where and how this configuration should be applied:
At the Widget level? including all children?
Only for the GC?
Other potential scopes? -
Whether and how this functionality should be supported across other platforms such as GTK and Cocoa, ensuring consistent behavior and integration.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status