diffvg icon indicating copy to clipboard operation
diffvg copied to clipboard

Rectlinear shape update

Open yangluo23 opened this issue 1 year ago • 3 comments

Dear authors, Thanks for your novel work. Now I have met a problem that I need to update a rectilinear shape polygon. In diffvg, one possible way to represent such polygon is to use path (Line to) primitives, but how should I update such path where there are horizonal and vertical update step constraints for edges?

yangluo23 avatar Nov 09 '24 03:11 yangluo23

@yangluo23 Have you found any solution for this?

rayanelleuch avatar Mar 04 '25 16:03 rayanelleuch

@yangluo23 Have you found any solution for this?

Hi, actually later I just gave up this idea. But for this question, one intuitive way is to control the gradient vector, i.e., MASK one axis's gradient. But the overall performance may need further improvement.

yangluo23 avatar Mar 05 '25 01:03 yangluo23

Thanks for the feedback! I will take a look at it in the coming days.

rayanelleuch avatar Mar 07 '25 04:03 rayanelleuch