/lvgl-latest/src/draw/nema_gfx/ |
D | lv_draw_nema_gfx_utils.c | 115 color_var_t colors[LV_GRADIENT_MAX_STOPS]; in lv_nemagfx_grad_set() local 121 colors[i].a = LV_OPA_MIX2(lv_grad.stops[i].opa, opa); in lv_nemagfx_grad_set() 122 colors[i].r = lv_grad.stops[i].color.red; in lv_nemagfx_grad_set() 123 colors[i].g = lv_grad.stops[i].color.green; in lv_nemagfx_grad_set() 124 colors[i].b = lv_grad.stops[i].color.blue; in lv_nemagfx_grad_set() 127 nema_vg_grad_set(gradient, cnt, stops, colors); in lv_nemagfx_grad_set()
|
D | lv_draw_nema_gfx_fill.c | 103 color_var_t colors[LV_GRADIENT_MAX_STOPS]; in lv_draw_nema_gfx_fill() local 109 colors[i].a = LV_OPA_MIX2(dsc->grad.stops[i].opa, dsc->opa); in lv_draw_nema_gfx_fill() 110 colors[i].r = dsc->grad.stops[i].color.red; in lv_draw_nema_gfx_fill() 111 colors[i].g = dsc->grad.stops[i].color.green; in lv_draw_nema_gfx_fill() 112 colors[i].b = dsc->grad.stops[i].color.blue; in lv_draw_nema_gfx_fill() 115 nema_vg_grad_set(draw_nema_gfx_unit->gradient, cnt, stops, colors); in lv_draw_nema_gfx_fill()
|
D | lv_draw_nema_gfx_triangle.c | 104 color_var_t colors[LV_GRADIENT_MAX_STOPS]; in lv_draw_nema_gfx_triangle() local 110 colors[i].a = dsc->bg_grad.stops[i].opa; in lv_draw_nema_gfx_triangle() 111 colors[i].r = dsc->bg_grad.stops[i].color.red; in lv_draw_nema_gfx_triangle() 112 colors[i].g = dsc->bg_grad.stops[i].color.green; in lv_draw_nema_gfx_triangle() 113 colors[i].b = dsc->bg_grad.stops[i].color.blue; in lv_draw_nema_gfx_triangle() 116 nema_vg_grad_set(draw_nema_gfx_unit->gradient, cnt, stops, colors); in lv_draw_nema_gfx_triangle()
|
/lvgl-latest/docs/details/main-components/ |
D | color.rst | 8 depth, creating colors from hex code, converting between color depths, 9 mixing colors, etc. 24 Create colors from Red, Green and Blue channel values: 44 Create colors from Hue, Saturation and Value values: 63 LVGL includes `Material Design's palette <https://vuetifyjs.com/en/styles/colors/#material-colors>`… 64 colors. In this system all named colors have a nominal main color as 67 The names of the colors are as follows: 100 Modify and mix colors 117 // Mix two colors with a given ratio 0: full c2, 255: full c1, 128: half c1 and half c2 122 Built-in colors
|
D | draw.rst | 11 Drawing is writing pixel colors into a buffer where they will be delivered to a 12 display panel as pixels. Sometimes it involves computing those colors before they 13 are written (e.g. combining them with other colors when an object has partial opacity).
|
/lvgl-latest/src/misc/ |
D | lv_palette.c | 37 static const lv_color_t colors[] = { in lv_palette_main() local 50 return colors[p]; in lv_palette_main() 56 static const lv_color_t colors[][5] = { in lv_palette_lighten() local 90 return colors[p][lvl]; in lv_palette_lighten() 95 static const lv_color_t colors[][4] = { in lv_palette_darken() local 129 return colors[p][lvl]; in lv_palette_darken()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_margin_grid.c | 56 static lv_palette_t colors[] = { in test_grid() local 79 … lv_palette_main(colors[(i * M + j) % ((sizeof colors) / (sizeof(lv_palette_t)))])); in test_grid()
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_draw_vglite_triangle.c | 128 vg_lite_uint32_t colors[LV_GRADIENT_MAX_STOPS]; in _vglite_draw_triangle() local 141 colors[i] = vglite_get_color(col32[i], true); in _vglite_draw_triangle() 148 VGLITE_CHECK_ERROR(vg_lite_set_grad(&gradient, cnt, colors, stops)); in _vglite_draw_triangle()
|
D | lv_draw_vglite_fill.c | 179 vg_lite_uint32_t colors[LV_GRADIENT_MAX_STOPS]; in _vglite_draw_rect() local 193 colors[i] = vglite_get_color(col32[i], true); in _vglite_draw_rect() 200 VGLITE_CHECK_ERROR(vg_lite_set_grad(&gradient, cnt, colors, stops)); in _vglite_draw_rect()
|
/lvgl-latest/src/others/vg_lite_tvg/ |
D | vg_lite_tvg.cpp | 197 void set_CLUT(vg_lite_uint32_t count, const vg_lite_uint32_t * colors) in set_CLUT() argument 201 memcpy(clut_2colors, colors, sizeof(clut_2colors)); in set_CLUT() 204 memcpy(clut_4colors, colors, sizeof(clut_4colors)); in set_CLUT() 207 memcpy(clut_16colors, colors, sizeof(clut_16colors)); in set_CLUT() 210 memcpy(clut_256colors, colors, sizeof(clut_256colors)); in set_CLUT() 1107 vg_lite_uint32_t * colors) in vg_lite_set_CLUT() argument 1112 LV_ASSERT(colors); in vg_lite_set_CLUT() 1115 ctx->set_CLUT(count, colors); in vg_lite_set_CLUT() 1745 vg_lite_uint32_t * colors, in vg_lite_set_grad() argument 1751 if(!count || count > VLC_MAX_GRADIENT_STOPS || colors == NULL || stops == NULL) in vg_lite_set_grad() [all …]
|
D | vg_lite.h | 884 vg_lite_uint32_t colors[VLC_MAX_GRADIENT_STOPS]; /*! Colors for stops. */ member 1124 vg_lite_error_t vg_lite_set_CLUT(vg_lite_uint32_t count, vg_lite_uint32_t *colors); 1154 vg_lite_uint32_t *colors,
|
/lvgl-latest/docs/details/libs/ |
D | lodepng.rst | 28 PNG file format supports True color (24/32 bit), and 8-bit palette colors. 31 the image by using 8-bit palette colors, instead of 24/32 bit True color format.
|
/lvgl-latest/libs/nema_gfx/include/ |
D | nema_vg_paint.h | 235 nema_vg_grad_set(NEMA_VG_GRAD_HANDLE grad, int stops_count, float *stops, color_var_t* colors);
|
/lvgl-latest/src/libs/gif/ |
D | gifdec.h | 15 uint8_t colors[0x100 * 3]; member
|
D | gifdec.c | 140 f_gif_read(gif, gif->gct.colors, 3 * gif->gct.size); in gif_open() 148 bgcolor = &gif->palette->colors[gif->bgindex * 3]; in gif_open() 651 f_gif_read(gif, gif->lct.colors, 3 * gif->lct.size); in read_image() 666 &gif->frame[i], gif->palette->colors, in render_frame_rect() 675 color = &gif->palette->colors[index * 3]; in render_frame_rect() 695 bgcolor = &gif->palette->colors[gif->bgindex * 3]; in dispose()
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_span.c | 435 const lv_color_t colors[] = { in test_spangroup_get_span_coords() local 441 const uint32_t color_count = sizeof(colors) / sizeof(colors[0]); in test_spangroup_get_span_coords() 450 const lv_color_t color = colors[i % color_count]; in test_spangroup_get_span_coords()
|
/lvgl-latest/docs/details/widgets/ |
D | canvas.rst | 47 Indexed colors 69 doesn't support colors (e.g. :cpp:enumerator:`LV_COLOR_FORMAT_A8`) the color will be
|
D | spangroup.rst | 13 different fonts, colors, and sizes into the Spangroup Widget.
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgSwFill.cpp | 138 const Fill::ColorStop* colors; in _updateColorTable() local 139 auto cnt = fdata->colorStops(&colors); in _updateColorTable() 140 if (cnt == 0 || !colors) return false; in _updateColorTable() 142 auto pColors = colors; in _updateColorTable() 175 auto curr = colors + j; in _updateColorTable() 849 const Fill::ColorStop* colors; in fillFetchSolid() local 850 auto cnt = fdata->colorStops(&colors); in fillFetchSolid() 851 if (cnt == 0 || !colors) return nullptr; in fillFetchSolid() 853 return colors + cnt - 1; in fillFetchSolid()
|
D | tvgSvgLoader.cpp | 436 } colors[] = { variable 746 for (unsigned int i = 0; i < (sizeof(colors) / sizeof(colors[0])); i++) { in _toColor() 747 if (!strcasecmp(colors[i].name, str)) { in _toColor() 748 *r = (((uint8_t*)(&(colors[i].value)))[2]); in _toColor() 749 *g = (((uint8_t*)(&(colors[i].value)))[1]); in _toColor() 750 *b = (((uint8_t*)(&(colors[i].value)))[0]); in _toColor()
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_gradient.h | 71 void lv_gradient_init_stops(lv_grad_dsc_t * grad, const lv_color_t colors[], const lv_opa_t opa[],
|
D | lv_draw_sw_gradient.c | 222 void lv_gradient_init_stops(lv_grad_dsc_t * grad, const lv_color_t colors[], const lv_opa_t opa[], in lv_gradient_init_stops() argument 228 grad->stops[i].color = colors[i]; in lv_gradient_init_stops()
|
/lvgl-latest/src/draw/vg_lite/ |
D | lv_vg_lite_grad.c | 394 vg_lite_uint32_t colors[VLC_MAX_GRADIENT_STOPS]; in linear_grad_create() local 410 colors[i] = lv_vg_lite_color(grad_color, opa, true); in linear_grad_create() 413 LV_VG_LITE_CHECK_ERROR(vg_lite_set_grad(&item->vg.linear, item->lv.stops_count, colors, stops)); in linear_grad_create()
|
/lvgl-latest/tests/ |
D | README.md | 55 - `TEST_ASSERT_EQUAL_COLOR(color1, color2)` Compare two colors.
|
/lvgl-latest/docs/details/integration/driver/ |
D | opengles.rst | 215 due to Widgets with continuously varying colors or shapes. One example is a label whose color
|