Diffusion Krita 0cb1e86ebef5

Break up KisVisualColorSelectorShape::getImageMap()

Authored by Mathias Wein <lynx.mw@gmail.com> on Aug 25 2019, 7:44 PM.

Description

Break up KisVisualColorSelectorShape::getImageMap()

  • move rendering of the selector shape background into own function called renderBackground()
  • move conversion from KoColor data array to QImage to helper function called convertImageMap()

This way it can be better specialized for optimizations.

Details

Committed
Mathias Wein <lynx.mw@gmail.com>Sep 5 2019, 7:28 PM
Parents
R37:3cf5530ee3b5: Move setMask() calls from paintEvent() to resizeEvent()
Branches
Unknown
Tags
Unknown
Mathias Wein <lynx.mw@gmail.com> committed R37:0cb1e86ebef5: Break up KisVisualColorSelectorShape::getImageMap() (authored by Mathias Wein <lynx.mw@gmail.com>).Sep 5 2019, 7:28 PM