home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / contrib / libgrx / src / solidpix.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-06  |  1.2 KB  |  40 lines

  1.  
  2. /**
  3.  ** SOLIDPIX.C
  4.  **
  5.  **  Copyright (C) 1992, Csaba Biegl
  6.  **    820 Stirrup Dr, Nashville, TN, 37221
  7.  **    csaba@vuse.vanderbilt.edu
  8.  **
  9.  **  This file is distributed under the terms listed in the document
  10.  **  "copying.cb", available from the author at the address above.
  11.  **  A copy of "copying.cb" should accompany this file; if not, a copy
  12.  **  should be available from where this file was obtained.  This file
  13.  **  may not be distributed without a verbatim copy of "copying.cb".
  14.  **  You should also have received a copy of the GNU General Public
  15.  **  License along with this program (it is in the file "copying");
  16.  **  if not, write to the Free Software Foundation, Inc., 675 Mass Ave,
  17.  **  Cambridge, MA 02139, USA.
  18.  **
  19.  **  This program is distributed in the hope that it will be useful,
  20.  **  but WITHOUT ANY WARRANTY; without even the implied warranty of
  21.  **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  22.  **  GNU General Public License for more details.
  23.  **/
  24.  
  25. #include "grx.h"
  26. #include "libgrx.h"
  27. #include "clipping.h"
  28.  
  29. void _GrDrawSolidPixel(int x,int y,void *color)
  30. {
  31.     CLIPDOT(CURC,x,y);
  32.     _GrSetPixel(PIXEL_ADDR(x,y),*((int *)color));
  33. }
  34.  
  35. void _GrDummySolidPixel(int x,int y,void *color)
  36. {
  37.     return;
  38. }
  39.  
  40.