Diffusion Krita 8a5135870197

Add a workaround for boolean operations on shapes

Authored by dkazakov on May 12 2020, 6:48 PM.

Description

Add a workaround for boolean operations on shapes

The problem is that Qt's path boolean operation do not support curves,
therefore all the curves are converted into lines
(see QPathSegments::addPath()). The curves are split into lines using
absolute size of the curve for the threshold. Therefore, when applying
boolean operations we should convert them into 'image pixel' coordinate
space first.

BUG:411056

Details

Committed
dkazakovJun 2 2020, 10:06 AM
Parents
R37:6f79e32950a6: Optimize non-antialiased case in Flood Selection tool
Branches
Unknown
Tags
Unknown