Skip to content
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

Constant opacity #158

Open
carewolf opened this issue Nov 9, 2017 · 0 comments
Open

Constant opacity #158

carewolf opened this issue Nov 9, 2017 · 0 comments

Comments

@carewolf
Copy link

carewolf commented Nov 9, 2017

A feature missing that most 2D renders have is painting with a constant opacity.

In the simplest API it is an additional global state setOpacity, which is multiplied on any sources painted before compositioned. A more flexible API would have the ability to make a new sub-surface and set an opacity on that surface, that make more compositions possible, and makes it possible to buffer sets of paint instructions and repaint them later perfectly. The latter for instance is not possible in QPainter and Skia because they only have global opacity state.

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

No branches or pull requests

1 participant