Changeset 205 for libcaca/trunk/src
- Timestamp:
- Nov 22, 2003, 1:45:25 PM (19 years ago)
- Location:
- libcaca/trunk/src
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/blit.c
r204 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file blit.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Bitmap functions 26 * 27 * This file contains bitmap blitting functions. 22 28 */ 23 29 -
libcaca/trunk/src/box.c
r192 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file box.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Simple box drawing functions 26 * 27 * This file contains box drawing functions, both filled and outline. 22 28 */ 23 29 -
libcaca/trunk/src/caca.c
r200 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file caca.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Main \e libcaca functions 26 * 27 * This file contains the main functions used by \e libcaca applications to 28 * initialise the library, get the screen properties, set the framerate and 29 * so on. 22 30 */ 23 31 -
libcaca/trunk/src/caca.h
r204 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 22 20 */ 23 21 22 /** \file caca.h 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief The \e libcaca public header. 26 * 27 * This header contains the public types and functions that applications 28 * using \e libcaca may use. 29 */ 30 31 /** \mainpage libcaca developer documentation 32 * 33 * \section intro Introduction 34 * 35 * \e libcaca is a graphics library that outputs text instead of pixels, 36 * so that it can work on older video cards or text terminals. It is not 37 * unlike the famous AAlib library. libcaca needs a terminal to work, 38 * thus it should work on all Unix systems (including Mac OS X) using 39 * either the slang library or the ncurses library, on DOS using the conio 40 * library, and on Windows systems using either slang or ncurses (through 41 * Cygwin emulation) or conio. 42 * 43 * \e libcaca is free software, released under the GNU Lesser General 44 * Public License. This ensures that \e libcaca will always remain free 45 * software. 46 * 47 * \section api The libcaca API 48 * 49 * The complete \e libcaca programming interface is available from the 50 * caca.h file. 51 */ 52 24 53 #ifndef __CACA_H__ 25 54 #define __CACA_H__ … … 30 59 #endif 31 60 32 /* 33 * Colors61 /** 62 * The colour definitions to be used with caca_set_color(). 34 63 */ 35 64 enum caca_color … … 53 82 }; 54 83 55 /* 56 * Dithering modes84 /** 85 * The dithering modes to be used with caca_set_dithering(). 57 86 */ 58 87 enum caca_dithering … … 63 92 }; 64 93 65 /* 66 * Events94 /** 95 * The event types returned by caca_get_event(). 67 96 */ 68 97 enum caca_event … … 74 103 }; 75 104 76 /* 77 * Keys105 /** 106 * The special key values returned by caca_get_event(). 78 107 */ 79 108 enum caca_key … … 102 131 103 132 /* 104 * Internal types105 */106 struct caca_sprite;107 struct caca_bitmap;108 109 /*110 133 * Basic functions 111 134 */ … … 165 188 * Sprite handling 166 189 */ 190 struct caca_sprite; 167 191 struct caca_sprite * caca_load_sprite(const char *); 168 192 int caca_get_sprite_frames(struct caca_sprite *); … … 177 201 * Bitmap handling 178 202 */ 203 struct caca_bitmap; 179 204 struct caca_bitmap *caca_create_bitmap(int, int, int, int, int, int, int); 180 205 void caca_draw_bitmap(int, int, int, int, struct caca_bitmap *, char *); -
libcaca/trunk/src/caca_internals.h
r193 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 22 20 */ 23 21 22 /** \file caca_internals.h 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief The \e libcaca private header. 26 * 27 * This header contains the private types and functions used by \e libcaca. 28 */ 29 24 30 #ifndef __CACA_INTERNALS_H__ 25 31 #define __CACA_INTERNALS_H__ -
libcaca/trunk/src/conic.c
r192 r205 4 4 * All Rights Reserved 5 5 * 6 * $Id$7 *8 6 * This library is free software; you can redistribute it and/or 9 7 * modify it under the terms of the GNU Lesser General Public … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file conic.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Ellipse and circle drawing functions 26 * 27 * This file contains ellipse and circle drawing functions, both filled 28 * and outline. 22 29 */ 23 30 -
libcaca/trunk/src/graphics.c
r193 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file graphics.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Character drawing functions 26 * 27 * This file contains character and string drawing functions. 22 28 */ 23 29 -
libcaca/trunk/src/io.c
r203 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file io.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Event handling functions 26 * 27 * This file contains event handling functions for keyboard and mouse input. 22 28 */ 23 29 -
libcaca/trunk/src/line.c
r192 r205 4 4 * All Rights Reserved 5 5 * 6 * $Id$7 *8 6 * This library is free software; you can redistribute it and/or 9 7 * modify it under the terms of the GNU Lesser General Public … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 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. 22 29 */ 23 30 … … 56 63 * \param y2 Y coordinate of the second point. 57 64 * \param c Character to draw the line with. 58 * \return nothing65 * \return void 59 66 */ 60 67 void caca_draw_line(int x1, int y1, int x2, int y2, char c) … … 94 101 * \param x2 X coordinate of the second point. 95 102 * \param y2 Y coordinate of the second point. 96 * \return nothing103 * \return void 97 104 */ 98 105 void caca_draw_thin_line(int x1, int y1, int x2, int y2) … … 131 138 * 132 139 * \param s a line structure 133 * \return nothing140 * \return void 134 141 */ 135 142 static void clip_line(struct line* s) … … 213 220 * 214 221 * \param s a line structure 215 * \return nothing222 * \return void 216 223 */ 217 224 static void draw_solid_line(struct line* s) … … 280 287 * 281 288 * \param s a line structure 282 * \return nothing289 * \return void 283 290 */ 284 291 static void draw_thin_line(struct line* s) -
libcaca/trunk/src/math.c
r192 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file math.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Math functions 26 * 27 * This file contains simple mathematical routines. 22 28 */ 23 29 -
libcaca/trunk/src/sprite.c
r192 r205 4 4 * All Rights Reserved 5 5 * 6 * $Id$7 *8 6 * This library is free software; you can redistribute it and/or 9 7 * modify it under the terms of the GNU Lesser General Public … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file sprite.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Sprite loading and blitting 26 * 27 * This file contains a small framework for sprite loading and blitting. 22 28 */ 23 29 -
libcaca/trunk/src/triangle.c
r192 r205 3 3 * Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This library is free software; you can redistribute it and/or … … 20 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 21 19 * 02111-1307 USA 20 */ 21 22 /** \file triangle.c 23 * \version \$Id$ 24 * \author Sam Hocevar <sam@zoy.org> 25 * \brief Triangle drawing functions 26 * 27 * This file contains triangle drawing functions, both filled and outline. 22 28 */ 23 29
Note: See TracChangeset
for help on using the changeset viewer.