conic.c (libcaca-0.99.beta19) | : | conic.c (libcaca-0.99.beta20.tar.bz2) | ||
---|---|---|---|---|
/* | /* | |||
* libcaca Colour ASCII-Art library | * libcaca Colour ASCII-Art library | |||
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net> | * Copyright © 2002—2018 Sam Hocevar <sam@hocevar.net> | |||
* All Rights Reserved | * All Rights Reserved | |||
* | * | |||
* This library is free software. It comes without any warranty, to | * This library is free software. It comes without any warranty, to | |||
* the extent permitted by applicable law. You can redistribute it | * the extent permitted by applicable law. You can redistribute it | |||
* and/or modify it under the terms of the Do What the Fuck You Want | * and/or modify it under the terms of the Do What the Fuck You Want | |||
* to Public License, Version 2, as published by Sam Hocevar. See | * to Public License, Version 2, as published by Sam Hocevar. See | |||
* http://www.wtfpl.net/ for more details. | * http://www.wtfpl.net/ for more details. | |||
*/ | */ | |||
/* | /* | |||
* This file contains ellipse and circle drawing functions, both filled | * This file contains ellipse and circle drawing functions, both filled | |||
skipping to change at line 338 | skipping to change at line 338 | |||
break; | break; | |||
case '3': | case '3': | |||
c = '|'; | c = '|'; | |||
break; | break; | |||
} | } | |||
} | } | |||
caca_put_char(cv, xo - x, yo - y, c); | caca_put_char(cv, xo - x, yo - y, c); | |||
} | } | |||
} | } | |||
/* | ||||
* XXX: The following functions are aliases. | ||||
*/ | ||||
int cucul_draw_circle(cucul_canvas_t *, int, int, int, uint32_t) | ||||
CACA_ALIAS(caca_draw_circle); | ||||
int cucul_draw_ellipse(cucul_canvas_t *, int, int, int, int, uint32_t) | ||||
CACA_ALIAS(caca_draw_ellipse); | ||||
int cucul_draw_thin_ellipse(cucul_canvas_t *, int, int, int, int) | ||||
CACA_ALIAS(caca_draw_thin_ellipse); | ||||
int cucul_fill_ellipse(cucul_canvas_t *, int, int, int, int, uint32_t) | ||||
CACA_ALIAS(caca_fill_ellipse); | ||||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |