Lines Matching refs:pivot
987 lv_point_t pivot = { in obj_get_matrix() local
992 pivot.x = obj->coords.x1 + lv_pct_to_px(pivot.x, lv_area_get_width(&obj->coords)); in obj_get_matrix()
993 pivot.y = obj->coords.y1 + lv_pct_to_px(pivot.y, lv_area_get_height(&obj->coords)); in obj_get_matrix()
1007 lv_matrix_translate(matrix, pivot.x, pivot.y); in obj_get_matrix()
1024 lv_matrix_translate(matrix, -pivot.x, -pivot.y); in obj_get_matrix()
1164 lv_point_t pivot = { in refr_obj() local
1169 if(LV_COORD_IS_PCT(pivot.x)) { in refr_obj()
1170 pivot.x = (LV_COORD_GET_PCT(pivot.x) * lv_area_get_width(&obj->coords)) / 100; in refr_obj()
1172 if(LV_COORD_IS_PCT(pivot.y)) { in refr_obj()
1173 pivot.y = (LV_COORD_GET_PCT(pivot.y) * lv_area_get_height(&obj->coords)) / 100; in refr_obj()
1178 layer_draw_dsc.pivot.x = obj->coords.x1 + pivot.x - new_layer->buf_area.x1; in refr_obj()
1179 layer_draw_dsc.pivot.y = obj->coords.y1 + pivot.y - new_layer->buf_area.y1; in refr_obj()