brandonagr / gocupi

Polargraph (vertical plotter / drawing machine) written in Go
GNU Lesser General Public License v3.0
101 stars 26 forks source link

warn for clipping #13

Open sergio-daniels opened 9 years ago

sergio-daniels commented 9 years ago

many gocupi commands do not warn the user of clipping before starting the plot. It would be nice the user got warned that the plot will be clipped.

brandonagr commented 9 years ago

Is there a specific command you would like handled better? In the generic case it can't always warn ahead of time because it doesn't know the path it will take until it starts generating the drawing for some commands. Would need to add logic to each command to estimate its bounds before it starts drawing

sergio-daniels commented 9 years ago

in particular for the svg command