Tests: the listed Shadow style writes every Drop Shadow setting

This commit is contained in:
bflatastic committed 2026-11-02 14:32:54 +07:00
1 parent 83daab708d
commit 188754f68e
1 file changed
+2 -2
+2 -2
View File
@@ -2452,12 +2452,12 @@ fn fill_style_with(name: &str, xa: &str, extra: &str) -> String {
)
}
/// An art style named `name` with a drop shadow and no fills or strokes.
/// An art style named `name` with a drop shadow (every setting, Darkness) and no fills or strokes.
fn shadow_style(name: &str) -> String {
format!(
"/KnownStyle :\n({name}) /Name ,\n/ActiveStyle :\n/CompoundFilter :\n(Chain Style Filter) 0 0 /Filter ,\n1 /Visible ,\n\
/BasicFilter :\n(Conduit Filter) 0 0 /Filter ,\n1 /Visible ,\n;\n /Part ,\n\
/BasicFilter :\n(Adobe Drop Shadow) 1 0 /Filter ,\n1 /Visible ,\n/Dictionary : /NotRecorded ,\n3 /Real (horz) ,\n4 /Real (vert) ,\n; /Dict ;\n /Part ,\n;\n"
/BasicFilter :\n(Adobe Drop Shadow) 1 0 /Filter ,\n1 /Visible ,\n/Dictionary : /NotRecorded ,\n2 /Int (blnd) ,\n0.75 /Real (opac) ,\n3 /Real (horz) ,\n4 /Real (vert) ,\n5 /Real (blur) ,\n1 /Int (csrc) ,\n50 /Real (dark) ,\n; /Dict ;\n /Part ,\n;\n"
)
}