Support stand-alone Path objects in Canvas#4163
Support stand-alone Path objects in Canvas#4163corranwebster wants to merge 51 commits intobeeware:mainfrom
Conversation
Shouldn't break anything.
Thinking about it a bit, I could be convinced either way, but I'm currently leaning towards shallow copy being more "pythonic"; and |
|
I think we're approaching the point where this needs to wait for #4159 since there's overlap between the two at the public API level, and I want this to match the outcome from that. One question is what to do about things like this once #4159 is merged: path = Path2D()
path.arc(30, 20, 10)
with canvas.root_state.fill(path=path) as fill:
fill.rect(10, 20, 30, 40)Currently this will ignore the |
I agree, that makes sense. |
|
Thinking about the
|
|
Looks like a segfault on macOS Intel machines. I can replicate on an old Intel Mac on macOS Sequoia. It looks like it is an issue with |
This is experimental right now - backend only, and checking that I haven't broken anything.
Some tests should fail with coverage errors.
PR Checklist: