home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 1
/
ARM_CLUB_CD.iso
/
contents
/
education
/
a
/
autopcb
/
!AutoPCB
/
c
/
Scratch
< prev
next >
Wrap
Text File
|
1991-03-25
|
1KB
|
39 lines
/* File header */
memcpy(Draw, "Draw", 4);
Draw[1] = 201; /* Major format */
Draw[2] = 0; /* Minor format */
/* ID of application */
memcpy(&Draw[3], "AutoPCB ", 12);
/* Bounding box for whole file */
Draw[6] = 0; /* Low x */
Draw[7] = 0; /* Low y */
Draw[8] = Ncols * 50; /* High x */
Draw[9] = Nrows * 50; /* High y */
/* Object header (PATH) */
Draw[10] = 2; /* Path */
Draw[11] = (26 - 10 + 1) * 4; /* Size */
Draw[12] = Draw[6]; /* Low x */
Draw[13] = Draw[7]; /* Low y */
Draw[14] = Draw[8]; /* High x */
Draw[15] = Draw[9]; /* High y */
Draw[16] = -1; /* No fill colour */
Draw[17] = 0; /* Black colour */
Draw[18] = 0; /* Thin line */
Draw[19] = 0; /* Style (no dash pattern) */
Draw[20] = 2;
Draw[21] = 100;
Draw[22] = 100;
Draw[23] = 8;
Draw[24] = 200;
Draw[25] = 200;
Draw[26] = 0;
fwrite(Draw, 27, 4, fp);