https://bugs.kde.org/show_bug.cgi?id=474376

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
                   |eworks/kirigami/-/commit/ce |eworks/kirigami/-/commit/c1
                   |458836db76d2c457264ecd61034 |71f3dbfdd64866fffe76837499d
                   |c1e0210b098                 |e37fdd6d9ae

--- Comment #5 from Marco Martin <notm...@gmail.com> ---
Git commit c171f3dbfdd64866fffe76837499de37fdd6d9ae by Marco Martin.
Committed on 25/09/2023 at 09:46.
Pushed by mart into branch 'master'.

Second attempt at upscaling icons

Similar to what Qt Image element does, use devicePixelRatio to get the proper
geometry of the rectangle where the icon will be painted into, *not* rounded
but compensated so that in the final rendered image will be aligned to the
pixel grid

![image](/uploads/c3e4e8d79c3acadf697767095defec1c/image.png)

M  +50   -34   src/icon.cpp
M  +2    -0    src/icon.h

https://invent.kde.org/frameworks/kirigami/-/commit/c171f3dbfdd64866fffe76837499de37fdd6d9ae

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to