Inglonias/VGraph

Ability to mirror drawing

Closed this issue · 2 comments

I want to be able to mirror stuff.

Mirroring options should be as follows:

  • Allow the user to decide whether to delete anything above the chosen line or not
  • Allow the user to decide where the center line should be.

The biggest open question here is how to handle line segments that cross the mirror line. Do I allow a user to proceed with the reflection if a line crosses the center point? If the user chooses to delete lines on the other side of the grid, does that line remain in place?

Right now, what I am leaning towards is checking if segments cross the mirror line when this tool is invoked, throw up an error message, and select the relevant line segments so the user can correct the problem.