Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Clipper2 community, thanks for this awesome library.
I though about a very simple problem clipping away parts of a rectangle with open paths with C++
At then end I want the right-hand side a closed path, where the lower right hand part is gone and replaced by the red line.
I have three questions here:
subjects
to be open, my scenario is not working out of the box, is it?USINGZ
feature. This I do by the following code:Now with my tracker, I can reconstruct the full trimmed rectangle, from the information how I pierced my edges of the rectangle.
I feel this is quite overengineered and I wonder if there is an easier solution.
3. Since my solutions depends on setting a
ZCallback
on my rectangle path, I cannot useRectClipLines
for my scenario, can I?Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions