Changeset 1427 for trunk/src/org/expeditee/gio/ImageManager.java
- Timestamp:
- 08/07/19 14:14:42 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gio/ImageManager.java
r1426 r1427 40 40 return createImage(size.width, size.height, hintUseAcceleratedMemory); 41 41 } 42 43 /**44 * Creates an image of the given width and height in either main or video RAM.45 *46 * @param hintUseAcceleratedMemory47 * True to use video RAM, false for main memory.48 */49 public abstract Image createImage(int width, int height, boolean hintUseAcceleratedMemory);50 42 51 43 /** Creates an image in main memory with the given size. */ … … 56 48 57 49 /** Creates an image in main memory with the given width and height. */ 58 public Image createImage(int width, int height) 59 { 50 public Image createImage(int width, int height) { 60 51 return createImage(width, height, false); 61 52 } 53 54 /** 55 * Creates an image of the given width and height in either main or video RAM. 56 * 57 * @param hintUseAcceleratedMemory 58 * True to use video RAM, false for main memory. 59 */ 60 public abstract Image createImage(int width, int height, boolean hintUseAcceleratedMemory); 62 61 63 62 /** Creates an image from packed 32-bit ARGB data in an array. */ … … 66 65 /** Creates an image of a PDF page. */ 67 66 public abstract Image createImage(int width, int height, PDFPage page); 67 68 /** Creates an image from the raw byte data read from a file. Must be in a format recognised by the implementing Ecosystem. **/ 69 public abstract Image createImage(byte[] rawImageData); 68 70 69 71 /** Creates a new image which is a cropped section of another image. */ … … 75 77 /** Gets image data from a file. */ 76 78 public abstract Image getImage(String filename); 79 80 //public abstract Image getItem(byte[] imageData); 77 81 78 82 /** Gets an image that is just noise */
Note:
See TracChangeset
for help on using the changeset viewer.