home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
e
/
extralib
/
!ExtrasLib
/
h
/
DrawFile
< prev
next >
Wrap
Text File
|
1996-03-03
|
1KB
|
40 lines
/* Extras:DrawFile.h */
/* ExtrasLib by Peter Hartley 1995-96
* (K) All Rites Reversed - Copy What You Like
*/
typedef struct
{
int xx,xy,yx,yy; /* fixed-point <<16 */
int xoff, yoff; /* Draw units */
} draw_matrix;
typedef struct
{
unsigned char join;
unsigned char startcap;
unsigned char endcap;
unsigned char _;
int mitrelimit;
unsigned short startcapwidth;
unsigned short startcapheight;
unsigned short endcapwidth;
unsigned short endcapheight;
} draw_caps;
typedef struct
{
int start;
int count;
} draw_dashpattern;
os_error *Draw_Fill( void *path, int fillstyle, draw_matrix *t,
int flatness );
os_error *Draw_Stroke( void *path, int fillstyle, draw_matrix *t,
int flatness, int thickness, draw_caps *caps,
draw_dashpattern *pat );
extern void DrawFile_PathsOnly( void **anchor, int start, int end,
draw_matrix *t );