moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kig / objects / inversion_type.h
blob38c3277ac7bdeb41bae90c1918fbe68271bc337b
1 // Copyright (C) 2005 Maurizio Paolini <paolini@dmf.unicatt.it>
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
16 // 02111-1307, USA.
18 #ifndef KIG_OBJECTS_INVERSION_TYPE_H
19 #define KIG_OBJECTS_INVERSION_TYPE_H
21 #include "base_type.h"
23 /**
24 * Inversion of a point, line
26 class InvertPointType
27 : public ArgsParserObjectType
29 InvertPointType();
30 ~InvertPointType();
31 public:
32 static const InvertPointType* instance();
34 ObjectImp* calc( const Args& args, const KigDocument& ) const;
35 const ObjectImpType* resultId() const;
38 class InvertLineType
39 : public ArgsParserObjectType
41 InvertLineType();
42 ~InvertLineType();
43 public:
44 static const InvertLineType* instance();
46 ObjectImp* calc( const Args& args, const KigDocument& ) const;
47 const ObjectImpType* resultId() const;
50 class InvertCircleType
51 : public ArgsParserObjectType
53 InvertCircleType();
54 ~InvertCircleType();
55 public:
56 static const InvertCircleType* instance();
58 ObjectImp* calc( const Args& args, const KigDocument& ) const;
59 const ObjectImpType* resultId() const;
62 #endif