Skip to content

Z-order painting #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Conversation

scholtzan
Copy link
Collaborator

This addresses #430

This requires linebender/piet#117 to have access to current_transform() which is necessary to keep track of applied transformations.

One thing that is missing here (also because I'm not 100% sure) is keeping track of clipping. Right now previous clipping is not applied to z-order painting. It would be a bit trickier since PaintCtx would need to keep track of clipping.

One other thing that I was thinking about was thinking about is whether it would make sense to allow negative z_indexes to allow painting below content?

@cmyr
Copy link
Member

cmyr commented Jan 21, 2020

cool, let's get that piet stuff merged and then this should be straightforward. Thanks for taking this on!

@cmyr
Copy link
Member

cmyr commented Jan 23, 2020

okay #472 brings your piet changes into druid, so this should be unblocked shortly. 👌

@scholtzan
Copy link
Collaborator Author

I created a new PR #504 since it was easier to just copy all the changes rather than fixing all merge conflicts

@scholtzan scholtzan closed this Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants