ftp.nice.ch/peanuts/GeneralData/Documents/books/AlexNeXTSTEPSource.tar.gz#/NSProgramming/Chapter7_Views/Shapes/CircleView.m

This is CircleView.m in view mode; [Download] [Up]

/* Generated by Project Builder */

#import <appkit/appkit.h>
#import "CircleView.h"
// for drawcircle function
#import "drawcircle.h"

@implementation CircleView

- drawSelf:(NXRect *)rects :(int)rectCount
{
	// erase current drawing
	[super erase];
	// use wraps file to draw circle
	drawcircle(x, y, angle, xScale, yScale);
	return self;
}

@end

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