~ubuntu-branches/ubuntu/oneiric/koffice/oneiric-updates

« back to all changes in this revision

Viewing changes to krita/plugins/paintops/defaultpaintops/eraser/kis_eraseop.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  Copyright (c) 2002 Patrick Julien <freak@codepimps.org>
3
 
 *  Copyright (c) 2004-2008 Boudewijn Rempt <boud@valdyas.org>
4
 
 *  Copyright (c) 2004 Clarence Dang <dang@kde.org>
5
 
 *  Copyright (c) 2004 Adrian Page <adrian@pagenet.plus.com>
6
 
 *  Copyright (c) 2004 Cyrille Berger <cberger@cberger.net>
7
 
 *
8
 
 *  This program is free software; you can redistribute it and/or modify
9
 
 *  it under the terms of the GNU General Public License as published by
10
 
 *  the Free Software Foundation; either version 2 of the License, or
11
 
 *  (at your option) any later version.
12
 
 *
13
 
 *  This program is distributed in the hope that it will be useful,
14
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 *  GNU General Public License for more details.
17
 
 *
18
 
 *  You should have received a copy of the GNU General Public License
19
 
 *  along with this program; if not, write to the Free Software
20
 
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
 
 */
22
 
 
23
 
#ifndef KIS_ERASEOP_H_
24
 
#define KIS_ERASEOP_H_
25
 
 
26
 
#include <KoColorSpace.h>
27
 
 
28
 
#include "kis_brush_based_paintop.h"
29
 
#include <kis_pressure_opacity_option.h>
30
 
#include <kis_pressure_size_option.h>
31
 
 
32
 
class KisBrushBasedPaintOpSettings;
33
 
 
34
 
class QWidget;
35
 
class QPointF;
36
 
class KisPainter;
37
 
 
38
 
 
39
 
class KisEraseOp : public KisBrushBasedPaintOp
40
 
{
41
 
 
42
 
public:
43
 
 
44
 
    KisEraseOp(const KisBrushBasedPaintOpSettings *settings, KisPainter * painter, KisImageWSP image);
45
 
    virtual ~KisEraseOp();
46
 
 
47
 
    qreal paintAt(const KisPaintInformation& info);
48
 
 
49
 
private:
50
 
    KisPressureOpacityOption m_opacityOption;
51
 
    KisPressureSizeOption m_sizeOption;
52
 
};
53
 
 
54
 
#endif // KIS_ERASEOP_H_