dsa-t

Results 157 comments of dsa-t

Scaling horse by 1/2.8: ![image](https://github.com/wxWidgets/wxWidgets/assets/37658952/255b7961-91f9-42c2-81a3-0e20e5493960) Bilinear looks the best to me. Bicubic is slightly blurrier; Box average is much more blurry, Maybe there's a bug in the algorithm?

I also noticed that `wxIMAGE_QUALITY_NEAREST` uses `wxImage::ShrinkBy` algorithm for integral scale factors, which looks (sometimes) better than bilinear. 1/2 scaling: ![image](https://github.com/wxWidgets/wxWidgets/assets/37658952/c4a21419-99ff-4397-9298-bd9db308b4fa) ![image](https://github.com/wxWidgets/wxWidgets/assets/37658952/e30f74be-9ccd-4124-90ef-62f1c77a8cdd) ![image](https://github.com/wxWidgets/wxWidgets/assets/37658952/0ef81635-0d58-4b5a-8432-ef2261099836) ![image](https://github.com/wxWidgets/wxWidgets/assets/37658952/77ef6dfe-0dae-4a11-83d4-a044ef533249) Looks like `ShrinkBy` is the same...

In KiCad with 125% display scaling, the toolbar icons are scaled from 32px to 30px. This doesn't look good with the nearest neighbor algorithm. Any chance to have bilinear in...

> But I'm actually more surprised that any resizing is being done at all here, I thought we would just use normal icons in 125% case. That's what our `WX_AUI_TOOLBAR_ART`...

Or just this: ```diff diff --git a/src/common/bmpbase.cpp b/src/common/bmpbase.cpp index 558417c5aa..b93c1ad3b3 100644 --- a/src/common/bmpbase.cpp +++ b/src/common/bmpbase.cpp @@ -69,12 +69,31 @@ void wxBitmapHelpers::Rescale(wxBitmap& bmp, const wxSize& sizeNeeded) { wxCHECK_RET( sizeNeeded.IsFullySpecified(), wxS("New size...

For 3.2 see: https://github.com/wxWidgets/wxWidgets/pull/25170

> * `CMakeSettings.json` seems to be deprecated, according to a quick web search, so I wouldn't bother with it neither. An alternative `CMakePresets.json` is very new, and it is disabled...

> I also wonder if everybody really wants to have native dialogs in their wxQt applications, i.e. whether we should do it unconditionally? Qt already shows the native dialog on...

> Do you plan to try refactoring this to reduce the conditional compilation hacks or should I try to do it myself (maybe just to convince myself that it's not...

Now I don't see flickering when resizing the window, but I see it when hovering and un-hovering the element in Read-only mode (when a bitmap with text is visible). I...