Refactored image creator code

This commit is contained in:
Marco 2025-07-28 11:25:46 +02:00
commit fa889a5cd3
5 changed files with 482 additions and 585 deletions

45
MaddoShared/ImageState.cs Normal file
View file

@ -0,0 +1,45 @@
using System;
using System.Drawing;
using System.IO;
namespace MaddoShared;
public class ImageState
{
public bool FotoRuotaADestra { get; set; } = false;
public bool FotoRuotaASinistra { get; set; } = false;
public string TempMinText { get; set; } = "";
// public crFont1 As Font
public string NomeFileChild { get; set; }
public DirectoryInfo SourceDir { get; set; }
public DirectoryInfo DestDirStart { get; set; }
public DirectoryInfo DestDir { get; set; }
public FileInfo WorkFile { get; set; }
public string TestoFirma { get; set; }
public string TestoFirmaV { get; set; }
public int AlphaScelta { get; set; }
public int DimensioneStandard { get; set; }
public int DimensioneStandardMiniatura { get; set; }
public DateTime DataFoto { get; set; }
public DateTime DataPartenzaI { get; set; }
public string TestoOrario { get; set; }
public string TestoFirmaPiccola { get; set; }
public Size ThumbSizeSmall { get; set; }
public Size ThumbSizeBig { get; set; }
public string NomeFileSmall{ get; set; }
public string NomeFileBig{ get; set; }
public string NomeFileBig2{ get; set; }
public float YPosFromBottom{ get; set; }
public float YPosFromBottom1{ get; set; }
public float YPosFromBottom2{ get; set; }
public float YPosFromBottom3{ get; set; }
public float YPosFromBottom4{ get; set; }
public Orientations Orientation{ get; set; }
public DateTime? CreationDate{ get; set; }
}