Skip to content

PhysicalSize

Namespace NetWiv · Assembly NetWiv.Core

public readonly record struct PhysicalSize : IDpiSize
public PhysicalSize(uint Width, uint Height);
public uint Height { get; init; }
public uint Width { get; init; }
public LogicalSize ToLogical(double scaleFactor);
public PhysicalSize ToPhysical(double scaleFactor);
public static bool operator ==(PhysicalSize left, PhysicalSize right);
public static bool operator !=(PhysicalSize left, PhysicalSize right);