Searched refs:c1 (Results 1 – 10 of 10) sorted by relevance
/lvgl-latest/tests/unity/ |
D | unity_support.h | 34 # define TEST_ASSERT_EQUAL_COLOR(c1, c2) TEST_ASSERT_EQUAL_UINT32(c1.full, c2.fu… argument 35 # define TEST_ASSERT_EQUAL_COLOR_MESSAGE(c1, c2, msg) TEST_ASSERT_EQUAL_UINT32_MESSAGE(c1.ful… argument
|
/lvgl-latest/examples/widgets/canvas/ |
D | lv_example_canvas_2.c | 26 lv_color_t c1; in lv_example_canvas_2() local 29 c1.full = 1; in lv_example_canvas_2() 32 lv_canvas_fill_bg(canvas, c1, LV_OPA_COVER); in lv_example_canvas_2()
|
D | lv_example_canvas_2.py | 32 c1 = lv.color_t() variable 35 c1.full = 1 38 canvas.fill_bg(c1, lv.OPA.COVER)
|
/lvgl-latest/src/misc/ |
D | lv_color.h | 438 static inline lv_color_t LV_ATTRIBUTE_FAST_MEM lv_color_mix(lv_color_t c1, lv_color_t c2, uint8_t m… in lv_color_mix() argument 444 c1.full = c1.full << 8 | c1.full >> 8; in lv_color_mix() 451 uint32_t fg = (uint32_t)((uint32_t)c1.full | ((uint32_t)c1.full << 16)) & 0x7E0F81F; in lv_color_mix() 459 LV_COLOR_SET_R(ret, LV_UDIV255((uint16_t)LV_COLOR_GET_R(c1) * mix + LV_COLOR_GET_R(c2) * in lv_color_mix() 461 LV_COLOR_SET_G(ret, LV_UDIV255((uint16_t)LV_COLOR_GET_G(c1) * mix + LV_COLOR_GET_G(c2) * in lv_color_mix() 463 LV_COLOR_SET_B(ret, LV_UDIV255((uint16_t)LV_COLOR_GET_B(c1) * mix + LV_COLOR_GET_B(c2) * in lv_color_mix() 468 ret.full = mix > LV_OPA_50 ? c1.full : c2.full; in lv_color_mix() 511 lv_color_t c1; in lv_color_mix_premult() local 512 LV_COLOR_SET_R(c1, premult_c1[0]); in lv_color_mix_premult() 513 LV_COLOR_SET_G(c1, premult_c1[1]); in lv_color_mix_premult() [all …]
|
D | lv_area.c | 562 int32_t c1 = lv_trigo_sin(angle_low + 90); in lv_point_transform() local 566 cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_point_transform()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_obj_tree.c | 28 lv_color_t c1 = lv_color_hex(0x444444); in test_obj_tree_2() local 30 TEST_ASSERT_EQUAL_COLOR(c1, c2); in test_obj_tree_2()
|
/lvgl-latest/docs/overview/ |
D | color.md | 82 // Mix two colors with a given ratio 0: full c2, 255: full c1, 128: half c1 and half c2 83 lv_color_t c = lv_color_mix(c1, c2, ratio); 131 lv_color1_t c1; 132 c1.full = lv_color_to1(c); /*Return 1 for light colors, 0 for dark colors*/
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_transform.c | 98 int32_t c1 = lv_trigo_sin(angle_low + 90); in lv_draw_sw_transform() local 102 tr_dsc.cosma = (c1 * (10 - angle_rem) + c2 * angle_rem) / 10; in lv_draw_sw_transform()
|
/lvgl-latest/docs/widgets/extra/ |
D | chart.md | 118 A cursor can be added with `lv_chart_cursor_t * c1 = lv_chart_add_cursor(chart, color, dir);`.
|
/lvgl-latest/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 1429 #define stbtt_tag4(p,c0,c1,c2,c3) ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == … argument
|