Revision d7ed24f...

Go back to digest for 27th March 2011

Features in Office

Silvio Heinrich committed changes in [calligra] /plugins/paintops:

Added an opacity PaintOp option and increased the performance of the brush.

Two things were done to increase performance:
* avoid to use KisPainter::paintRect(...)
a temporary KisFixedPaintDevice filled with the needed color is now used instead
* avoid to recalculate the brush mask on every paintAt(...) call
now the mask is only recalculated if size or rotation has changed significantly
in comparision to the last mask used

File Changes

Modified 5 files
  • /plugins/paintops
  •   krita/colorsmudge/kis_colorsmudgeop.cpp
  •   krita/colorsmudge/kis_colorsmudgeop.h
  •   krita/colorsmudge/kis_colorsmudgeop_settings_widget.cpp
  •   krita/libpaintop/kis_pressure_opacity_option.cpp
  •   krita/libpaintop/kis_pressure_opacity_option.h
5 files changed in total