Revision f9de97b...

Go back to digest for 28th August 2011

Bug Fixes in Office

Dmitry Kazakov committed changes in [calligra/krita_strokes_framework_kazakov] /image:

Ported KisTransformVisitor to the processings framework

This fixes a very tricky bug as well: the clones store the shift
internally, so when we transform a source layer, we should transform
the clone's offset as well. So we need to represent our transformation
with a matrix to do this. Now there is a matrix and a test for it in
KisTransformWorker.

WARNING: there is a bug(?) in the worker. Its transformation differs 1-3
pixels from the theoretical values. Looks like there are some rounding
problem. Anyway, we can use it even in such a rought way.

The bug will be closed when the visitor will be added to KisImage


A +- -- krita/image/tests/data/processings/transform_scale/transform_scale_blur1_original.png
A +- -- krita/image/tests/data/processings/transform_scale/transform_scale_root_original.png
A +- -- krita/image/tests/data/processings/transform_scale/transform_scale_blur1_paintDevice.png

File Changes

Added 2 files
  • /image/processing
  •   krita/kis_transform_processing_visitor.cpp
  •   krita/kis_transform_processing_visitor.h
Modified 9 files
  • /image
  •   krita/CMakeLists.txt
  •   krita/kis_layer.cc
  •   krita/kis_layer.h
  •   krita/kis_transform_worker.cc
  •   krita/kis_transform_worker.h
  •   krita/tests/kis_processings_test.cpp
  •   krita/tests/kis_processings_test.h
  •   krita/tests/kis_transform_worker_test.cpp
  •   krita/tests/kis_transform_worker_test.h
11 files changed in total