/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_blend.c | 84 #define MAP_NORMAL_MASK_PX(x) \ argument 86 if(*mask_tmp_x == LV_OPA_COVER) dest_buf[x] = src_buf[x]; \ 87 else dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], *mask_tmp_x); \ 215 int32_t x; in fill_set_px() local 220 for(x = blend_area->x1; x <= blend_area->x2; x++) { in fill_set_px() 221 … disp->driver->set_px_cb(disp->driver, (void *)dest_buf, dest_stride, x, y, color, opa); in fill_set_px() 230 for(x = 0; x < w; x++) { in fill_set_px() 231 if(mask[x]) { in fill_set_px() 233 …er->set_px_cb(disp->driver, (void *)dest_buf, dest_stride, blend_area->x1 + x, blend_area->y1 + y,… in fill_set_px() 234 (uint32_t)((uint32_t)opa * mask[x]) >> 8); in fill_set_px() [all …]
|
D | lv_draw_sw_transform.c | 42 * @param xin X coordinate to rotate 44 * @param xout upscaled, transformed X 105 tr_dsc.pivot_x_256 = tr_dsc.pivot.x * 256; in lv_draw_sw_transform() 171 lv_coord_t x; in rgb_no_aa() local 172 for(x = 0; x < x_end; x++) { in rgb_no_aa() 173 xs_ups = xs_ups_start + ((xs_step * x) >> 8); in rgb_no_aa() 174 ys_ups = ys_ups_start + ((ys_step * x) >> 8); in rgb_no_aa() 179 abuf[x] = 0x00; in rgb_no_aa() 186 cbuf[x].full = src_tmp[0]; in rgb_no_aa() 190 cbuf[x] = *src_tmp; in rgb_no_aa() [all …]
|
D | lv_draw_sw_line.c | 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() 73 else if(point1->x == point2->x) draw_line_ver(draw_ctx, dsc, point1, point2); in lv_draw_sw_line() 88 cir_area.x1 = point1->x - r; in lv_draw_sw_line() 90 cir_area.x2 = point1->x + r - r_corr; in lv_draw_sw_line() 96 cir_area.x1 = point2->x - r; in lv_draw_sw_line() 98 cir_area.x2 = point2->x + r - r_corr; in lv_draw_sw_line() 119 blend_area.x1 = LV_MIN(point1->x, point2->x); in draw_line_hor() 120 blend_area.x2 = LV_MAX(point1->x, point2->x) - 1; in draw_line_hor() [all …]
|
D | lv_draw_sw_dither.c | 19 void LV_ATTRIBUTE_FAST_MEM lv_dither_none(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_coord_t … in lv_dither_none() argument 21 LV_UNUSED(x); in lv_dither_none() 41 void LV_ATTRIBUTE_FAST_MEM lv_dither_ordered_hor(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_c… in lv_dither_ordered_hor() argument 43 LV_UNUSED(x); in lv_dither_ordered_hor() 65 void LV_ATTRIBUTE_FAST_MEM lv_dither_ordered_ver(lv_grad_t * grad, lv_coord_t x, lv_coord_t y, lv_c… in lv_dither_ordered_ver() argument 80 int8_t factor = dither_ordered_threshold_matrix[(y & 7) * 8 + ((j + x) & 7)] - 32; in lv_dither_ordered_ver() 107 Coefs are: x 7 in lv_dither_err_diff_hor() 110 Can be implemented as: x (x<<3 - x) in lv_dither_err_diff_hor() 111 (x<<2 - x) (x<<2+x) x in lv_dither_err_diff_hor() 120 for(lv_coord_t x = 1; x < grad->size - 1; x++) { in lv_dither_err_diff_hor() local [all …]
|
D | lv_draw_sw_arc.c | 85 area_out.x1 = center->x - radius; in lv_draw_sw_arc() 87 …area_out.x2 = center->x + radius - 1; /*-1 because the center already belongs to the left/bottom … in lv_draw_sw_arc() 131 lv_draw_mask_angle_init(&mask_angle_param, center->x, center->y, start_angle, end_angle); in lv_draw_sw_arc() 183 round_area.x1 += center->x; in lv_draw_sw_arc() 184 round_area.x2 += center->x; in lv_draw_sw_arc() 199 round_area.x1 += center->x; in lv_draw_sw_arc() 200 round_area.x2 += center->x; in lv_draw_sw_arc() 238 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius)) >> LV_TRIGO_SH… in draw_quarter_0() 241 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius - q->width)) >> LV… in draw_quarter_0() 252 quarter_area.x1 = q->center->x; in draw_quarter_0() [all …]
|
/lvgl-3.7.0/src/draw/ |
D | lv_img_buf.c | 41 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 49 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_get_px_color() 57 uint8_t bit = x & 0x7; in lv_img_buf_get_px_color() 58 x = x >> 3; 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() 68 uint8_t bit = (x & 0x3) * 2; in lv_img_buf_get_px_color() 69 x = x >> 2; in lv_img_buf_get_px_color() 74 uint32_t px = ((dsc->header.w + 3) >> 2) * y + x; in lv_img_buf_get_px_color() 79 uint8_t bit = (x & 0x1) * 4; in lv_img_buf_get_px_color() 80 x = x >> 1; in lv_img_buf_get_px_color() [all …]
|
D | lv_draw_mask.c | 103 * @param abs_x absolute X coordinate where the line to calculate start 135 * @param abs_x absolute X coordinate where the line to calculate start 286 * @param p1x X coordinate of the first point of the line 288 * @param p2x X coordinate of the second point of the line 315 param->cfg.p1.x = p1x; in lv_draw_mask_line_points_init() 317 param->cfg.p2.x = p2x; in lv_draw_mask_line_points_init() 321 param->origo.x = p1x; in lv_draw_mask_line_points_init() 333 /*Normalize the steep. Delta x should be relative to delta x = 1024*/ in lv_draw_mask_line_points_init() 342 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init() 348 /*Normalize the steep. Delta y should be relative to delta x = 1024*/ in lv_draw_mask_line_points_init() [all …]
|
D | lv_img_decoder.c | 34 static lv_res_t lv_img_decoder_built_in_line_true_color(lv_img_decoder_dsc_t * dsc, lv_coord_t x, l… 36 static lv_res_t lv_img_decoder_built_in_line_alpha(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coo… 38 static lv_res_t lv_img_decoder_built_in_line_indexed(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_c… 170 * @param x start X coordinate (from left) 176 lv_res_t lv_img_decoder_read_line(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_… in lv_img_decoder_read_line() argument 179 …if(dsc->decoder->read_line_cb) res = dsc->decoder->read_line_cb(dsc->decoder, dsc, x, y, len, buf); in lv_img_decoder_read_line() 470 * Decode `len` pixels starting from the given `x`, `y` coordinates and store them in `buf`. 474 * @param x start x coordinate 480 …mg_decoder_built_in_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, lv_coord_t x, in lv_img_decoder_built_in_read_line() argument 492 res = lv_img_decoder_built_in_line_true_color(dsc, x, y, len, buf); in lv_img_decoder_built_in_read_line() [all …]
|
/lvgl-3.7.0/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 52 // Ivan-Assen Ivanov Giumo X. Clanjor 300 void my_stbtt_print(float x, float y, char * text) 311 … stbtt_GetBakedQuad(cdata, 512, 512, *text - 32, &x, &y, &q, 1);//1=opengl & d3d10+,0=d3d9 451 #define STBTT_STREAM_READ(s,x,y) fread(x,1,y,s); argument 452 #define STBTT_STREAM_SEEK(s,x) fseek(s,x,SEEK_SET); argument 473 #define STBTT_ifloor(x) ((int) floor(x)) argument 474 #define STBTT_iceil(x) ((int) ceil(x)) argument 479 #define STBTT_sqrt(x) (float)sqrt(x) argument 480 #define STBTT_pow(x,y) pow(x,y) argument 485 #define STBTT_fmod(x,y) fmod(x,y) argument [all …]
|
D | stb_rect_pack.h | 106 // set to a non-zero value and 'x' and 'y' store the minimum location 133 stbrp_coord x, y; member 181 stbrp_coord x, y; member 280 context->extra[0].x = 0; in stbrp_init_target() 283 context->extra[1].x = (stbrp_coord) width; in stbrp_init_target() 297 STBRP_ASSERT(first->x <= x0); in stbrp__skyline_find_min_y() 301 while(node->next->x <= x0) in stbrp__skyline_find_min_y() 304 STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency in stbrp__skyline_find_min_y() 307 STBRP_ASSERT(node->x <= x0); in stbrp__skyline_find_min_y() 312 while(node->x < x1) { in stbrp__skyline_find_min_y() [all …]
|
/lvgl-3.7.0/src/extra/widgets/chart/ |
D | lv_chart.c | 41 static uint32_t get_index_from_x(lv_obj_t * obj, lv_coord_t x); 278 p_out->x = 0; in lv_chart_get_point_pos_by_id() 287 p_out->x = (w * id) / (chart->point_cnt - 1); in lv_chart_get_point_pos_by_id() 290 …p_out->x = lv_map(ser->x_points[id], chart->xmin[ser->x_axis_sec], chart->xmax[ser->x_axis_sec], 0… in lv_chart_get_point_pos_by_id() 294 /*Gap between the column on the X tick*/ in lv_chart_get_point_pos_by_id() 297 /*Gap between the columns on adjacent X ticks*/ in lv_chart_get_point_pos_by_id() 309 p_out->x = (int32_t)((int32_t)(w + block_gap) * id) / chart->point_cnt; in lv_chart_get_point_pos_by_id() 310 p_out->x += block_w * ser_idx / ser_cnt; in lv_chart_get_point_pos_by_id() 313 p_out->x += col_w / 2; in lv_chart_get_point_pos_by_id() 317 p_out->x += lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in lv_chart_get_point_pos_by_id() [all …]
|
/lvgl-3.7.0/src/core/ |
D | lv_obj_pos.c | 44 void lv_obj_set_pos(lv_obj_t * obj, lv_coord_t x, lv_coord_t y) in lv_obj_set_pos() argument 48 lv_obj_set_x(obj, x); in lv_obj_set_pos() 52 void lv_obj_set_x(lv_obj_t * obj, lv_coord_t x) in lv_obj_set_x() argument 61 if((res_x == LV_RES_OK && v_x.num != x) || res_x == LV_RES_INV) { in lv_obj_set_x() 62 lv_obj_set_style_x(obj, x, 0); in lv_obj_set_x() 159 /*calc_auto_size set the scroll x/y to 0 so revert the original value*/ in lv_obj_refr_size() 354 lv_coord_t x = 0; in lv_obj_align_to() local 373 x = lv_obj_get_content_width(base) / 2 - lv_obj_get_width(obj) / 2 + bleft; in lv_obj_align_to() 377 x = bleft; in lv_obj_align_to() 381 x = lv_obj_get_content_width(base) / 2 - lv_obj_get_width(obj) / 2 + bleft; in lv_obj_align_to() [all …]
|
D | lv_indev.c | 202 …lv_obj_set_pos(indev->cursor, indev->proc.types.pointer.act_point.x, indev->proc.types.pointer.act… in lv_indev_set_cursor() 224 point->x = 0; in lv_indev_get_point() 229 point->x = -1; in lv_indev_get_point() 233 point->x = indev->proc.types.pointer.act_point.x; in lv_indev_get_point() 267 point->x = 0; in lv_indev_get_vect() 273 point->x = indev->proc.types.pointer.vect.x; in lv_indev_get_vect() 343 i->proc.types.pointer.last_raw_point.x = data->point.x; in indev_pointer_proc() 347 data->point.x = disp->driver->hor_res - data->point.x - 1; in indev_pointer_proc() 352 data->point.y = data->point.x; in indev_pointer_proc() 353 data->point.x = disp->driver->ver_res - tmp - 1; in indev_pointer_proc() [all …]
|
D | lv_indev_scroll.c | 48 if(proc->types.pointer.vect.x == 0 && proc->types.pointer.vect.y == 0) { 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() 105 proc->types.pointer.scroll_sum.x += diff_x; in _lv_indev_scroll_handler() 120 proc->types.pointer.scroll_throw_vect.x = 0; in _lv_indev_scroll_throw_handler() 127 proc->types.pointer.scroll_throw_vect.x = 0; in _lv_indev_scroll_throw_handler() 154 proc->types.pointer.scroll_throw_vect.x = in _lv_indev_scroll_throw_handler() 155 proc->types.pointer.scroll_throw_vect.x * (100 - scroll_throw) / 100; in _lv_indev_scroll_throw_handler() 160 …proc->types.pointer.scroll_throw_vect.x = elastic_diff(scroll_obj, proc->types.pointer.scroll_thro… in _lv_indev_scroll_throw_handler() 163 lv_obj_scroll_by(scroll_obj, proc->types.pointer.scroll_throw_vect.x, 0, LV_ANIM_OFF); in _lv_indev_scroll_throw_handler() 168 proc->types.pointer.scroll_throw_vect.x = 0; in _lv_indev_scroll_throw_handler() [all …]
|
/lvgl-3.7.0/src/misc/ |
D | lv_area.c | 79 * @param x the new x 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() 93 * Return with area of an area (x * y) 243 if((p_p->x >= a_p->x1 && p_p->x <= a_p->x2) && ((p_p->y >= a_p->y1 && p_p->y <= a_p->y2))) { in _lv_area_is_point_on() 337 p.x = ain_p->x1; in _lv_area_is_in() 341 p.x = ain_p->x2; in _lv_area_is_in() 345 p.x = ain_p->x1; in _lv_area_is_in() 349 p.x = ain_p->x2; in _lv_area_is_in() 375 p.x = aout_p->x1; in _lv_area_is_out() [all …]
|
D | lv_math.c | 101 * @param x integer which square root should be calculated 109 void LV_ATTRIBUTE_FAST_MEM lv_sqrt(uint32_t x, lv_sqrt_res_t * q, uint32_t mask) in lv_sqrt() argument 111 x = x << 8; /*To get 4 bit precision. (sqrt(256) = 16 = 4 bit)*/ in lv_sqrt() 118 if(trial * trial <= x) root = trial; in lv_sqrt() 128 * @param x 132 uint16_t lv_atan2(int x, int y) in lv_atan2() argument 138 // NOTE! at least one of the X or Y values must be non-zero! in lv_atan2() 141 // Any values of X and Y are usable including negative values provided in lv_atan2() 153 if(x < 0) { in lv_atan2() 154 negflag += 0x01; // x flag bit in lv_atan2() [all …]
|
D | lv_area.h | 38 lv_coord_t x; member 155 * @param x the new x coordinate of the area 158 void _lv_area_set_pos(lv_area_t * area_p, lv_coord_t x, lv_coord_t y); 161 * Return with area of an area (x * y) 260 #define _LV_COORD_TYPE(x) ((x) & _LV_COORD_TYPE_MASK) /*Extract type specifiers*/ argument 261 #define _LV_COORD_PLAIN(x) ((x) & ~_LV_COORD_TYPE_MASK) /*Remove type specifiers*/ argument 267 #define LV_COORD_IS_PX(x) (_LV_COORD_TYPE(x) == _LV_COORD_TYPE_PX || \ argument 268 _LV_COORD_TYPE(x) == _LV_COORD_TYPE_PX_NEG ? true : false) 269 #define LV_COORD_IS_SPEC(x) (_LV_COORD_TYPE(x) == _LV_COORD_TYPE_SPEC ? true : false) argument 271 #define LV_COORD_SET_SPEC(x) ((x) | _LV_COORD_TYPE_SPEC) argument [all …]
|
/lvgl-3.7.0/src/widgets/ |
D | lv_canvas.c | 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() 116 lv_color_t lv_canvas_get_px(lv_obj_t * obj, lv_coord_t x, lv_coord_t y) in lv_canvas_get_px() argument 123 return lv_img_buf_get_px_color(&canvas->dsc, x, y, color); in lv_canvas_get_px() 138 void lv_canvas_copy_buf(lv_obj_t * obj, const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_… in lv_canvas_copy_buf() argument 145 …if(x + w - 1 >= (lv_coord_t)canvas->dsc.header.w || y + h - 1 >= (lv_coord_t)canvas->dsc.header.h)… in lv_canvas_copy_buf() 146 LV_LOG_WARN("lv_canvas_copy_buf: x or y out of the canvas"); in lv_canvas_copy_buf() 151 uint32_t px = canvas->dsc.header.w * y * px_size + x * px_size; in lv_canvas_copy_buf() [all …]
|
D | lv_label.c | 202 label->offset.x = 0; in lv_label_set_long_mode() 299 pos->x = 0; in lv_label_get_letter_pos() 302 pos->x = lv_obj_get_content_width(obj); in lv_label_get_letter_pos() 305 pos->x = lv_obj_get_content_width(obj) / 2; in lv_label_get_letter_pos() 376 /*Calculate the x coordinate*/ in lv_label_get_letter_pos() 377 lv_coord_t x = lv_txt_get_width(bidi_txt, visual_byte_pos, font, letter_space, flag); in lv_label_get_letter_pos() local 378 if(char_id != line_start) x += letter_space; in lv_label_get_letter_pos() 383 x += lv_area_get_width(&txt_coords) / 2 - line_w / 2; in lv_label_get_letter_pos() 390 x += lv_area_get_width(&txt_coords) - line_w; in lv_label_get_letter_pos() 392 pos->x = x; in lv_label_get_letter_pos() [all …]
|
D | lv_canvas.h | 71 * @param x x coordinate of the point to set 72 * @param y x coordinate of the point to set 75 void lv_canvas_set_px_color(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_color_t c); 80 static inline void lv_canvas_set_px(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_color_t c) in lv_canvas_set_px() argument 82 lv_canvas_set_px_color(canvas, x, y, c); in lv_canvas_set_px() 88 * @param x x coordinate of the point to set 89 * @param y x coordinate of the point to set 92 void lv_canvas_set_px_opa(lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_opa_t opa); 113 * @param x x coordinate of the point to set 114 * @param y x coordinate of the point to set [all …]
|
/lvgl-3.7.0/src/extra/libs/qrcode/ |
D | qrcodegen.c | 64 testable uint8_t finiteFieldMultiply(uint8_t x, uint8_t y); 78 testable bool getModule(const uint8_t qrcode[], int x, int y); 79 testable void setModule(uint8_t qrcode[], int x, int y, bool isBlack); 80 testable void setModuleBounded(uint8_t qrcode[], int x, int y, bool isBlack); 81 static bool getBit(int x, int i); 354 // Start with the monomial x^0 in calcReedSolomonGenerator() 359 // Compute the product polynomial (x - r^0) * (x - r^1) * (x - r^2) * ... * (x - r^{degree-1}), in calcReedSolomonGenerator() 364 // Multiply the current product by (x - r^i) in calcReedSolomonGenerator() 397 testable uint8_t finiteFieldMultiply(uint8_t x, uint8_t y) { in finiteFieldMultiply() argument 402 z ^= ((y >> i) & 1) * x; in finiteFieldMultiply() [all …]
|
/lvgl-3.7.0/src/extra/layouts/grid/ |
D | lv_grid.c | 19 #define IS_FR(x) (x >= LV_COORD_MAX - 100) argument 20 #define IS_CONTENT(x) (x == LV_COORD_MAX - 101) argument 21 #define GET_FR(x) (x - (LV_COORD_MAX - 100)) argument 33 lv_coord_t * x; member 352 /*Calculate the grids absolute x and y coordinates. in grid_update() 357 hint.grid_abs.x = pad_left + cont->coords.x1 - lv_obj_get_scroll_x(cont); in grid_update() 404 calc_out->x, rev); in calc() 420 lv_mem_buf_release(calc->x); in calc_free() 432 c->x = lv_mem_buf_get(sizeof(lv_coord_t) * c->col_num); in calc_cols() 462 lv_coord_t x = col_templ[i]; in calc_cols() local [all …]
|
/lvgl-3.7.0/src/extra/widgets/meter/ |
D | lv_meter.c | 155 indic->type_data.needle_img.pivot.x = pivot_x; in lv_meter_add_needle_img() 309 scale_center.x = scale_area.x1 + r_edge; in lv_meter_event() 318 nm_cord.x1 = scale_center.x - w; in lv_meter_event() 320 nm_cord.x2 = scale_center.x + w; in lv_meter_event() 336 scale_center.x = scale_area->x1 + r_out; in draw_arcs() 381 p_center.x = scale_area->x1 + r_edge; in draw_ticks_and_labels() 414 area_inner_minor.x1 = p_center.x - r_in_minor; in draw_ticks_and_labels() 416 area_inner_minor.x2 = p_center.x + r_in_minor; in draw_ticks_and_labels() 421 area_inner_major.x1 = p_center.x - r_in_major; in draw_ticks_and_labels() 423 area_inner_major.x2 = p_center.x + r_in_major - 1; in draw_ticks_and_labels() [all …]
|
/lvgl-3.7.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_blend.c | 102 …* Move buffer pointer as close as possible to area, but with respect to alignment requirements. X-… 164 .x = dest_area->x1, in lv_gpu_nxp_vglite_fill() 298 (uint32_t)src_area->x1, /* start x */ in lv_gpu_nxp_vglite_buffer_copy() 348 "Addr: (0x%x -> 0x%x)", in lv_vglite_blit_split() 386 "Addr: (0x%x -> 0x%x) %s", in lv_vglite_blit_split() 401 "Addr: (0x%x -> 0x%x)", in lv_vglite_blit_split() 423 VG_LITE_LOG_TRACE("X shift: src: %d, dst: %d", shift_src_x, shift_dest_x); in lv_vglite_blit_split() 444 for(int x = 0; x < total_tiles_x; x++) { in lv_vglite_blit_split() local 446 if(x == 0) { in lv_vglite_blit_split() 464 tile_src_area.x2 = width + src_area->x1 - x * LV_GPU_NXP_VG_LITE_BLIT_SPLIT_THR - 1; in lv_vglite_blit_split() [all …]
|
/lvgl-3.7.0/src/extra/widgets/span/ |
D | lv_span.c | 409 txt_pos.x = 0 + indent; /* first line need add indent */ in lv_spangroup_get_expand_height() 484 txt_pos.x = 0; in lv_spangroup_get_expand_height() 580 width = self_size->x >= 0 ? lv_obj_get_content_width(obj) : 0; in lv_spangroup_event() 583 self_size->x = LV_MAX(self_size->x, width); in lv_spangroup_event() 787 txt_pos.x = coords.x1 + indent; /* first line need add indent */ in lv_draw_span() 918 txt_pos.x += align_ofs; in lv_draw_span() 930 pos.x = txt_pos.x; in lv_draw_span() 953 if(pos.x > clip_area.x2) { in lv_draw_span() 961 if(pos.x + letter_w + pinfo->letter_space < clip_area.x1) { in lv_draw_span() 963 pos.x = pos.x + letter_w + pinfo->letter_space; in lv_draw_span() [all …]
|