1 /*
2  Project: Graphos
3  GRBezierPathEditor.m
4 
5  Copyright (C) 2000-2013 GNUstep Application Project
6 
7  Author: Enrico Sersale (original GDRaw implementation)
8  Author: Ing. Riccardo Mottola
9 
10  This application is free software; you can redistribute it and/or
11  modify it under the terms of the GNU General Public
12  License as published by the Free Software Foundation; either
13  version 2 of the License, or (at your option) any later version.
14 
15  This application is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  Library General Public License for more details.
19 
20  You should have received a copy of the GNU General Public
21  License along with this library; if not, write to the Free
22  Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <AppKit/AppKit.h>
27 #import "GRBezierControlPoint.h"
28 #import "GRBezierPath.h"
29 #import "GRPathEditor.h"
30 
31 @class GRDocView;
32 
33 @interface GRBezierPathEditor : GRPathEditor
34 {
35   float zmFactor;
36 }
37 
38 - (NSArray *)selectedControlPoints;
39 
40 - (void)unselectOtherControls:(GRBezierControlPoint *)cp;
41 
42 - (NSPoint)moveBezierHandleAtPoint:(NSPoint)p;
43 - (void)moveBezierHandleAtPoint:(NSPoint)oldp toPoint:(NSPoint)newp;
44 
45 @end
46 
47