hawkeye camera support(not tested)

This commit is contained in:
meelstorm
2025-08-19 12:45:50 +02:00
parent f80b275ad8
commit 6ef6aced8d
170 changed files with 20190 additions and 72 deletions

View File

@@ -41,4 +41,20 @@ public class ImageSizeProportionOperation:BaseOperation
Width = br.ReadDouble();
Height = br.ReadDouble();
}
public override void Save(Dictionary<string, object> dict)
{
base.Save(dict);
dict[nameof(Width)] = Width;
dict[nameof(Height)] = Height;
}
public override void Load(Dictionary<string, object> dict)
{
base.Load(dict);
if (dict.ContainsKey(nameof(Width)))
Width = Convert.ToDouble(dict[nameof(Width)]);
if (dict.ContainsKey(nameof(Height)))
Height = Convert.ToDouble(dict[nameof(Height)]);
}
}