many debugs
All checks were successful
Publish NuGet packages / publish (push) Successful in 28s

This commit is contained in:
melekhin
2026-06-19 15:06:40 +07:00
parent 08b39b7bfe
commit e373d4108a
24 changed files with 1569 additions and 632 deletions

View File

@@ -6,15 +6,15 @@
/// </summary>
public readonly struct ColumnWidth
{
private readonly double _rawValue;
private readonly UnitType _unit;
readonly double _rawValue;
readonly UnitType _unit;
private enum UnitType { Characters, Points, Centimeters, Millimeters }
enum UnitType { Characters, Points, Centimeters, Millimeters }
/// <summary>Коэффициент перевода символов в пункты по умолчанию (используется, если нет калибровочной таблицы).</summary>
public static double DefaultPointsPerChar { get; set; } = 5.65;
private ColumnWidth(double value, UnitType unit)
ColumnWidth(double value, UnitType unit)
{
_rawValue = value;
_unit = unit;