366367368369370371372
SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel(dataType, w, h, scanlineStride, bandMasks); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
408409410411412413414
} MultiPixelPackedSampleModel sampleModel = new MultiPixelPackedSampleModel(dataType, w, h, bitsPerPixel); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
550551552553554555556
if (location == null) { location = new Point(0, 0); } return new OrdinaryWritableRaster(sm, db, location); }
677678679680681682683
+ sampleModelTranslateX, childTranslateY + sampleModelTranslateY), this); } public WritableRaster createCompatibleWritableRaster() { return new OrdinaryWritableRaster(sampleModel, new Point(0, 0)); }
688689690691692693694
throw new RasterFormatException(Messages.getString("awt.22E")); //$NON-NLS-1$ } SampleModel sm = sampleModel.createCompatibleSampleModel(w, h); return new OrdinaryWritableRaster(sm, new Point(0, 0)); }
104105106107108109110
} BandedSampleModel sampleModel = new BandedSampleModel(dataType, w, h, scanlineStride, bankIndices, bandOffsets); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
249250251252253254255
PixelInterleavedSampleModel sampleModel = new PixelInterleavedSampleModel(dataType, w, h, pixelStride, scanlineStride, bandOffsets); return new OrdinaryWritableRaster(sampleModel, dataBuffer, location); }
381382383384385386387
423424425426427428429
565566567568569570571