Home
last modified time | relevance | path

Searched refs:colors (Results 1 – 25 of 36) sorted by relevance

12

/lvgl-latest/src/draw/nema_gfx/
Dlv_draw_nema_gfx_utils.c115 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()
Dlv_draw_nema_gfx_fill.c103 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()
Dlv_draw_nema_gfx_triangle.c104 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/
Dcolor.rst8 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
Ddraw.rst11 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/
Dlv_palette.c37 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/
Dtest_margin_grid.c56 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/
Dlv_draw_vglite_triangle.c128 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()
Dlv_draw_vglite_fill.c179 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/
Dvg_lite_tvg.cpp197 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 …]
Dvg_lite.h884 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/
Dlodepng.rst28 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/
Dnema_vg_paint.h235 nema_vg_grad_set(NEMA_VG_GRAD_HANDLE grad, int stops_count, float *stops, color_var_t* colors);
/lvgl-latest/src/libs/gif/
Dgifdec.h15 uint8_t colors[0x100 * 3]; member
Dgifdec.c140 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/
Dtest_span.c435 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/
Dcanvas.rst47 Indexed colors
69 doesn't support colors (e.g. :cpp:enumerator:`LV_COLOR_FORMAT_A8`) the color will be
Dspangroup.rst13 different fonts, colors, and sizes into the Spangroup Widget.
/lvgl-latest/src/libs/thorvg/
DtvgSwFill.cpp138 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()
DtvgSvgLoader.cpp436 } 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/
Dlv_draw_sw_gradient.h71 void lv_gradient_init_stops(lv_grad_dsc_t * grad, const lv_color_t colors[], const lv_opa_t opa[],
Dlv_draw_sw_gradient.c222 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/
Dlv_vg_lite_grad.c394 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/
DREADME.md55 - `TEST_ASSERT_EQUAL_COLOR(color1, color2)` Compare two colors.
/lvgl-latest/docs/details/integration/driver/
Dopengles.rst215 due to Widgets with continuously varying colors or shapes. One example is a label whose color

12