https://bugs.kde.org/show_bug.cgi?id=381913

--- Comment #1 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 85a58afef071860543c4d755a7745327abb46309 by Dmitry Kazakov.
Committed on 19/02/2018 at 19:42.
Pushed by dkazakov into branch 'kazakov/tool-handles-refactoring'.

Rewritten painting of handles in KoCreatePathTool

Now the handles are painted in a uniform way by a couple of
KisHandlePainterHelper + KoShapeHandlesCollection. KoPathPoint
generates an abstract list of "handles", which are sorted in the
tool and painted in one go. It allows the tool to decide, which
area on screen the handle occupies and issue updateCanvas() calls
accordingly.

M  +211  -113  libs/basicflakes/tools/KoCreatePathTool.cpp
M  +13   -1    libs/basicflakes/tools/KoCreatePathTool.h
M  +42   -56   libs/basicflakes/tools/KoCreatePathTool_p.h
M  +1    -1    libs/basicflakes/tools/KoPencilTool.cpp
M  +1    -0    libs/flake/CMakeLists.txt
M  +29   -9    libs/flake/KoPathPoint.cpp
M  +3    -0    libs/flake/KoPathPoint.h
M  +12   -4    libs/flake/KoShape.cpp
A  +82   -0    libs/flake/KoShapeHandlesCollection.cpp     [License: GPL (v2+)]
A  +46   -0    libs/flake/KoShapeHandlesCollection.h     [License: GPL (v2+)]
M  +0    -4    libs/flake/KoSnapGuide.cpp
M  +12   -2    libs/flake/KoToolBase.cpp
M  +7    -1    libs/flake/KoToolBase.h
M  +1    -1    libs/flake/tools/KoPathTool.cpp
M  +201  -20   libs/global/KisHandlePainterHelper.cpp
M  +92   -11   libs/global/KisHandlePainterHelper.h
M  +94   -0    libs/global/kis_painting_tweaks.cpp
M  +77   -0    libs/global/kis_painting_tweaks.h
M  +2    -2    plugins/flake/artistictextshape/ArtisticTextTool.cpp
M  +6    -6    plugins/tools/defaulttool/connectionTool/ConnectionTool.cpp

https://commits.kde.org/krita/85a58afef071860543c4d755a7745327abb46309

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to