ftp.nice.ch/pub/next/science/mathematics/HippoDraw.2.0.s.tar.gz#/HippoDraw/Hippo.bproj/Draw.subproj/Scribble.h

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

#define CHUNK_SIZE 64	/* this is a malloc good size */

@interface Scribble : Graphic
{
    float *points;	/* the points in the scribble */
    char *userPathOps;	/* the linetos */
    int length;		/* the number of points */
    float bbox[4];	/* the bounding box of the scribble */
}

/* Factory methods */

+ cursor;

/* Free method */

- free;

/* Private methods */

- allocateChunk;

/* Methods overridden from superclass */

- (float)naturalAspectRatio;
- (int)moveCorner:(int)corner to:(const NXPoint *)point constrain:(BOOL)flag;
- (BOOL)create:(NXEvent *)event in:(GraphicView *)view;
- draw;

/* Archiving methods */

- 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.