< prev index next >

src/java.desktop/share/classes/sun/java2d/SurfaceData.java

Print this page

        

*** 937,947 **** * the device space origin of the destination surface. * In some cases the returned Raster might also be writeable. * In most cases, the returned Raster might contain more pixels * than requested. * ! * @see useTightBBoxes */ public abstract Raster getRaster(int x, int y, int w, int h); /** * Does the pixel accessibility of the destination surface --- 937,947 ---- * the device space origin of the destination surface. * In some cases the returned Raster might also be writeable. * In most cases, the returned Raster might contain more pixels * than requested. * ! * @see #useTightBBoxes */ public abstract Raster getRaster(int x, int y, int w, int h); /** * Does the pixel accessibility of the destination surface
*** 950,960 **** * the operation being performed? * The typical case when this will be true is when a copy of * the pixels has to be made when doing a getRaster. The * fewer pixels copied, the faster the operation will go. * ! * @see getRaster */ public boolean useTightBBoxes() { // Note: The native equivalent would trigger on VISIBLE_TO_NATIVE // REMIND: This is not used - should be obsoleted maybe return true; --- 950,960 ---- * the operation being performed? * The typical case when this will be true is when a copy of * the pixels has to be made when doing a getRaster. The * fewer pixels copied, the faster the operation will go. * ! * @see #getRaster */ public boolean useTightBBoxes() { // Note: The native equivalent would trigger on VISIBLE_TO_NATIVE // REMIND: This is not used - should be obsoleted maybe return true;
< prev index next >