feat(canvas) add lv_canvas_set_px_opa

fixes #2665
This commit is contained in:
Gabor Kiss-Vamosi
2021-10-19 13:44:40 +02:00
parent dfa4f5cff5
commit b3b3ffc2b3
5 changed files with 38 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ void lv_example_canvas_2(void)
uint32_t y;
for( y = 10; y < 30; y++) {
for( x = 5; x < 20; x++) {
lv_canvas_set_px(canvas, x, y, c0);
lv_canvas_set_px_color(canvas, x, y, c0);
}
}