Diffusion Krita 5f08e170d761

Finally realized why KisVisualRectangleShape behaves weird when non-square

Authored by Mathias Wein <lynx.mw@gmail.com> on Aug 24 2019, 1:55 AM.

Description

Finally realized why KisVisualRectangleShape behaves weird when non-square

Some sneaky mix-up of width() and height() in one place caused it.

This should fix the offset issue reported in Bug 381529
(the rendering part is still needs more work).

Details

Committed
Mathias Wein <lynx.mw@gmail.com>Sep 5 2019, 7:28 PM
Parents
R37:8761be68242e: Flip y-coordinate in KisVisualRectangleShape
Branches
Unknown
Tags
Unknown
Mathias Wein <lynx.mw@gmail.com> committed R37:5f08e170d761: Finally realized why KisVisualRectangleShape behaves weird when non-square (authored by Mathias Wein <lynx.mw@gmail.com>).Sep 5 2019, 7:28 PM