-
Lukáš Tvrdý authored
paintop returns QPainterPath and tool is responsible for painting and conversion from pixel coord into view coordinates. Thanks to KisTool::paintToolOutline, native OpenGL code is used for OpenGL canvas so drawing might be faster and outline is always visible due to using XOR. XOR is also used for QPainter-based canvas. So far only paintops with standard brush dialog are ported and duplicate paintop is ported. The outline for duplicate is new and experimental (no more just cross). It has bug due to wrong size of the bounding rect, but works for OpenGL canvas. Old API is still used if the paintop is not ported. CCBUG:241289 svn path=/trunk/koffice/; revision=1150321
81d5cf71