Lines Matching refs:text_size
1299 lv_point_t text_size; in slider_event_cb() local
1300 lv_txt_get_size(&text_size, buf, font_normal, 0, 0, LV_COORD_MAX, LV_TEXT_FLAG_NONE); in slider_event_cb()
1303 … txt_area.x1 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2 - text_size.x / 2; in slider_event_cb()
1304 txt_area.x2 = txt_area.x1 + text_size.x; in slider_event_cb()
1306 txt_area.y1 = txt_area.y2 - text_size.y; in slider_event_cb()
1407 lv_point_t text_size; in chart_event_cb() local
1408 … lv_txt_get_size(&text_size, buf, font_normal, 0, 0, LV_COORD_MAX, LV_TEXT_FLAG_NONE); in chart_event_cb()
1413 txt_area.y1 = txt_area.y2 - text_size.y; in chart_event_cb()
1416 txt_area.x2 = txt_area.x1 + text_size.x; in chart_event_cb()
1420 txt_area.x1 = txt_area.x2 - text_size.x; in chart_event_cb()
1424 … txt_area.x1 = dsc->draw_area->x1 + lv_area_get_width(dsc->draw_area) / 2 - text_size.x / 2; in chart_event_cb()
1425 txt_area.x2 = txt_area.x1 + text_size.x; in chart_event_cb()
1427 txt_area.y1 = txt_area.y2 - text_size.y; in chart_event_cb()