Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 6 of 6) sorted by relevance

/lvgl-3.7.0/src/extra/libs/qrcode/
Dqrcodegen.c460 for (int dx = -4; dx <= 4; dx++) { in drawWhiteFunctionModules() local
461 int dist = abs(dx); in drawWhiteFunctionModules()
465 setModuleBounded(qrcode, 3 + dx, 3 + dy, false); in drawWhiteFunctionModules()
466 setModuleBounded(qrcode, qrsize - 4 + dx, 3 + dy, false); in drawWhiteFunctionModules()
467 setModuleBounded(qrcode, 3 + dx, qrsize - 4 + dy, false); in drawWhiteFunctionModules()
480 for (int dx = -1; dx <= 1; dx++) in drawWhiteFunctionModules() local
481 setModule(qrcode, alignPatPos[i] + dx, alignPatPos[j] + dy, dx == 0 && dy == 0); in drawWhiteFunctionModules()
561 for (int dx = 0; dx < width; dx++) in fillRectangle() local
562 setModule(qrcode, left + dx, top + dy, true); in fillRectangle()
/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c254 void lv_obj_scroll_by_bounded(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_t anim_e… in lv_obj_scroll_by_bounded() argument
256 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by_bounded()
263 lv_coord_t x_bounded = x_current + dx; in lv_obj_scroll_by_bounded()
295 dx = x_bounded - x_current; in lv_obj_scroll_by_bounded()
297 if(dx || dy) { in lv_obj_scroll_by_bounded()
298 lv_obj_scroll_by(obj, dx, dy, anim_en); in lv_obj_scroll_by_bounded()
302 void lv_obj_scroll_by(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_t anim_en) in lv_obj_scroll_by() argument
304 if(dx == 0 && dy == 0) return; in lv_obj_scroll_by()
312 if(dx) { in lv_obj_scroll_by()
313 uint32_t t = lv_anim_speed_to_time((lv_disp_get_hor_res(d) * 2) >> 2, 0, dx); in lv_obj_scroll_by()
[all …]
Dlv_obj_scroll.h205 void lv_obj_scroll_by_bounded(struct _lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_anim_enable_…
/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1940 stbtt_int16 dx = ttBYTE(data, points++); local
1941 x += (flags & 16) ? dx : -dx; // ???
2178 static void stbtt__csctx_rmove_to(stbtt__csctx * ctx, float dx, float dy) argument
2181 ctx->first_x = ctx->x = ctx->x + dx;
2186 static void stbtt__csctx_rline_to(stbtt__csctx * ctx, float dx, float dy) argument
2188 ctx->x += dx;
2407 float dx, dy; local
2472 dx = dx1 + dx2 + dx3 + dx4 + dx5;
2474 if(STBTT_fabs(dx) > STBTT_fabs(dy))
2477 dx6 = -dx;
[all …]
/lvgl-3.7.0/src/draw/nxp/vglite/
Dlv_draw_vglite_arc.c507 float dx = lerp(ax, bx, t); in get_arc_control_points() local
515 arc->p0x = (int32_t)floorf(0.5f + lerp(dx, ex, t)); in get_arc_control_points()
529 arc->p2x = (int32_t)floorf(0.5f + dx); in get_arc_control_points()
531 arc->p3x = (int32_t)floorf(0.5f + lerp(dx, ex, t)); in get_arc_control_points()
/lvgl-3.7.0/src/draw/
Dlv_draw_mask.c329 int32_t dx = p2x - p1x; in lv_draw_mask_line_points_init() local
336 if(dx) { in lv_draw_mask_line_points_init()
337 m = (1L << 20) / dx; /*m is multiplier to normalize y (upscaled by 1024)*/ in lv_draw_mask_line_points_init()
343 param->xy_steep = (m * dx) >> 10; in lv_draw_mask_line_points_init()
353 param->xy_steep = (m * dx) >> 10; in lv_draw_mask_line_points_init()
356 if(dx) { in lv_draw_mask_line_points_init()
357 m = (1L << 20) / dx; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init()