lv_draw_sw_i1_invert() function
Invert a draw buffer in the I1 color format. Conventionally, a bit is set to 1 during blending if the luminance is greater than 127. Depending on the display controller used, you might want to have different behavior. The inversion will be performed in place.
Syntax
void lv_draw_sw_i1_invert(void * buf,
uint32_t buf_size);
Arguments
buf
pointer to the buffer to be inverted
buf_size
size of the buffer in bytes