[−][src]Function lvgl::widgets::img::buf_set_px_alpha
pub fn buf_set_px_alpha(
dsc: *mut lv_img_dsc_t,
x: lv_coord_t,
y: lv_coord_t,
opa: lv_opa_t
) -> MynewtResult<()>
Set the alpha value of a pixel of an image. The color won't be affected
dsc
: pointer to an image descriptorx
: x coordinate of the point to sety
: x coordinate of the point to setopa
: the desired opacitysafe
: true: check out of bounds