holoviz-topics / holodoodler

7 stars 4 forks source link

Simplify doodles handling and validate them #29

Closed maximlt closed 2 years ago

maximlt commented 2 years ago

I've finally found a way not to have to project the lines from a dummy [-1, -1, 0, 0] space to the pixel space. This PR removes the code that was taking care of that, and adds a utility that validates that the doodles drawn are within the image bounds.