Searched refs:res_color (Results 1 – 3 of 3) sorted by relevance
/lvgl-2.7.6/src/lv_draw/ |
D | lv_draw_label.c | 724 lv_color_t res_color; in draw_letter_subpx() local 735 …res_color.ch.blue = (uint32_t)((uint32_t)txt_rgb[0] * font_rgb[0] + (bg_rgb[0] * (255 - font_rgb[0… in draw_letter_subpx() 736 …res_color.ch.red = (uint32_t)((uint32_t)txt_rgb[2] * font_rgb[2] + (bg_rgb[2] * (255 - font_rgb[2]… in draw_letter_subpx() 738 …res_color.ch.red = (uint32_t)((uint16_t)txt_rgb[0] * font_rgb[0] + (bg_rgb[0] * (255 - font_rgb[0]… in draw_letter_subpx() 739 …res_color.ch.blue = (uint32_t)((uint16_t)txt_rgb[2] * font_rgb[2] + (bg_rgb[2] * (255 - font_rgb[2… in draw_letter_subpx() 743 …res_color.ch.green = (uint32_t)((uint32_t)txt_rgb[1] * font_rgb[1] + (bg_rgb[1] * (255 - font_rgb[… in draw_letter_subpx() 746 res_color.ch.green_h = green >> 3; in draw_letter_subpx() 747 res_color.ch.green_l = green & 0x7; in draw_letter_subpx() 751 res_color.ch.alpha = 0xff; in draw_letter_subpx() 756 color_buf[mask_p] = res_color; in draw_letter_subpx()
|
/lvgl-2.7.6/src/lv_misc/ |
D | lv_color.h | 534 … lv_color_t * res_color, lv_opa_t * res_opa) in lv_color_mix_with_alpha() argument 538 res_color->full = fg_color.full; in lv_color_mix_with_alpha() 543 res_color->full = bg_color.full; in lv_color_mix_with_alpha() 548 *res_color = lv_color_mix(fg_color, bg_color, fg_opa); in lv_color_mix_with_alpha() 579 res_color->full = res_color_saved.full; in lv_color_mix_with_alpha()
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_canvas.c | 1232 lv_color_t res_color; in set_px_true_color_alpha() local 1234 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &res_opa); in set_px_true_color_alpha() 1238 lv_img_buf_set_px_color(&d, x, y, res_color); in set_px_true_color_alpha()
|