Skip to content
  • Ell's avatar
    app: derive GimpEraser from GimpPaintbrush · aba4eef9
    Ell authored
    In GimpPaintbrush, factor out the code responsible for determining
    the current dab's paint parameters and content to a new
    GimpPaintbrush::get_paint_params() virtual function.
    
    Derive GimpEraser from GimpPaintbrush, instead of directly from
    GimpBrushCore, implementing get_paint_params() appropriately.
    This allows GimpEraser to reuse the paint-buffer content across
    dabs, improving performance.
    aba4eef9