1 //
2 //  PXFillTool.h
3 //  Pixen-XCode
4 //
5 //  Created by Joe Osborn on Tue Nov 18 2003.
6 //  Copyright (c) 2003 Open Sword Group. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "PXTool.h"
11 
12 
13 @interface PXFillTool : PXTool {
14     id color;
15 }
16 
17 - (void)mouseDownAt:(NSPoint)aPoint fromCanvasController:controller;
18 - (void)setColor:aColor;
19 
20 
21 - (BOOL)shouldAbandonFillingAtPoint:(NSPoint)aPoint fromCanvasController:controller;
22 - (void)replaceColor:oldColor withColor:newColor atPoints:points inLayer:aLayer ofCanvas:aCanvas;
23 - (void)fillAtPoint:(NSPoint)aPoint inCanvas:aCanvas replacingColor:oldColor withColor:newColor;
24 - (void)activatePointWithOldColor:oldColor newColor:newColor atPoints:thisTimeFilled ofCanvas:aCanvas;
25 
26 @end
27