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

certain blend operations cannot be applied to > 2 grobs simultaneously #13

Open
mjskay opened this issue Jun 20, 2022 · 0 comments
Open

Comments

@mjskay
Copy link
Owner

mjskay commented Jun 20, 2022

Certain blend ops (e.g. "atop") can only be applied to pairs of grobs using grid::groupGrob(src, op, dst) instead of grid::groupGrob(src, op) where src is (say) a grobTree or some other collection of grobs.

Need to fix blend() so that it is compatible with these binary-only ops to allow using ops like "atop". One option is to maintain a table of ops known to be compatible with > 2 grob blending and fall back to a Reduce() for the other ops (since that should definitely work but will be slower).

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