Diffusion Krita 67b2738002a3

Implement transformation of the Grid when image is transformed

Authored by dkazakov on Aug 19 2019, 5:27 PM.

Description

Implement transformation of the Grid when image is transformed

Basically, we implement a fake layer (KisDecorationsWrapperLayer),
which accepts all the transformations and tries to transform decorations
(only grids are implemented atm).

There is a tricky thing: tranformations are undoable, but modifications
to grids are not! Therefore we should be really careful about transforming
grids. We cannot just save their state, like we plan to do for all the
vector objects. Instead, we should apply inverted transformation during
undo operation.

CCBUG:331789

Details

Committed
dkazakovAug 19 2019, 5:27 PM
Parents
R37:7fee359c6add: Fix lost scroll events when tablet is in the proximity
Branches
Unknown
Tags
Unknown