-
Halla Rempt authored
* Make masks and layers inherit a common baseclass: KisNode. Create code in krita/image to handle the new layer hierarchy. * Remove KisMetaRegistry * Remove the "super" typedefs * Fix bugs demonstrated by unittests * Add several unittests -- some show that we have some bugs still. * Considerably simplify the api of KisPaintDevice and Kisimage * Add several more options for perfomance and tweak others to give better performance by default * Sanitize the dirty setting of rects * Start working on extracting the prescaling and canvas preview update spaghetti into a separate class. * Re-instate the fast-but-ugly nearest-neighbour scale option (doesn't work yet, is part of the above) Warning: this commit breaks some stuff, notably the adding of layers and masks. Painting, redisplay using QPainter and opengl and selections should be fine, without regressions. I am still working on the layer/mask issue and on the display thing, but apart from these two issues, Krita is reasonably stable again. There are two Umbrello diagrams in krita/doc that show the new layer design and the way the selection classes fit together. svn path=/trunk/koffice/; revision=701132
5f241f2c