Canvas rotation preliminary patch
Boudewijn Rempt
boud at valdyas.org
Sun Aug 15 10:48:22 CEST 2010
On Sunday 15 August 2010, Dmitry Kazakov wrote:
> Ok. New version of the patch.
> http://dimula73.narod.ru/coordinates_refactor_v8.patch
>
> What is done:
> 1) When you mirror or rotate the canvas, scroll area follows the image, that
> is you'll see the same part of the image, but rotated.
> 2) Added KisToolPan. It fixes panning on 90deg.
>
> I have 2 problems with the last point:
> 1) I don't know how to hide koffice-wide Pan tool
> 2) My panning tool is shown in "Transformations" group.
I thought that if you give your tool the same id as the koffice-wide tool, it should replace it in the registry, if the factory is added to the registry after the pan tool. That doesn't work, so we need to hack KoToolManager a bit to read a config setting for disabled generic tools.
--
Boudewijn Rempt | http://www.valdyas.org
More information about the kimageshop
mailing list