btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / icon-o-matic / shape / commands / NudgePointsCommand.h
blob392df3dc6308c5688177c52c6c29f216a67b3584
1 /*
2 * Copyright 2006-2007, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
8 #ifndef NUDGE_POINTS_ACTION_H
9 #define NUDGE_POINTS_ACTION_H
12 #include "IconBuild.h"
13 #include "TransformCommand.h"
15 #include <String.h>
18 _BEGIN_ICON_NAMESPACE
19 class VectorPath;
20 struct control_point;
21 _END_ICON_NAMESPACE
23 _USING_ICON_NAMESPACE
26 class NudgePointsCommand : public TransformCommand {
27 public:
28 NudgePointsCommand(VectorPath* path,
30 const int32* indices,
31 const control_point* points,
32 int32 count);
34 virtual ~NudgePointsCommand();
36 virtual status_t InitCheck();
38 protected:
39 virtual status_t _SetTransformation(BPoint pivot,
40 BPoint translation,
41 double rotation,
42 double xScale,
43 double yScale) const;
45 VectorPath* fPath;
47 int32* fIndices;
48 control_point* fPoints;
49 int32 fCount;
52 #endif // NUDGE_POINTS_ACTION_H