Hatched fills of `wxBrush` are not scaled at high DPI (Issue #26327)

12 views
Skip to first unread message

taler21

unread,
Mar 30, 2026, 2:55:56 AM (5 days ago) Mar 30
to wx-...@googlegroups.com, Subscribed
taler21 created an issue (wxWidgets/wxWidgets#26327)

As can be seen in the drawing sample's 'Brush screen', under Windows the hatching of a wxBrush is not scaled with the DPI scaling factor.

At 100% DPI scaling:

Hatch-MSW-DPI_100.png (view on web)

At 200% DPI scaling:

Hatch-MSW-DPI_200.png (view on web)

At 300% DPI scaling:

Hatch-MSW-DPI_300.png (view on web)

Expected behaviour:

I would expect the hatching to be scaled with the DPI scaling factor, as is the case under Linux with GTK3.
Where, for example, the hatching looks like this at 200% DPI scaling.

Hatch-GTK3-DPI_200.png (view on web)

Platform and version information

  • wxWidgets version you use: 3.2.9
  • wxWidgets port you use: wxMSW
  • OS and its version: Windows 10, 11


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26327@github.com>

Reply all
Reply to author
Forward
0 new messages