Project

General

Profile

« Previous | Next » 

Revision c6e1c219

Added by Leszek Koltunski almost 8 years ago

Save PNG effect almost finished. Supporting App (hopefully!) completely finished.

What remains to be done: put actual saving of the Bitmap in a separate thread, away from the Graphics thread!!

View differences:

src/main/java/org/distorted/library/DistortedObject.java
2528 2528
 * @param filename Full path to the file.
2529 2529
 * @return         ID of the effect added, or -1 if we failed to add one.
2530 2530
 */
2531
 public long savePNG(String filename)
2531
 public long savePNG(String filename, int left, int top, int width, int height)
2532 2532
   {
2533
   return mO.add(EffectNames.SAVE_PNG, filename);
2533
   return mO.add(EffectNames.SAVE_PNG, filename, left, top, width, height);
2534 2534
   }
2535 2535
}

Also available in: Unified diff