mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 17:46:59 +00:00
Effects: the member limit's doc comment covers clipping paths walked twice
A group or layer in a clipping path that has geometry effects of its own is walked once for its members' effects and once for its own, and its members count toward the member limit each time. The doc comment of members_as_drawn now states this.
This commit is contained in:
@@ -905,7 +905,9 @@ pub fn evaluate_container(doc: Option<&Document>, n: &Node) -> Option<Node> {
|
||||
/// [`crate::reshape::own_effects_art`]), so the geometry effects of `n` reshape what its members
|
||||
/// draw. A clip group's clipping path only takes the geometry effects in it into its geometry
|
||||
/// ([`crate::clip::with_clip_effects_applied_while`]), and the members of a clipping group or
|
||||
/// compound path count toward the limit below. Images, symbol instances and the other objects
|
||||
/// compound path count toward the limit below. A group or layer in a clipping path that has
|
||||
/// geometry effects of its own is walked twice, once for its members' effects and once for its
|
||||
/// own, and its members count each time. Images, symbol instances and the other objects
|
||||
/// that `own_effects_art` leaves alone stay as they are, and so does a group or layer with a 3D
|
||||
/// effect with everything in it. Calls nested in one another, through the
|
||||
/// groups and layers it walks and the art it evaluates (symbol art and Pathfinder members
|
||||
|
||||
Reference in New Issue
Block a user