Changeset 257 for libcaca/trunk/src/line.c
- Timestamp:
- Dec 18, 2003, 1:11:52 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/line.c
r246 r257 77 77 } 78 78 79 /** 80 * \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. 84 * 85 * \param x Array of X coordinates. Must have \p n + 1 elements. 86 * \param y Array of Y coordinates. Must have \p n + 1 elements. 87 * \param n Number of lines to draw. 88 * \param c Character to draw the lines with. 89 * \return void 90 */ 79 91 void caca_draw_polyline(const int x[], const int y[], int n, char c) 80 92 { … … 114 126 } 115 127 128 /** 129 * \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. 133 * 134 * \param x Array of X coordinates. Must have \p n + 1 elements. 135 * \param y Array of Y coordinates. Must have \p n + 1 elements. 136 * \param n Number of lines to draw. 137 * \return void 138 */ 116 139 void caca_draw_thin_polyline(const int x[], const int y[], int n) 117 140 { … … 196 219 * \param x X coordinate of the point. 197 220 * \param y Y coordinate of the point. 198 * \return bThe clipping bits for the given point.221 * \return The clipping bits for the given point. 199 222 */ 200 223 static uint8_t clip_bits(int x, int y)
Note: See TracChangeset
for help on using the changeset viewer.