You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets the node id of a node with a specific reference that is upstream from the layer node, and optionally creates it if it does not exist.
241
242
/// The returned node is based on the selection dots in the layer. The right most dot will always insert/access the path that flows directly into the layer.
242
243
/// Each dot after that represents an existing path node. If there is an existing upstream node, then it will always be returned first.
let upstream = network_interface.upstream_flow_back_from_nodes(vec![output_layer.to_node()],&[], network_interface::FlowType::HorizontalFlow);
258
+
/// Gets the node id of a node with a specific reference (name) that is upstream (leftward) from the layer node, but before reaching another upstream layer stack.
259
+
/// For example, if given a group layer, this would find a requested "Transform" or "Boolean Operation" node in its chain, between the group layer and its layer stack child contents.
260
+
/// It would also travel up an entire layer that's not fed by a stack until reaching the generator node, such as a "Rectangle" or "Path" layer.
// TODO: Figure out and fix why this incorrectly applies the rotation twice if it's a leaf layer (VectorData, ImageFrame, etc. rather than a group)
540
+
returnDAffine2::from_angle(angle)* transform;
541
+
542
+
// TODO: Include skew in the transform cage, since rotation and skew are the two parts that affect the basis for the space in which the bounding box is calculated
0 commit comments