Home
last modified time | relevance | path

Searched +full:- +full:y (Results 1 – 25 of 198) sorted by relevance

12345678

/lvgl-latest/src/draw/sw/
Dlv_draw_sw_blend.c98 if(dsc->opa <= LV_OPA_MIN) return; in lv_draw_sw_blend()
101 if(!_lv_area_intersect(&blend_area, dsc->blend_area, draw_ctx->clip_area)) return; in lv_draw_sw_blend()
103 if(draw_ctx->wait_for_finish) draw_ctx->wait_for_finish(draw_ctx); in lv_draw_sw_blend()
105 ((lv_draw_sw_ctx_t *)draw_ctx)->blend(draw_ctx, dsc); in lv_draw_sw_blend()
112 if(dsc->mask_buf == NULL) mask = NULL; in lv_draw_sw_blend_basic()
113 if(dsc->mask_buf && dsc->mask_res == LV_DRAW_MASK_RES_TRANSP) return; in lv_draw_sw_blend_basic()
114 else if(dsc->mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask = NULL; in lv_draw_sw_blend_basic()
115 else mask = dsc->mask_buf; in lv_draw_sw_blend_basic()
117 lv_coord_t dest_stride = lv_area_get_width(draw_ctx->buf_area); in lv_draw_sw_blend_basic()
120 if(!_lv_area_intersect(&blend_area, dsc->blend_area, draw_ctx->clip_area)) return; in lv_draw_sw_blend_basic()
[all …]
Dlv_draw_sw_rect.c55 static int32_t sh_cache_size = -1;
56 static int32_t sh_cache_r = -1;
86 lv_memset_00(draw_ctx->buf, lv_area_get_size(draw_ctx->buf_area) * sizeof(lv_color_t)); in lv_draw_sw_bg()
99 if(dsc->bg_opa <= LV_OPA_MIN) return; in draw_bg()
105 if(dsc->border_width > 1 && dsc->border_opa >= LV_OPA_MAX && dsc->radius != 0) { in draw_bg()
106 bg_coords.x1 += (dsc->border_side & LV_BORDER_SIDE_LEFT) ? 1 : 0; in draw_bg()
107 bg_coords.y1 += (dsc->border_side & LV_BORDER_SIDE_TOP) ? 1 : 0; in draw_bg()
108 bg_coords.x2 -= (dsc->border_side & LV_BORDER_SIDE_RIGHT) ? 1 : 0; in draw_bg()
109 bg_coords.y2 -= (dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? 1 : 0; in draw_bg()
113 if(!_lv_area_intersect(&clipped_coords, &bg_coords, draw_ctx->clip_area)) return; in draw_bg()
[all …]
Dlv_draw_sw_line.c55 if(dsc->width == 0) return; in lv_draw_sw_line()
56 if(dsc->opa <= LV_OPA_MIN) return; in lv_draw_sw_line()
58 if(point1->x == point2->x && point1->y == point2->y) return; in lv_draw_sw_line()
61 clip_line.x1 = LV_MIN(point1->x, point2->x) - dsc->width / 2; in lv_draw_sw_line()
62 clip_line.x2 = LV_MAX(point1->x, point2->x) + dsc->width / 2; in lv_draw_sw_line()
63 clip_line.y1 = LV_MIN(point1->y, point2->y) - dsc->width / 2; in lv_draw_sw_line()
64 clip_line.y2 = LV_MAX(point1->y, point2->y) + dsc->width / 2; in lv_draw_sw_line()
67 is_common = _lv_area_intersect(&clip_line, &clip_line, draw_ctx->clip_area); in lv_draw_sw_line()
69 const lv_area_t * clip_area_ori = draw_ctx->clip_area; in lv_draw_sw_line()
70 draw_ctx->clip_area = &clip_line; in lv_draw_sw_line()
[all …]
Dlv_draw_sw_arc.c64 if(dsc->opa <= LV_OPA_MIN) return; in lv_draw_sw_arc()
65 if(dsc->width == 0) return; in lv_draw_sw_arc()
68 lv_coord_t width = dsc->width; in lv_draw_sw_arc()
73 cir_dsc.blend_mode = dsc->blend_mode; in lv_draw_sw_arc()
74 if(dsc->img_src) { in lv_draw_sw_arc()
76 cir_dsc.bg_img_src = dsc->img_src; in lv_draw_sw_arc()
77 cir_dsc.bg_img_opa = dsc->opa; in lv_draw_sw_arc()
80 cir_dsc.bg_opa = dsc->opa; in lv_draw_sw_arc()
81 cir_dsc.bg_color = dsc->color; in lv_draw_sw_arc()
85 area_out.x1 = center->x - radius; in lv_draw_sw_arc()
[all …]
Dlv_draw_sw_polygon.c60 for(i = 0; i < point_cnt - 1; i++) { in lv_draw_sw_polygon()
61 if(points[i].x != points[i + 1].x || points[i].y != points[i + 1].y) { in lv_draw_sw_polygon()
67 if(points[0].x != points[point_cnt - 1].x || points[0].y != points[point_cnt - 1].y) { in lv_draw_sw_polygon()
68 p[pcnt] = points[point_cnt - 1]; in lv_draw_sw_polygon()
82 poly_coords.y1 = LV_MIN(poly_coords.y1, p[i].y); in lv_draw_sw_polygon()
84 poly_coords.y2 = LV_MAX(poly_coords.y2, p[i].y); in lv_draw_sw_polygon()
89 is_common = _lv_area_intersect(&clip_area, &poly_coords, draw_ctx->clip_area); in lv_draw_sw_polygon()
95 const lv_area_t * clip_area_ori = draw_ctx->clip_area; in lv_draw_sw_polygon()
96 draw_ctx->clip_area = &clip_area; in lv_draw_sw_polygon()
99 lv_coord_t y_min = p[0].y; in lv_draw_sw_polygon()
[all …]
/lvgl-latest/src/core/
Dlv_obj_pos.c44 void lv_obj_set_pos(lv_obj_t * obj, lv_coord_t x, lv_coord_t y) in lv_obj_set_pos() argument
49 lv_obj_set_y(obj, y); in lv_obj_set_pos()
66 void lv_obj_set_y(lv_obj_t * obj, lv_coord_t y) in lv_obj_set_y() argument
75 if((res_y == LV_RES_OK && v_y.num != y) || res_y == LV_RES_INV) { in lv_obj_set_y()
76 lv_obj_set_style_y(obj, y, 0); in lv_obj_set_y()
85 if(obj->w_layout && obj->h_layout) return false; in lv_obj_refr_size()
95 if(obj->w_layout) { in lv_obj_refr_size()
110 if(parent->w_layout == 0 && lv_obj_get_style_width(parent, 0) == LV_SIZE_CONTENT) { in lv_obj_refr_size()
129 if(obj->h_layout) { in lv_obj_refr_size()
144 if(parent->h_layout == 0 && lv_obj_get_style_height(parent, 0) == LV_SIZE_CONTENT) { in lv_obj_refr_size()
[all …]
Dlv_indev.c70 indev_act = timer->user_data; in lv_indev_read_timer_cb()
73 if(indev_act->driver->disp == NULL) return; /*Not assigned to any displays*/ in lv_indev_read_timer_cb()
78 if(indev_act->proc.disabled || in lv_indev_read_timer_cb()
79 … indev_act->driver->disp->prev_scr != NULL) return; /*Input disabled or screen animation active*/ in lv_indev_read_timer_cb()
90 indev_act->proc.state = data.state; in lv_indev_read_timer_cb()
93 if(indev_act->proc.state == LV_INDEV_STATE_PRESSED) { in lv_indev_read_timer_cb()
94 indev_act->driver->disp->last_activity_time = lv_tick_get(); in lv_indev_read_timer_cb()
96 else if(indev_act->driver->type == LV_INDEV_TYPE_ENCODER && data.enc_diff) { in lv_indev_read_timer_cb()
97 indev_act->driver->disp->last_activity_time = lv_tick_get(); in lv_indev_read_timer_cb()
100 if(indev_act->driver->type == LV_INDEV_TYPE_POINTER) { in lv_indev_read_timer_cb()
[all …]
Dlv_indev_scroll.c48 if(proc->types.pointer.vect.x == 0 && proc->types.pointer.vect.y == 0) { in _lv_indev_scroll_handler()
52 lv_obj_t * scroll_obj = proc->types.pointer.scroll_obj; in _lv_indev_scroll_handler()
61 if(proc->reset_query) return; in _lv_indev_scroll_handler()
75 angle = -angle; in _lv_indev_scroll_handler()
78 lv_point_transform(&proc->types.pointer.vect, angle, zoom, &pivot); in _lv_indev_scroll_handler()
83 if(proc->types.pointer.scroll_dir == LV_DIR_HOR) { in _lv_indev_scroll_handler()
86 diff_x = elastic_diff(scroll_obj, proc->types.pointer.vect.x, sl, sr, LV_DIR_HOR); in _lv_indev_scroll_handler()
91 diff_y = elastic_diff(scroll_obj, proc->types.pointer.vect.y, st, sb, LV_DIR_VER); in _lv_indev_scroll_handler()
104 if(proc->reset_query) return; in _lv_indev_scroll_handler()
105 proc->types.pointer.scroll_sum.x += diff_x; in _lv_indev_scroll_handler()
[all …]
/lvgl-latest/src/misc/
Dlv_area.c50 area_p->x1 = x1; in lv_area_set()
51 area_p->y1 = y1; in lv_area_set()
52 area_p->x2 = x2; in lv_area_set()
53 area_p->y2 = y2; in lv_area_set()
63 area_p->x2 = area_p->x1 + w - 1; in lv_area_set_width()
73 area_p->y2 = area_p->y1 + h - 1; in lv_area_set_height()
80 * @param y the new y coordinate of the area
82 void _lv_area_set_pos(lv_area_t * area_p, lv_coord_t x, lv_coord_t y) in _lv_area_set_pos() argument
86 area_p->x1 = x; in _lv_area_set_pos()
87 area_p->y1 = y; in _lv_area_set_pos()
[all …]
/lvgl-latest/src/extra/widgets/chart/
Dlv_chart.c80 if(chart->type == type) return; in lv_chart_set_type()
82 if(chart->type == LV_CHART_TYPE_SCATTER) { in lv_chart_set_type()
84 _LV_LL_READ_BACK(&chart->series_ll, ser) { in lv_chart_set_type()
85 lv_mem_free(ser->x_points); in lv_chart_set_type()
86 ser->x_points = NULL; in lv_chart_set_type()
92 _LV_LL_READ_BACK(&chart->series_ll, ser) { in lv_chart_set_type()
93 ser->x_points = lv_mem_alloc(sizeof(lv_point_t) * chart->point_cnt); in lv_chart_set_type()
94 LV_ASSERT_MALLOC(ser->x_points); in lv_chart_set_type()
95 if(ser->x_points == NULL) return; in lv_chart_set_type()
99 chart->type = type; in lv_chart_set_type()
[all …]
/lvgl-latest/src/widgets/
Dlv_canvas.c73 canvas->dsc.header.cf = cf; in lv_canvas_set_buffer()
74 canvas->dsc.header.w = w; in lv_canvas_set_buffer()
75 canvas->dsc.header.h = h; in lv_canvas_set_buffer()
76 canvas->dsc.data = buf; in lv_canvas_set_buffer()
78 lv_img_set_src(obj, &canvas->dsc); in lv_canvas_set_buffer()
79 lv_img_cache_invalidate_src(&canvas->dsc); in lv_canvas_set_buffer()
82 void lv_canvas_set_px_color(lv_obj_t * obj, lv_coord_t x, lv_coord_t y, lv_color_t c) in lv_canvas_set_px_color() argument
88 lv_img_buf_set_px_color(&canvas->dsc, x, y, c); in lv_canvas_set_px_color()
92 void lv_canvas_set_px_opa(lv_obj_t * obj, lv_coord_t x, lv_coord_t y, lv_opa_t opa) in lv_canvas_set_px_opa() argument
98 lv_img_buf_set_px_alpha(&canvas->dsc, x, y, opa); in lv_canvas_set_px_opa()
[all …]
Dlv_label.c93 if(text == NULL) text = label->text; in lv_label_set_text()
95 if(label->text == text && label->static_txt == 0) { in lv_label_set_text()
101 label->text = lv_mem_realloc(label->text, len); in lv_label_set_text()
102 LV_ASSERT_MALLOC(label->text); in lv_label_set_text()
103 if(label->text == NULL) return; in lv_label_set_text()
105 _lv_txt_ap_proc(label->text, label->text); in lv_label_set_text()
107 label->text = lv_mem_realloc(label->text, strlen(label->text) + 1); in lv_label_set_text()
110 LV_ASSERT_MALLOC(label->text); in lv_label_set_text()
111 if(label->text == NULL) return; in lv_label_set_text()
115 if(label->text != NULL && label->static_txt == 0) { in lv_label_set_text()
[all …]
Dlv_img.c98 if(img->src_type == LV_IMG_SRC_SYMBOL || img->src_type == LV_IMG_SRC_FILE) { in lv_img_set_src()
99 lv_mem_free((void *)img->src); in lv_img_set_src()
101 img->src = NULL; in lv_img_set_src()
102 img->src_type = LV_IMG_SRC_UNKNOWN; in lv_img_set_src()
112 if(img->src_type == LV_IMG_SRC_FILE || img->src_type == LV_IMG_SRC_SYMBOL) { in lv_img_set_src()
113 lv_mem_free((void *)img->src); in lv_img_set_src()
115 img->src = src; in lv_img_set_src()
119 if(img->src != src) { in lv_img_set_src()
124 if(img->src_type == LV_IMG_SRC_FILE || img->src_type == LV_IMG_SRC_SYMBOL) { in lv_img_set_src()
125 old_src = img->src; in lv_img_set_src()
[all …]
/lvgl-latest/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1 // stb_truetype.h - v1.26htcw (fork to enable streaming and low memory environments)
2 // stb_truetype.h - v1.26 - public domain
3 // authored from 2009-2021 by Sean Barrett / RAD Game Tools
7 // NO SECURITY GUARANTEE -- DO NOT USE THIS ON UNTRUSTED FONT FILES
18 // render glyphs to one-channel bitmaps with antialiasing (box filter)
19 // render glyphs to one-channel SDF bitmaps (signed-distance field/function)
22 // non-MS cmaps
25 // cleartype-style AA?
27 // optimize: build edge-list directly from curves
35 // Daniel Ribeiro Maciel: basic GPOS-based kerning
[all …]
Dstb_rect_pack.h1 // stb_rect_pack.h - v1.01 - public domain - rectangle packing
24 // This library currently uses the Skyline Bottom-Left algorithm.
44 // 1.01 (2021-07-11) always use large rect mode, expose STBRP__MAXVAL in public section
45 // 1.00 (2019-02-25) avoid small space waste; gracefully fail too-wide rectangles
46 // 0.99 (2019-02-07) warning fixes
47 // 0.11 (2017-03-03) return packing success/fail result
48 // 0.10 (2016-10-25) remove cast-away-const to avoid warnings
49 // 0.09 (2016-08-27) fix compiler warnings
50 // 0.08 (2015-09-13) really fix bug with empty rects (w=0 or h=0)
51 // 0.07 (2015-09-13) fix bug with empty rects (w=0 or h=0)
[all …]
/lvgl-latest/src/draw/
Dlv_draw_mask.c59 static lv_opa_t * get_next_line(_lv_draw_mask_radius_circle_dsc_t * c, lv_coord_t y, lv_coord_t * l…
104 * @param abs_y absolute Y coordinate where the line to calculate start
107 * - `LV_DRAW_MASK_RES_FULL_TRANSP`: the whole line is transparent. `mask_buf` is not set to zero
108 * - `LV_DRAW_MASK_RES_FULL_COVER`: the whole line is fully visible. `mask_buf` is unchanged
109 …* - `LV_DRAW_MASK_RES_CHANGED`: `mask_buf` has changed, it shows the desired opacity of each pixel…
119 while(m->param) { in lv_draw_mask_apply()
120 dsc = m->param; in lv_draw_mask_apply()
122 res = dsc->cb(mask_buf, abs_x, abs_y, len, (void *)m->param); in lv_draw_mask_apply()
136 * @param abs_y absolute Y coordinate where the line to calculate start
141 * - `LV_DRAW_MASK_RES_FULL_TRANSP`: the whole line is transparent. `mask_buf` is not set to zero
[all …]
Dlv_img_buf.c41 lv_color_t lv_img_buf_get_px_color(const lv_img_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_color_t… in lv_img_buf_get_px_color() argument
44 uint8_t * buf_u8 = (uint8_t *)dsc->data; in lv_img_buf_get_px_color()
46 …if(dsc->header.cf == LV_IMG_CF_TRUE_COLOR || dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED || in lv_img_buf_get_px_color()
47 dsc->header.cf == LV_IMG_CF_TRUE_COLOR_ALPHA || dsc->header.cf == LV_IMG_CF_RGB565A8) { in lv_img_buf_get_px_color()
48 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf) >> 3; in lv_img_buf_get_px_color()
49 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_get_px_color()
55 else if(dsc->header.cf == LV_IMG_CF_INDEXED_1BIT) { in lv_img_buf_get_px_color()
61 *dsc->header.w + 7 means rounding up to 8 because the lines are byte aligned in lv_img_buf_get_px_color()
63 uint32_t px = ((dsc->header.w + 7) >> 3) * y + x; in lv_img_buf_get_px_color()
64 p_color.full = (buf_u8[px] & (1 << (7 - bit))) >> (7 - bit); in lv_img_buf_get_px_color()
[all …]
Dlv_draw_arc.c39 dsc->width = 1; in lv_draw_arc_dsc_init()
40 dsc->opa = LV_OPA_COVER; in lv_draw_arc_dsc_init()
41 dsc->color = lv_color_black(); in lv_draw_arc_dsc_init()
47 if(dsc->opa <= LV_OPA_MIN) return; in lv_draw_arc()
48 if(dsc->width == 0) return; in lv_draw_arc()
51 draw_ctx->draw_arc(draw_ctx, dsc, center, radius, start_angle, end_angle); in lv_draw_arc()
54 // backend->draw_arc(center_x, center_y, radius, start_angle, end_angle, clip_area, dsc); in lv_draw_arc()
57 void lv_draw_arc_get_area(lv_coord_t x, lv_coord_t y, uint16_t radius, uint16_t start_angle, uint1… in lv_draw_arc_get_area() argument
64 area->x1 = x - rout; in lv_draw_arc_get_area()
65 area->y1 = y - rout; in lv_draw_arc_get_area()
[all …]
Dlv_img_decoder.c34 …s_t lv_img_decoder_built_in_line_true_color(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y,
36 …lv_res_t lv_img_decoder_built_in_line_alpha(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y,
38 …_res_t lv_img_decoder_built_in_line_indexed(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y,
92 if(img_dsc->data == NULL) return LV_RES_INV; in lv_img_decoder_get_info()
98 if(d->info_cb) { in lv_img_decoder_get_info()
99 res = d->info_cb(d, src, header); in lv_img_decoder_get_info()
115 if(img_dsc->data == NULL) return LV_RES_INV; in lv_img_decoder_open()
118 dsc->color = color; in lv_img_decoder_open()
119 dsc->src_type = src_type; in lv_img_decoder_open()
120 dsc->frame_id = frame_id; in lv_img_decoder_open()
[all …]
Dlv_draw_label.c21 #define LV_LABEL_HINT_UPDATE_TH 1024 /*Update the "hint" if the label's y coordinates have changed …
58 dsc->opa = LV_OPA_COVER; in lv_draw_label_dsc_init()
59 dsc->color = lv_color_black(); in lv_draw_label_dsc_init()
60 dsc->font = LV_FONT_DEFAULT; in lv_draw_label_dsc_init()
61 dsc->sel_start = LV_DRAW_LABEL_NO_TXT_SEL; in lv_draw_label_dsc_init()
62 dsc->sel_end = LV_DRAW_LABEL_NO_TXT_SEL; in lv_draw_label_dsc_init()
63 dsc->sel_color = lv_color_black(); in lv_draw_label_dsc_init()
64 dsc->sel_bg_color = lv_palette_main(LV_PALETTE_BLUE); in lv_draw_label_dsc_init()
65 dsc->bidi_dir = LV_BASE_DIR_LTR; in lv_draw_label_dsc_init()
80 if(dsc->opa <= LV_OPA_MIN) return; in lv_draw_label()
[all …]
/lvgl-latest/src/extra/libs/qrcode/
Dqrcodegen.c5 * https://www.nayuki.io/page/qr-code-generator-library
13 * - The above copyright notice and this permission notice shall be included in
15 * - The Software is provided "as is", without warranty of any kind, express or
37 /*---- Forward declarations for private functions ----*/
40 // - They require all pointer/array arguments to be not null unless the array length is zero.
41 // - They only read input scalar/array arguments, write to output pointer/array
43 // - They don't read mutable global variables or write to any global variables.
44 // - They don't perform I/O, read the clock, print to console, etc.
45 // - They allocate a small and constant amount of stack memory.
46 // - They don't allocate or free any memory on the heap.
[all …]
/lvgl-latest/
DKconfig41 … bool "Swap the 2 bytes of RGB565 color. Useful if the display has an 8-bit interface (e.g. SPI)."
72 …bool "If true use custom malloc/free, otherwise use the built-in `lv_mem_alloc()` and `lv_mem_free…
134 default y
153 The circumference of 1/4 circle are saved for anti-aliasing
171 … If only the built-in image formats are used there is no real advantage of caching.
217 … bool "Enable Arm's 2D image processing library (Arm-2D) for all Cortex-M processors."
220 Must deploy arm-2d library to your project and add include PATH for "arm_2d.h".
262 to use FreeRTOS OSA, otherwise bare-metal implementation is
268 bool "Use NXP's VG-Lite GPU iMX RTxxx platforms."
326 default y
[all …]
/lvgl-latest/src/extra/widgets/meter/
Dlv_meter.c71 lv_meter_scale_t * scale = _lv_ll_ins_head(&meter->scale_ll); in lv_meter_add_scale()
75 scale->angle_range = 270; in lv_meter_add_scale()
76 scale->rotation = 90 + (360 - scale->angle_range) / 2; in lv_meter_add_scale()
77 scale->min = 0; in lv_meter_add_scale()
78 scale->max = 100; in lv_meter_add_scale()
79 scale->tick_cnt = 6; in lv_meter_add_scale()
80 scale->tick_length = 8; in lv_meter_add_scale()
81 scale->tick_width = 2; in lv_meter_add_scale()
82 scale->label_gap = 2; in lv_meter_add_scale()
90 scale->tick_cnt = cnt; in lv_meter_set_scale_ticks()
[all …]
/lvgl-latest/tests/unity/
Dunity_support.c4 * Copyright 2002-2010 Guillaume Cottenceau.
31 #define ERR_FILE_NOT_FOUND -1
32 #define ERR_PNG -2
98 int x, y, i_buf = 0; in lv_test_assert_img_eq() local
99 for(y = 0; y < p.height; y++) { in lv_test_assert_img_eq()
100 png_byte * row = p.row_pointers[y]; in lv_test_assert_img_eq()
126 fn_ref_no_ext[strlen(fn_ref_no_ext) - 4] = '\0'; in lv_test_assert_img_eq()
162 p->png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); in read_png_file()
164 if(!p->png_ptr) { in read_png_file()
169 p->info_ptr = png_create_info_struct(p->png_ptr); in read_png_file()
[all …]
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite_arc.c9 * Copyright 2021-2023 NXP
67 int32_t quarter; /* 0-3 counter-clockwise */
90 static void rotate_point(int32_t angle, int32_t * x, int32_t * y);
110 lv_color32_t col32 = {.full = lv_color_to32(dsc->color)}; /*Convert color to RGBA8888*/ in lv_gpu_nxp_vglite_draw_arc()
113 bool donut = ((end_angle - start_angle) % 360 == 0) ? true : false; in lv_gpu_nxp_vglite_draw_arc()
121 lv_coord_t width = dsc->width; /* inner arc radius = outer arc radius - width */ in lv_gpu_nxp_vglite_draw_arc()
133 arc_path[pidx++] = center->x + cp_x; in lv_gpu_nxp_vglite_draw_arc()
134 arc_path[pidx++] = center->y + cp_y; in lv_gpu_nxp_vglite_draw_arc()
136 /* draw 1-5 outer quarters */ in lv_gpu_nxp_vglite_draw_arc()
145 arc_path[pidx++] = center->x + cp_x; in lv_gpu_nxp_vglite_draw_arc()
[all …]

12345678