Lines Matching refs:dx
449 * the specified dx, dy translation factors.
451 public Region getTranslatedRegion(int dx, int dy) {
452 if ((dx | dy) == 0) {
455 int tlox = lox + dx;
457 int thix = hix + dx;
459 if ((tlox > lox) != (dx > 0) ||
461 (thix > hix) != (dx > 0) ||
464 return getSafeTranslatedRegion(dx, dy);
480 newbands[i] = bands[i] + dx; i++;
481 newbands[i] = bands[i] + dx; i++;
488 private Region getSafeTranslatedRegion(int dx, int dy) {
489 int tlox = clipAdd(lox, dx);
491 int thix = clipAdd(hix, dx);
509 int x1 = clipAdd(bands[i++], dx);
510 int x2 = clipAdd(bands[i++], dx);