Package javax.media.jai

Examples of javax.media.jai.PackedImageData


/*     */
/*     */   private void setTo1(Raster dest, Rectangle destRect)
/*     */   {
/* 416 */     initBitsOn();
/* 417 */     PixelAccessor pa = new PixelAccessor(dest.getSampleModel(), null);
/* 418 */     PackedImageData pid = pa.getPackedPixels(dest, destRect, true, false);
/* 419 */     int offset = pid.offset;
/*     */
/* 421 */     for (int h = 0; h < destRect.height; h++) {
/* 422 */       int ind0 = pid.bitOffset;
/* 423 */       int indE = ind0 + destRect.width - 1;
View Full Code Here

TOP

Related Classes of javax.media.jai.PackedImageData

Copyright © 2018 www.massapicom. 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.