透明部分を保つ描画をハーネスの基準値へ加える
このコミットが含まれているのは:
2ファイル変更
+21
検索条件に一致するファイルはありません
@@ -38,6 +38,12 @@ internal static class HarnessCases
|
||||
yield return ("paper-transparent", Create(effect => effect.Paper = MangaScreentonePaper.Transparent), [0]);
|
||||
yield return ("ink-0", Create(effect => effect.Ink.Values[0].Value = 0), [0]);
|
||||
yield return ("ink-100", Create(effect => effect.Ink.Values[0].Value = 100), [0]);
|
||||
yield return ("keep-transparent", Create(effect => effect.KeepTransparent = true), [0]);
|
||||
yield return ("keep-transparent-margin-60", Create(effect =>
|
||||
{
|
||||
effect.KeepTransparent = true;
|
||||
effect.Margin.Values[0].Value = 60;
|
||||
}), [0]);
|
||||
}
|
||||
|
||||
public static IEnumerable<(string Name, Func<IVideoEffect> Create, Action<IVideoEffect> Change, int Frame)> Transitions()
|
||||
@@ -55,6 +61,7 @@ internal static class HarnessCases
|
||||
yield return ("paper-white-to-cream", () => Create(), effect => Of(effect).Paper = MangaScreentonePaper.Cream, 0);
|
||||
yield return ("ink-50-to-0", () => Create(), effect => Of(effect).Ink.Values[0].Value = 0, 0);
|
||||
yield return ("amount-100-to-0", () => Create(), effect => Of(effect).Amount.Values[0].Value = 0, 0);
|
||||
yield return ("keep-transparent-off-to-on", () => Create(), effect => Of(effect).KeepTransparent = true, 0);
|
||||
}
|
||||
|
||||
public static IEnumerable<(string Name, IVideoEffect Effect)> Benchmarks()
|
||||
|
||||
@@ -174,6 +174,20 @@
|
||||
0
|
||||
],
|
||||
"hash": "B2D5C503D456FA1752194191E6930130185190743CB74D3CC79BE04BE065EE85"
|
||||
},
|
||||
{
|
||||
"name": "keep-transparent",
|
||||
"frames": [
|
||||
0
|
||||
],
|
||||
"hash": "5A02C2928ADE25F4F1A9E02A4CED8DAD6C3E61B2761DB016904FC5A04EB8A588"
|
||||
},
|
||||
{
|
||||
"name": "keep-transparent-margin-60",
|
||||
"frames": [
|
||||
0
|
||||
],
|
||||
"hash": "A5630628E788159C2F466800CC378C17EEAA41919267DC9A629608BB9318381B"
|
||||
}
|
||||
]
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする