< prev index next >

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

Print this page

        

*** 84,94 **** * 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 Raster getRaster(int x, int y, int w, int h) { throw new InvalidPipeException("should be NOP"); } --- 84,94 ---- * 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 Raster getRaster(int x, int y, int w, int h) { throw new InvalidPipeException("should be NOP"); }
*** 99,109 **** * 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() { return false; } --- 99,109 ---- * 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() { return false; }
< prev index next >