Lines Matching refs:coords
78 … const lv_area_t * coords, const char * txt, lv_draw_label_hint_t * hint) in lv_draw_label() argument
101 bool clip_ok = _lv_area_intersect(&clipped_area, coords, draw_ctx->clip_area); in lv_draw_label()
111 w = lv_area_get_width(coords); in lv_draw_label()
127 pos.x = coords->x1; in lv_draw_label()
128 pos.y = coords->y1; in lv_draw_label()
140 if(hint && y_ofs == 0 && coords->y1 < 0) { in lv_draw_label()
142 if(LV_ABS(hint->coord_y - coords->y1) > LV_LABEL_HINT_UPDATE_TH - 2 * line_height) { in lv_draw_label()
166 hint->y = pos.y - coords->y1; in lv_draw_label()
167 hint->coord_y = coords->y1; in lv_draw_label()
177 pos.x += (lv_area_get_width(coords) - line_width) / 2; in lv_draw_label()
183 pos.x += lv_area_get_width(coords) - line_width; in lv_draw_label()
339 pos.x = coords->x1; in lv_draw_label()
345 pos.x += (lv_area_get_width(coords) - line_width) / 2; in lv_draw_label()
352 pos.x += lv_area_get_width(coords) - line_width; in lv_draw_label()