This is Line.h in view mode; [Download] [Up]
@interface Line : Graphic { int startCorner; /* corner we start creating from */ } /* Initialization method */ + initialize; /* Creation method */ - init; /* Methods overridden from superclass */ - (BOOL)isValid; - (int)moveCorner:(int)corner to:(const NXPoint *)point constrain:(BOOL)flag; - constrainCorner:(int)corner toAspectRatio:(float)ratio; - (int)cornerMask; - draw; - (BOOL)hit:(const NXPoint *)point; /* Methods to be overridden by subclassers */ - (float)arrowAngle:(int)corner; - drawLine; /* Archiving */ - write:(NXTypedStream *)stream; - read:(NXTypedStream *)stream; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.