Lines Matching refs:hint
78 … const lv_area_t * coords, const char * txt, lv_draw_label_hint_t * hint) in lv_draw_label() argument
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()
143 hint->line_start = -1; in lv_draw_label()
145 last_line_start = hint->line_start; in lv_draw_label()
149 if(hint && last_line_start >= 0) { in lv_draw_label()
151 pos.y += hint->y; in lv_draw_label()
164 if(hint && pos.y >= -LV_LABEL_HINT_UPDATE_TH && hint->line_start < 0) { in lv_draw_label()
165 hint->line_start = line_start; 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()