Lines Matching full:x
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()
352 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ 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()
381 * @param px X coordinate of a point of the line
382 * @param py X coordinate of a point of the line
409 * @param vertex_x X coordinate of the angle vertex (absolute coordinates)
440 param->cfg.vertex_p.x = vertex_x; in lv_draw_mask_angle_init()
577 if(points[i].x != points[i + 1].x || points[i].y != points[i + 1].y) { in lv_draw_mask_polygon_init()
583 if(points[0].x != points[point_cnt - 1].x || points[0].y != points[point_cnt - 1].y) { in lv_draw_mask_polygon_init()
603 abs_x -= p->origo.x; in lv_draw_mask_line()
804 /*X start*/ in line_mask_steep()
809 /*X end*/ in line_mask_steep()
920 int32_t rel_x = abs_x - p->cfg.vertex_p.x; in lv_draw_mask_angle()
1103 …// printf("exec: x:%d.. %d, y:%d: r:%d, %s\n", abs_x, abs_x + len - 1, abs_y, p->cfg.radius, p-… in lv_draw_mask_radius()
1106 // char x = 0; in lv_draw_mask_radius()
1108 //exec: x:276.. 479, y:63: r:5, inv) in lv_draw_mask_radius()
1280 if(lines[0].p1.x > lines[1].p1.x || lines[0].p2.x > lines[1].p2.x) { in lv_draw_mask_polygon()
1286 … lv_draw_mask_line_points_init(&line_p, lines[0].p1.x, lines[0].p1.y, lines[0].p2.x, lines[0].p2.y, in lv_draw_mask_polygon()
1289 lv_coord_t x1 = LV_MIN(lines[0].p1.x, lines[0].p2.x); in lv_draw_mask_polygon()
1290 lv_coord_t x2 = LV_MAX(lines[0].p1.x, lines[0].p2.x); in lv_draw_mask_polygon()
1302 … lv_draw_mask_line_points_init(&line_p, lines[1].p1.x, lines[1].p1.y, lines[1].p2.x, lines[1].p2.y, in lv_draw_mask_polygon()
1305 lv_coord_t x1 = LV_MIN(lines[1].p1.x, lines[1].p2.x); in lv_draw_mask_polygon()
1306 lv_coord_t x2 = LV_MAX(lines[1].p1.x, lines[1].p2.x); in lv_draw_mask_polygon()
1329 c->x = radius; in circ_init()
1341 return c->y <= c->x ? true : false; in circ_cont()
1356 (*tmp) += 2 * (c->y - c->x) + 5; /*Change for y -> y+1, x -> x-1*/ in circ_next()
1357 c->x--; in circ_next()
1397 x_int[0] = cp.x >> 2; in circ_calc_aa4()
1406 x_int[i] = cp.x >> 2; in circ_calc_aa4()
1407 x_fract[i] = cp.x & 0x3; in circ_calc_aa4()
1411 /*All lines on the same x when downscaled*/ in circ_calc_aa4()
1419 /*Second line on new x when downscaled*/ in circ_calc_aa4()
1433 /*Third line on new x when downscaled*/ in circ_calc_aa4()
1447 /*Forth line on new x when downscaled*/ in circ_calc_aa4()