Пример #1
0
        // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
        // ToDo: This section needs reworking
        //       Serious refactoring is required here
        // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        private void genSavedFile(string AFileName)
        {
            libFile.CoverFileArgs Args = getStandardArgs();
            Args.FileName = AFileName;

            // ToDo: Get file type as arg from dialog
            Args.FileFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
            libFile.GenFile(Args);
        }
Пример #2
0
 private libFile.CoverFileArgs getStandardArgs()
 {
     libFile.CoverFileArgs Args = new libFile.CoverFileArgs();
     Args.Image      = (BufferImage == null) ? Cover : BufferImage;
     Args.dsControls = dsControls;
     Args.Location   = new Point(StartX, StartY);
     Args.HZoom      = ZoomH;
     Args.VZoom      = ZoomV;
     return(Args);
 }
Пример #3
0
 private string genLightScribeFile()
 {
     libFile.CoverFileArgs Args = getStandardArgs();
     return(libFile.GenTempFile(Args));
 }
Пример #4
0
 private libFile.CoverFileArgs getStandardArgs()
 {
     libFile.CoverFileArgs Args = new libFile.CoverFileArgs();
     Args.Image = (BufferImage == null) ? Cover : BufferImage;
     Args.dsControls = dsControls;
     Args.Location = new Point(StartX, StartY);
     Args.HZoom = ZoomH;
     Args.VZoom = ZoomV;
     return Args; 
 }