mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-11 11:02:32 +02:00
8db480b507
- (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
21 lines
558 B
C#
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;
|
|
}
|
|
}
|