Lines Matching refs:origX
60 Transform(int origX, int origY, int oneX, int oneY);
251 Transform::Transform(int origX, int origY, int oneX, int oneY) in Transform() argument
252 : mOrigX(origX), mOrigY(origY), mOneX(oneX), mOneY(oneY) { in Transform()
253 if (origX == oneX || origY == oneY) { in Transform()
262 if (oneX > origX && oneY > origY) { in Transform()
268 mOutputWidth = abs(oneX - origX); in Transform()
270 } else if (oneX < origX && oneY > origY) { in Transform()
277 mOutputHeight = abs(oneX - origX); in Transform()
278 } else if (oneX > origX && oneY < origY) { in Transform()
285 mOutputHeight = abs(oneX - origX);; in Transform()
286 } else if (oneX < origX && oneY < origY) { in Transform()
292 mOutputWidth = abs(oneX - origX); in Transform()