[−][src]Function lvgl::widgets::img::buf_set_px_color
pub fn buf_set_px_color(
dsc: *mut lv_img_dsc_t,
x: lv_coord_t,
y: lv_coord_t,
c: lv_color_t
) -> MynewtResult<()>
Set the color of a pixel of an image. The alpha channel won't be affected.
dsc
: pointer to an image descriptorx
: x coordinate of the point to sety
: x coordinate of the point to setc
: color of the pointsafe
: true: check out of bounds