Files
UVtools/UVtools.Core/Extensions/UnitExtensions.cs
T
Tiago Conceição 8db480b507 File properties and ratio detection
- (Add) File formats properties:
   - `DisplayDiagonal`: Display diagonal size in millimeters
   - `DisplayDiagonalInches`: Display diagonal size in inches
   - `DisplayAspectRatio`: Display aspect ratio
- (Add) Detect incorrect image ratio upon file load and warn user about it
2021-10-21 19:08:53 +01:00

21 lines
558 B
C#

/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
using System;
namespace UVtools.Core.Extensions
{
public static class UnitExtensions
{
/// <summary>
/// 1 mm to 1 inch
/// </summary>
public const double MillimeterInInch = 0.0393700787;
}
}