ftp.nice.ch/pub/next/graphics/vector/Wood.0.72.s.tar.gz#/Wood/WoodFuture/TreeDiagram/uwFoundationAdds.m

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

#import "uwFoundationAdds.h"


NSRect NSMakeRect(float x, float y, float width, float height)
{
	NSRect r;
	
	r.origin.x = x; r.origin.y = y;
	r.size.width = width; r.size.height = height;
	return r;
}

NSPoint NSMakePoint(float x, float y)
{
	NSPoint p;
	
	p.x = x; p.y = y;
	return p;
}

NSSize NSMakeSize(float width, float height)
{
	NSSize s;
	
	s.width = width; s.height = height;
	return s;
}

BOOL NSIntersectsRect(NSRect a, NSRect b)
{
	return YES;
}

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