Lines Matching refs:orig_y
48 jpegutil::Transform::Transform(int orig_x, int orig_y, int one_x, int one_y)
49 : orig_x_(orig_x), orig_y_(orig_y), one_x_(one_x), one_y_(one_y) {
50 if (orig_x == one_x || orig_y == one_y) {
59 if (one_x > orig_x && one_y > orig_y) {
66 output_height_ = abs(one_y - orig_y);
67 } else if (one_x < orig_x && one_y > orig_y) {
73 output_width_ = abs(one_y - orig_y);
75 } else if (one_x > orig_x && one_y < orig_y) {
81 output_width_ = abs(one_y - orig_y);
83 } else if (one_x < orig_x && one_y < orig_y) {
90 output_height_ = abs(one_y - orig_y);