mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-27 03:06:57 -06:00
Water Paper: no Adobe address in the shipped effect description, clippy (#2955)
This commit is contained in:
@@ -579,7 +579,7 @@ pub fn effect_catalog() -> Vec<EffectInfo> {
|
||||
"sketch.waterPaper",
|
||||
"Water Paper…",
|
||||
SKETCH,
|
||||
"{fiberLength: pt 3..50 (15; scale of paper fibers and blotchy daubs), brightness: 0..100 (50), contrast: 0..100 (50)} washes the object's colours as if painted on damp fibrous paper, with soft flow and a fibrous modulation (behaviour per https://helpx.adobe.com/illustrator/using/summary-effects.html). Public helpx names Fiber Length, Brightness and Contrast but not slider ranges or dialog defaults; ranges and defaults here are unverified VectorCraft choices. Original visual approximation, not a proprietary reproduction.",
|
||||
"{fiberLength: pt 3..50 (15; scale of paper fibers and blotchy daubs), brightness: 0..100 (50), contrast: 0..100 (50)} washes the object's colours as if painted on damp fibrous paper, with soft flow and a fibrous modulation. Public helpx names Fiber Length, Brightness and Contrast but not slider ranges or dialog defaults; ranges and defaults here are unverified VectorCraft choices. Original visual approximation, not a proprietary reproduction.",
|
||||
json!({"fiberLength": 15.0, "brightness": 50.0, "contrast": 50.0}),
|
||||
),
|
||||
r(
|
||||
|
||||
@@ -2162,7 +2162,7 @@ fn water_paper_params_take_defaults_and_stay_in_range() {
|
||||
assert!(f.outset(Rect::new(0.0, 0.0, 100.0, 50.0)) > 0.0);
|
||||
assert!(f.reach().unwrap_or(0.0) > 0.0);
|
||||
let doc = crate::effect_info("sketch.waterPaper").unwrap().params;
|
||||
assert!(doc.contains("helpx.adobe.com/illustrator/using/summary-effects.html") && doc.contains("unverified"), "{doc}");
|
||||
assert!(doc.contains("unverified"), "{doc}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user