equal
deleted
inserted
replaced
937 * the device space origin of the destination surface. |
937 * the device space origin of the destination surface. |
938 * In some cases the returned Raster might also be writeable. |
938 * In some cases the returned Raster might also be writeable. |
939 * In most cases, the returned Raster might contain more pixels |
939 * In most cases, the returned Raster might contain more pixels |
940 * than requested. |
940 * than requested. |
941 * |
941 * |
942 * @see useTightBBoxes |
942 * @see #useTightBBoxes |
943 */ |
943 */ |
944 public abstract Raster getRaster(int x, int y, int w, int h); |
944 public abstract Raster getRaster(int x, int y, int w, int h); |
945 |
945 |
946 /** |
946 /** |
947 * Does the pixel accessibility of the destination surface |
947 * Does the pixel accessibility of the destination surface |
950 * the operation being performed? |
950 * the operation being performed? |
951 * The typical case when this will be true is when a copy of |
951 * The typical case when this will be true is when a copy of |
952 * the pixels has to be made when doing a getRaster. The |
952 * the pixels has to be made when doing a getRaster. The |
953 * fewer pixels copied, the faster the operation will go. |
953 * fewer pixels copied, the faster the operation will go. |
954 * |
954 * |
955 * @see getRaster |
955 * @see #getRaster |
956 */ |
956 */ |
957 public boolean useTightBBoxes() { |
957 public boolean useTightBBoxes() { |
958 // Note: The native equivalent would trigger on VISIBLE_TO_NATIVE |
958 // Note: The native equivalent would trigger on VISIBLE_TO_NATIVE |
959 // REMIND: This is not used - should be obsoleted maybe |
959 // REMIND: This is not used - should be obsoleted maybe |
960 return true; |
960 return true; |