Photo_Editor_Application.Picture Class
Picture class stores all image related data. It also provides the basic functionality.

Access: Public
Base Classes: Object
  Members Description  
    loadedImage    
    loadFileDialog    
    saveFileDialog    
    Picture Picture Class contructor. The image class stores the image and is responsible for basic image operations.

 
    LoadImage Opens Open File Dialog and loads the selected image.

 
    CropImage Method called from CropDialog. The current shown image is cropped to the size provided in the parameters. The cropping is done with a rectangle whose center is put on the center of the image.

 
    RotateFlipImage Flips and/or rotates the Image

 
    SaveImage Saves the current image used as test hook.

 
    LoadedImage Accessor to get the currently loaded image.

 
    LoadImage Opens the file with the provided Name.

 
    SaveImage Saves the current image with the provided fileName.