Changeset 268 for libcaca/trunk/src/line.c
- Timestamp:
- Dec 23, 2003, 2:27:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/line.c
r265 r268 1 1 /* 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19 * 20 */ 21 22 /** 23 * 24 * 25 * 26 * 27 * 28 * 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. 29 29 */ 30 30 … … 79 79 /** 80 80 * \brief Draw a polyline on the screen using the given character and 81 * 82 * 83 * 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. 84 84 * 85 85 * \param x Array of X coordinates. Must have \p n + 1 elements. … … 128 128 /** 129 129 * \brief Draw a thin polyline on the screen using the given coordinate 130 * 131 * 132 * 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. 133 133 * 134 134 * \param x Array of X coordinates. Must have \p n + 1 elements. … … 240 240 /** 241 241 * \brief Solid line drawing function, using Bresenham's mid-point line 242 * 242 * scan-conversion algorithm. 243 243 * 244 244 * \param s a line structure
Note: See TracChangeset
for help on using the changeset viewer.