Lines Matching refs:bottom_right
428 struct weston_vector bottom_right; in calc_inverse_matrix_transform() local
447 bottom_right.f[0] = rect_input->x + rect_input->width; in calc_inverse_matrix_transform()
448 bottom_right.f[1] = rect_input->y + rect_input->height; in calc_inverse_matrix_transform()
449 bottom_right.f[2] = 0.0f; in calc_inverse_matrix_transform()
450 bottom_right.f[3] = 1.0f; in calc_inverse_matrix_transform()
453 weston_matrix_transform(&m, &bottom_right); in calc_inverse_matrix_transform()
455 if (top_left.f[0] < bottom_right.f[0]) { in calc_inverse_matrix_transform()
457 rect_output->width = bottom_right.f[0] - rect_output->x; in calc_inverse_matrix_transform()
459 rect_output->x = bottom_right.f[0]; in calc_inverse_matrix_transform()
463 if (top_left.f[1] < bottom_right.f[1]) { in calc_inverse_matrix_transform()
465 rect_output->height = bottom_right.f[1] - rect_output->y; in calc_inverse_matrix_transform()
467 rect_output->y = bottom_right.f[1]; in calc_inverse_matrix_transform()