home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / sparcmgr / src.zoo / src / pixrect / sundep.c < prev   
Encoding:
C/C++ Source or Header  |  1989-01-24  |  892 b   |  33 lines

  1. /*                        Copyright (c) 1987 Bellcore
  2.  *                            All Rights Reserved
  3.  *       Permission is granted to copy or use this program, EXCEPT that it
  4.  *       may not be sold for profit, the copyright notice must be reproduced
  5.  *       on copies, and credit should be given to Bellcore where it is due.
  6.  *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
  7.  */
  8. /*    $Header: sundep.c,v 4.2 88/08/10 17:31:31 bianchi Exp $
  9.     $Source: /tmp/mgrsrc/src/pixrect/RCS/sundep.c,v $
  10. */
  11. static char    RCSid_[] = "$Source: /tmp/mgrsrc/src/pixrect/RCS/sundep.c,v $$Revision: 4.2 $";
  12.  
  13. /*    this is missing from pixrect, and it must be a function */
  14.  
  15. #include "bitmap.h"
  16.  
  17. int
  18. bit_point(m,x,y,func)
  19. BITMAP *m;
  20. int x,y;
  21. int func;
  22.    {
  23.    bit_line(m,x,y,x,y,func);
  24.    }
  25.  
  26. int
  27. bit_on( bp, x, y )
  28. register BITMAP    *bp;
  29. int        x, y;
  30.    {
  31.     return pr_get(bp, x, y);
  32.    }
  33.