[Question/suggestion] Can System.Drawing.Graphics be PerMonitorV2 compatible?
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 103
Description
### Background and motivation
Currently in `PerMonitorV2` apps after autoscaling happens (dpi changed) `DpiX/DpiY` from `Graphics` objects (for example from `OnPaint(PaintEventArgs e)`) still return starting values. This raises some questions (_I found many similar questions, but no answers_):
- Is it only `DpiX/DpiY` properties problem and we still able to use these graphics objects normally (keeping in mind real dpi of course)? _The fact that these objects continue to be used normally within Winforms gives me a certain optimism on this matter :)_
- If this is only `DpiX/DpiY` problem, then can we solve it - make them return _real_ dpi?
- If this is whole `Graphics` problem, then can we solve it - make `Graphics` compatible with `PerMonitorV2`?
Contributor guide
Assessment
This issue has not been assessed yet.