Changeset 3450 for libcaca/trunk/caca/canvas.c
- Timestamp:
- May 14, 2009, 2:18:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/canvas.c
r3448 r3450 322 322 * \param xmin A pointer to an integer where the leftmost edge of the 323 323 * dirty rectangle will be stored. 324 * \param ymin A pointer to an integer where the topmost edge of the 325 * dirty rectangle will be stored. 324 326 * \param xmax A pointer to an integer where the rightmost edge of the 325 * dirty rectangle will be stored.326 * \param ymin A pointer to an integer where the topmost edge of the327 327 * dirty rectangle will be stored. 328 328 * \param ymax A pointer to an integer where the bottommost edge of the … … 330 330 * \return This function always returns 0. 331 331 */ 332 int caca_get_dirty_rectangle(caca_canvas_t *cv, int *xmin, int * xmax,333 int * ymin, int *ymax)332 int caca_get_dirty_rectangle(caca_canvas_t *cv, int *xmin, int *ymin, 333 int *xmax, int *ymax) 334 334 { 335 335 *xmin = cv->dirty_xmin; … … 357 357 * \param cv A libcaca canvas. 358 358 * \param xmin The leftmost edge of the additional dirty rectangle. 359 * \param ymin The topmost edge of the additional dirty rectangle. 359 360 * \param xmax The rightmost edge of the additional dirty rectangle. 360 * \param ymin The topmost edge of the additional dirty rectangle.361 361 * \param ymax The bottommost edge of the additional dirty rectangle. 362 362 * \return This function always returns 0. 363 363 */ 364 int caca_add_dirty_rectangle(caca_canvas_t *cv, int xmin, int xmax,365 int ymin, int ymax)364 int caca_add_dirty_rectangle(caca_canvas_t *cv, int xmin, int ymin, 365 int xmax, int ymax) 366 366 { 367 367 /* Ignore empty rectangles. */ … … 400 400 * \param cv A libcaca canvas. 401 401 * \param xmin The leftmost edge of the desired dirty rectangle. 402 * \param ymin The topmost edge of the desired dirty rectangle. 402 403 * \param xmax The rightmost edge of the desired dirty rectangle. 403 * \param ymin The topmost edge of the desired dirty rectangle.404 404 * \param ymax The bottommost edge of the desired dirty rectangle. 405 405 * \return This function always returns 0. 406 406 */ 407 int caca_set_dirty_rectangle(caca_canvas_t *cv, int xmin, int xmax,408 int ymin, int ymax)407 int caca_set_dirty_rectangle(caca_canvas_t *cv, int xmin, int ymin, 408 int xmax, int ymax) 409 409 { 410 410 /* Normalise values indicating an empty or out-of-bounds rectangle. */
Note: See TracChangeset
for help on using the changeset viewer.