home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_01_02 / 1n02025a < prev    next >
Text File  |  1990-07-09  |  650b  |  20 lines

  1. /******************************************************************
  2. *    lj_rectangle - draw a rectangle on the laser printer page
  3. *
  4. *    Parameters:
  5. *        left (in) - left edge in dots
  6. *        top (in) - top edge in dots
  7. *        right (in) - right edge in dots
  8. *        bottom (in) - bottom edge in dots
  9. *
  10. *    Copyright:
  11. *        Original code by William H. Roetzheim (619) 669-6970
  12. **********************************************************************/
  13.  
  14. void    lj_rectangle(int left, int top, int right, int bottom)
  15. {
  16.     lj_line(left, top, right, top);
  17.     lj_line(right, top, right, bottom);
  18.     lj_line(right, bottom, left, bottom);
  19.     lj_line(left,bottom, left, top);
  20. }