ftp.nice.ch/pub/next/science/mathematics/Random.2.0.N.bs.tar.gz#/Random2.0/RandomPlot/PointsView.h

This is PointsView.h in view mode; [Download] [Up]

//
// PointsView
//
// This is an Objective-C class that is a view that plots points.
//
// History:
//
// 	1992 MAY 04 EDT 19:17:	GNP	Genesis.
//
// Copyright (C) 1992 Contemporary Design Studios.
//


#import <appkit/View.h>
#import <appkit/Application.h>


@interface PointsView:View


{
    id			startButton;
    id			stopButton;
    id  		randGen;
    NXModalSession	mySession;
    BOOL		initial;
    BOOL		plottingPoints;
}


- initFrame:(const NXRect *)frameRect;

- start:sender;
- stop:sender;
- clear:sender;
- plotPoints:sender;
- plotLines:sender;

- plotX:(double)x y:(double)y;
- plotLine:(double)x1 :(double)y1 :(double)x2 :(double)y2;

- drawSelf:(const NXRect *)rects :(int)rectCount;


@end


//
// End of file.
//

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.