home *** CD-ROM | disk | FTP | other *** search
- /* function to draw a rectangle with hatching */
- htrect(x0,y0,x1,y1,color,style)
- int x0; /* upper left column */
- int y0; /* upper left row */
- int x1; /* lower right column */
- int y1; /* lower right row */
- int color; /* color of rectangle boundary (-1 draw no boundary )*/
- int style; /* hatch style to use */
- {
- eg_rectangle(x0,y0,x1,y1,color,style);
- }
-