I've setup a 2d linear Pio that draws insulation layer, with arc and lines, with a given thickness.
It works fine but it fails in junction for angles that differs from 90 degreese.
Therefore I wish to know if someone knows a method to crop/hide/mask a Pio geometry likewise to the way we use to crop our Viewports or Bitmap images (without using SDK of course).
I've tried to insert in my code a white/colored polygon that hides the backmost geometry, but in joining two PIOs it's unusable.
If it not exist I would have to proceed in such a way as to check whether the points of each individual arc or line fall within a given perimeter: a job that is not impossible but extremely more complicated.
Thank you in advance for your valuable advice!