Lines Matching defs:destRegion
2595 * @param destRegion a {@code Rectangle} that will be filled with
2609 Rectangle destRegion) {
2613 if (destRegion == null) {
2614 throw new IllegalArgumentException("destRegion == null!");
2622 destRegion.setBounds(0, 0, srcWidth, srcHeight);
2641 destRegion.setLocation(param.getDestinationOffset());
2646 if (destRegion.x < 0) {
2647 int delta = -destRegion.x*periodX;
2650 destRegion.x = 0;
2652 if (destRegion.y < 0) {
2653 int delta = -destRegion.y*periodY;
2656 destRegion.y = 0;
2662 destRegion.width = subsampledWidth;
2663 destRegion.height = subsampledHeight;
2671 destRegion.setBounds(destRegion.intersection(destImageRect));
2672 if (destRegion.isEmpty()) {
2677 int deltaX = destRegion.x + subsampledWidth - image.getWidth();
2681 int deltaY = destRegion.y + subsampledHeight - image.getHeight();
2686 if (srcRegion.isEmpty() || destRegion.isEmpty()) {
2866 Rectangle destRegion = new Rectangle(0,0,0,0);
2872 destRegion);
2874 int destWidth = destRegion.x + destRegion.width;
2875 int destHeight = destRegion.y + destRegion.height;