This is FontShape.h in view mode; [Download] [Up]
/* FontShape.h - Copyright 1994 Steve Ludtke 1/23/94*/
/* This object allows rendering of simple ascii letters in */
/* renderman views */
#import <3Dkit/3Dkit.h>
#define MAXTEXT 50
typedef struct { char *text; RtPoint v1,v2; } TEXT;
long SFONT[96] ;
@interface FontShape : N3DShape
{
int ntext;
TEXT text[MAXTEXT];
}
-init;
-free;
-renderSelf:(RtToken)context;
-(int)addText:(char *)text :(RtPoint)v1 :(RtPoint)v2;
-remText:(int)n;
-remAllText;
-(int)nText;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.