Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
384 B

namespace StabilityMatrix.Core.Models.Settings;
public record struct Size(double Width, double Height)
{
public static Size operator +(Size current, Size other) =>
new(current.Width + other.Width, current.Height + other.Height);
public static Size operator -(Size current, Size other) =>
new(current.Width - other.Width, current.Height - other.Height);
}