lvgl / lv_demos

Examples, tutorials and applications for the LVGL embedded GUI library
https://lvgl.io
492 stars 366 forks source link

lv_canvas: add basic drawing functionalities #19

Closed seyyah closed 5 years ago

seyyah commented 5 years ago

Related to https://github.com/littlevgl/lvgl/pull/758

seyyah commented 5 years ago

I couldn't compile pc_simulator with LittlevGL v5.3 so I didn't add the lv_test_canvas_2.png

seyyah commented 5 years ago

I want to use lv_task utilities but I couldn't.

kisvegabor commented 5 years ago

I want to use lv_task utilities but I couldn't.

How do you mean it? Why couldn't you compile it?

seyyah commented 5 years ago

I want to use lv_task utilities but I couldn't.

How do you mean it? Why couldn't you compile it?

@kisvegabor I tried to make similar to obj_mem_leak_tester. But I got only empty canvas area. Consecutive drawings did not make.

kisvegabor commented 5 years ago

Strange, you can open an issue to examine it.

lv_canvas_fill_polygon still not clear to me. If you comment out lv_canvas_flood_fill the bg_color parameter is not used.

https://github.com/littlevgl/lvgl/blob/dev-5.3/lv_objx/lv_canvas.c#L403-L418

seyyah commented 5 years ago

Strange, you can open an issue to examine it.

We open an issue ASAP.

lv_canvas_fill_polygon still not clear to me. If you comment out lv_canvas_flood_fill the bg_color parameter is not used. https://github.com/littlevgl/lvgl/blob/dev-5.3/lv_objx/lv_canvas.c#L403-L418

PR: lv_canvas: lv_canvas_boundary_fill4 function interface enhancement #783

kisvegabor commented 5 years ago

Thank you for both of the PRs!