Skip to content

Implement the Path Tool for Bezier curve editing #82

@edwin0cheng

Description

@edwin0cheng
  • Create a system for dealing with points.
  • The visualization part eventually involves the Viewport Overlays system (Node graph-based viewport overlays system #99), but we can temporarily use the already-implemented system for "working layers" (shapes drawn to the canvas in a preview state before they get committed to the document).
  • De-conflicting clicks when multiple points are very close together (using Blender's method of picking the one based on distance from the mouse to the edge connected to that point, so you move your mouse closer to one side or the other of the path edge to prioritize one point or the other)
  • Points are extracted from all layers but not occluded by the fill of other layers (that's a complexity of behavior we can address later.)

Goes hand-in-hand with #185, the Pen Tool, which creates the Bezier paths similarly to how the Path Tool edits them.

Complexity: 3
Involves: Editor (Rust), Document (Rust)

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions