Examples of PixelAccessor


Examples of javax.media.jai.PixelAccessor

/*     */     }
/*     */   }
/*     */
/*     */   private void byteLoop(Raster source, WritableRaster dest, Rectangle destRect)
/*     */   {
/* 433 */     PixelAccessor pa = new PixelAccessor(source.getSampleModel(), null);
/* 434 */     PackedImageData pid = pa.getPackedPixels(source, source.getBounds(), false, false);
/*     */
/* 436 */     byte[] sourceData = pid.data;
/* 437 */     int sourceDBOffset = pid.offset;
/* 438 */     int dx = destRect.x; int dy = destRect.y;
/* 439 */     int dwi = destRect.width; int dhi = destRect.height;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.