1 // PXPixel.h 2 // Pixen 3 // 4 // Created by Joe Osborn on Thu Sep 11 2003. 5 // Copyright (c) 2003 Open Sword Group. All rights reserved. 6 // 7 8 #import <AppKit/AppKit.h> 9 10 11 @interface PXPixel : NSObject <NSCoding, NSCopying>{ 12 NSColor * color; 13 } 14 15 + withColor:aColor; 16 - initWithColor:aColor; 17 - (void)dealloc; 18 19 - color; 20 - (void)setColor:aColor; 21 22 - (void)drawAtPoint:(NSPoint)aPoint withOpacity:(float)anOpacity; 23 - copyWithZone:(NSZone *)zone; 24 25 @end 26