Main Page Class Hierarchy Compound List File List Compound Members File Members Related Pages Examples

# bresenham.h

Go to the documentation of this file.

    00001 /*
    00002     ParaGUI - crossplatform widgetset
    00003     bresenham - line drawing algo
    00004
    00005     Copyright (C) 2000  Alexander Pipelka
    00006
    00007     This library is free software; you can redistribute it and/or
    00008     modify it under the terms of the GNU Library General Public
    00009     License as published by the Free Software Foundation; either
    00010     version 2 of the License, or (at your option) any later version.
    00011
    00012     This library is distributed in the hope that it will be useful,
    00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015     Library General Public License for more details.
    00016
    00017     You should have received a copy of the GNU Library General Public
    00018     License along with this library; if not, write to the Free
    00019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00020
    00021     Alexander Pipelka
    00022     pipelka@teleweb.at
    00023
    00024     Last Update:      $Author: pipelka $
    00025     Update Date:      $Date: 2001/01/31 17:23:11 $
    00026     Source File:      $Source: /usr/local/CVSROOT/linux/paragui/doc/html/bresenham_h-source.html,v $
    00027     CVS/RCS Revision: $Revision: 1.24 $
    00028     Status:           $State: Exp $
    00029 */
    00030
    00031 #ifndef BRESENHAM_H
    00032 #define BRESENHAM_H
    00033
    00034 #ifdef __cplusplus
    00035 extern "C" {
    00036 #endif
    00037
    00038 #include "SDL.h"
    00039
    00040 void SDL_DrawLine(SDL_Surface* surface, Uint32 x0, Uint32 y0, Uint32 x1, Uint32 y1, SDL_Color color);
    00041
    00042 #ifdef __cplusplus
    00043 }
    00044 #endif
    00045
    00046 #endif  // BRESENHAM_H