Ignore:
Timestamp:
Dec 23, 2003, 2:27:40 PM (18 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + Added caca_wait_event(), a blocking caca_get_event().
  • src/ examples/: + More documentation.
  • doc/doxygen.cfg.in: + doc/doxygen.cfg is now generated by configure, so that we can use

@top_srcdir@ and we no longer need to hardcode PROJECT_NUMBER.

+ Create manpages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/line.c

    r265 r268  
    11/*
    2  *   libcaca       ASCII-Art library
    3  *   Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org>
    4  *                 All Rights Reserved
    5  *
    6  *   This library is free software; you can redistribute it and/or
    7  *   modify it under the terms of the GNU Lesser General Public
    8  *   License as published by the Free Software Foundation; either
    9  *   version 2 of the License, or (at your option) any later version.
    10  *
    11  *   This library is distributed in the hope that it will be useful,
    12  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    13  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    14  *   Lesser General Public License for more details.
    15  *
    16  *   You should have received a copy of the GNU Lesser General Public
    17  *   License along with this library; if not, write to the Free Software
    18  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19  *   02111-1307  USA
    20  */
    21 
    22 /**  \file line.c
    23  *   \version \$Id$
    24  *   \author Sam Hocevar <sam@zoy.org>
    25  *   \brief Line drawing functions
    26  *
    27  *   This file contains line and polyline drawing functions, with both thin
    28  *   and thick styles.
     2 *  libcaca       ASCII-Art library
     3 *  Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org>
     4 *                All Rights Reserved
     5 *
     6 *  This library is free software; you can redistribute it and/or
     7 *  modify it under the terms of the GNU Lesser General Public
     8 *  License as published by the Free Software Foundation; either
     9 *  version 2 of the License, or (at your option) any later version.
     10 *
     11 *  This library is distributed in the hope that it will be useful,
     12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14 *  Lesser General Public License for more details.
     15 *
     16 *  You should have received a copy of the GNU Lesser General Public
     17 *  License along with this library; if not, write to the Free Software
     18 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
     19 *  02111-1307  USA
     20 */
     21
     22/** \file line.c
     23 *  \version \$Id$
     24 *  \author Sam Hocevar <sam@zoy.org>
     25 *  \brief Line drawing functions
     26 *
     27 *  This file contains line and polyline drawing functions, with both thin
     28 *  and thick styles.
    2929 */
    3030
     
    7979/**
    8080 * \brief Draw a polyline on the screen using the given character and
    81  *        coordinate arrays. The first and last points are not connected,
    82  *        so in order to draw a polygon you need to specify the starting
    83  *        point at the end of the list as well.
     81 *       coordinate arrays. The first and last points are not connected,
     82 *       so in order to draw a polygon you need to specify the starting
     83 *       point at the end of the list as well.
    8484 *
    8585 * \param x Array of X coordinates. Must have \p n + 1 elements.
     
    128128/**
    129129 * \brief Draw a thin polyline on the screen using the given coordinate
    130  *        arrays and with ASCII art. The first and last points are not
    131  *        connected, so in order to draw a polygon you need to specify the
    132  *        starting point at the end of the list as well.
     130 *       arrays and with ASCII art. The first and last points are not
     131 *       connected, so in order to draw a polygon you need to specify the
     132 *       starting point at the end of the list as well.
    133133 *
    134134 * \param x Array of X coordinates. Must have \p n + 1 elements.
     
    240240/**
    241241 * \brief Solid line drawing function, using Bresenham's mid-point line
    242  *        scan-conversion algorithm.
     242 *       scan-conversion algorithm.
    243243 *
    244244 * \param s a line structure
Note: See TracChangeset for help on using the changeset viewer.