Merge pull request #775 from littlevgl/license-origin

Add note about origin of function
This commit is contained in:
Gabor Kiss-Vamosi 2019-01-30 17:05:50 +01:00 committed by GitHub
commit d1b593be66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,6 +328,9 @@ void lv_canvas_draw_circle(lv_obj_t * canvas, lv_coord_t x0, lv_coord_t y0, lv_c
* @param point2 end point of the line
* @param color color of the line
*/
/*
* NOTE: The lv_canvas_draw_line function originates from https://github.com/jb55/bresenham-line.c.
*/
void lv_canvas_draw_line(lv_obj_t * canvas, lv_point_t point1, lv_point_t point2, lv_color_t color)
{
lv_coord_t x0, y0, x1, y1;