home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import "UserPathView.h"
- #import <dpsclient/wraps.h> // For PS and DPS function prototypes
-
- @implementation UserPathView
-
-
- - drawSelf:(NXRect *)rects :(int)rectCount
- {
- short data[6] = {10, 10, 400, 10, 200, 300};
- char ops[4] = {dps_moveto, dps_lineto,
- dps_lineto,dps_closepath};
- short boundingBox[4] = {0, 0, 400, 300};
-
- NXEraseRect (&bounds);
- PSsetgray(NX_BLACK);
- PSsetlinewidth(10.0);
-
- DPSDoUserPath(data, 6, dps_short, ops, 4, boundingBox,
- dps_ustroke);
- return self;
- }
-
-
- @end
-