/* draw_post.h   simple drawing utility for shaded rendering and wire frame */

/* 0.0,0.0 is lower left, usually leave margin and start at 50.0,50.0 */
/* 560.,740.0 is upper right with margin on 8 1/2 by 11 paper 72 pts/inch  */

/* don't laugh at the naming, there could easily be 94 more calls wanted */

/* initialize file plotout.ps */
extern void draw_post1(char *filename);

/* draw line, thick=0.5 for thin, =1.0 for normal, =2.0 for thick */
extern void draw_post2(float x1, float y1, float x2, float y2, float thick);

/* gray shaded triangle, shade=0.1 dark, shade=0.99 light, else white */
extern void draw_post3(float x1, float y1, float x2, float y2,
                       float x3, float y3, float shade);

/* outline triangle, thick=0.5 for thin, =1.0 for normal, =2.0 for thick */
extern void draw_post4(float x1, float y1, float x2, float y2,
                       float x3, float y3, float thick);

/* simple text */
extern void draw_post5(float x1, float y1, char *text, int point);


/* gray shaded rectangle, shade=0.1 dark, shade=0.99 light, else white */
/* units of printers point */
extern void draw_post6(int x1, int y1, int x2, int y2, float shade);

/* gray shaded square, shade=0.1 dark, shade=0.99 light, else white */
/*             1 point by 1 point */
extern void draw_post7(int x, int y, float shade);

/* finish file plotout.ps */
extern void draw_post99(void);

#include <X11/Xlib.h>
extern void draw_post98(float shade, XPoint ppts[], int npts);


