-
I'm looking to create a paint application with multiple layers, where each layer supports painting and erasing. In the single layer case, I can paint with a dstOver path, and erase with a dstOut path. This doesn't work with multiple layers as dstOut effectively "erases" every layer below it. Now I'm wondering how I can composite multiple layers. How can I create separate "contexts"? Should I just use multiple canvases? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Right now I'm just using multiple canvases. Think there may be someway to do this with picturess. |
Beta Was this translation helpful? Give feedback.
-
Take the elements you want in a separate layer and wrap them in a group like so:
|
Beta Was this translation helpful? Give feedback.
Take the elements you want in a separate layer and wrap them in a group like so: