Lines Matching refs:center

25     const lv_point_t * center;  member
60 …v_draw_ctx_t * draw_ctx, const lv_draw_arc_dsc_t * dsc, const lv_point_t * center, uint16_t radius, in lv_draw_sw_arc() argument
85 area_out.x1 = center->x - radius; in lv_draw_sw_arc()
86 area_out.y1 = center->y - 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()
88 area_out.y2 = center->y + radius - 1; 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()
147 q_dsc.center = center; 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()
185 round_area.y1 += center->y; in lv_draw_sw_arc()
186 round_area.y2 += center->y; 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()
201 round_area.y1 += center->y; in lv_draw_sw_arc()
202 round_area.y2 += center->y; in lv_draw_sw_arc()
216 LV_UNUSED(center); in lv_draw_sw_arc()
237 …quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius - q->width)) >> LV_TR… in draw_quarter_0()
238 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius)) >> LV_TRIGO_SH… in draw_quarter_0()
240 … quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->end_angle) * q->radius) >> LV_TRIGO_SHIFT); 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()
253 quarter_area.y2 = q->center->y + q->radius; in draw_quarter_0()
255 …quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius - q->width)) >> LV_TR… in draw_quarter_0()
256 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius)) >> LV_TRIGO_SH… in draw_quarter_0()
265 quarter_area.x2 = q->center->x + q->radius; in draw_quarter_0()
266 quarter_area.y1 = q->center->y; in draw_quarter_0()
268 … quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->end_angle) * q->radius) >> LV_TRIGO_SHIFT); in draw_quarter_0()
269 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius - q->width)) >> LV… in draw_quarter_0()
283 quarter_area.x1 = q->center->x; in draw_quarter_0()
284 quarter_area.y1 = q->center->y; in draw_quarter_0()
285 quarter_area.x2 = q->center->x + q->radius; in draw_quarter_0()
286 quarter_area.y2 = q->center->y + q->radius; in draw_quarter_0()
304 … quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius)) >> LV_TRIGO_SHIFT); in draw_quarter_1()
305 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius - q->width)) >> … in draw_quarter_1()
307 …quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->end_angle) * (q->radius - q->width)) >> LV_TRIG… in draw_quarter_1()
308 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius)) >> LV_TRIGO_SHIF… in draw_quarter_1()
319 quarter_area.x1 = q->center->x - q->radius; in draw_quarter_1()
320 quarter_area.y1 = q->center->y; in draw_quarter_1()
322 … quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius)) >> LV_TRIGO_SHIFT); in draw_quarter_1()
323 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius - q->width)) >> … in draw_quarter_1()
332 quarter_area.x2 = q->center->x - 1; in draw_quarter_1()
333 quarter_area.y2 = q->center->y + q->radius; in draw_quarter_1()
335 …quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->end_angle) * (q->radius - q->width)) >> LV_TRIG… in draw_quarter_1()
336 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius)) >> LV_TRIGO_SHIF… in draw_quarter_1()
350 quarter_area.x1 = q->center->x - q->radius; in draw_quarter_1()
351 quarter_area.y1 = q->center->y; in draw_quarter_1()
352 quarter_area.x2 = q->center->x - 1; in draw_quarter_1()
353 quarter_area.y2 = q->center->y + q->radius; in draw_quarter_1()
371 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius)) >> LV_TRIGO_SH… in draw_quarter_2()
372 …quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius - q->width)) >> LV_TR… in draw_quarter_2()
374 … quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->end_angle) * q->radius) >> LV_TRIGO_SHIFT); in draw_quarter_2()
375 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius - q->width)) >> LV… in draw_quarter_2()
386 quarter_area.x2 = q->center->x - 1; in draw_quarter_2()
387 quarter_area.y1 = q->center->y - q->radius; in draw_quarter_2()
389 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius)) >> LV_TRIGO_SH… in draw_quarter_2()
390 …quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius - q->width)) >> LV_TR… in draw_quarter_2()
399 quarter_area.x1 = q->center->x - q->radius; in draw_quarter_2()
400 quarter_area.y2 = q->center->y - 1; in draw_quarter_2()
402 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius - q->width)) >> LV… in draw_quarter_2()
403 … quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->end_angle) * (q->radius)) >> LV_TRIGO_SHIFT); in draw_quarter_2()
417 quarter_area.x1 = q->center->x - q->radius; in draw_quarter_2()
418 quarter_area.y1 = q->center->y - q->radius; in draw_quarter_2()
419 quarter_area.x2 = q->center->x - 1; in draw_quarter_2()
420 quarter_area.y2 = q->center->y - 1; in draw_quarter_2()
438 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius - q->width)) >> … in draw_quarter_3()
439 … quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius)) >> LV_TRIGO_SHIFT); in draw_quarter_3()
441 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius)) >> LV_TRIGO_SHIF… in draw_quarter_3()
442 …quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->end_angle) * (q->radius - q->width)) >> LV_TRIG… in draw_quarter_3()
453 quarter_area.x2 = q->center->x + q->radius; in draw_quarter_3()
454 quarter_area.y2 = q->center->y - 1; in draw_quarter_3()
456 …quarter_area.x1 = q->center->x + ((lv_trigo_sin(q->start_angle + 90) * (q->radius - q->width)) >> … in draw_quarter_3()
457 … quarter_area.y1 = q->center->y + ((lv_trigo_sin(q->start_angle) * (q->radius)) >> LV_TRIGO_SHIFT); in draw_quarter_3()
466 quarter_area.x1 = q->center->x; in draw_quarter_3()
467 quarter_area.y1 = q->center->y - q->radius; in draw_quarter_3()
469 …quarter_area.x2 = q->center->x + ((lv_trigo_sin(q->end_angle + 90) * (q->radius)) >> LV_TRIGO_SHIF… in draw_quarter_3()
470 …quarter_area.y2 = q->center->y + ((lv_trigo_sin(q->end_angle) * (q->radius - q->width)) >> LV_TRIG… in draw_quarter_3()
484 quarter_area.x1 = q->center->x; in draw_quarter_3()
485 quarter_area.y1 = q->center->y - q->radius; in draw_quarter_3()
486 quarter_area.x2 = q->center->x + q->radius; in draw_quarter_3()
487 quarter_area.y2 = q->center->y - 1; in draw_quarter_3()