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

Make the size of clipping masks only use the size of the mask #14

Open
WestonThayer opened this issue Aug 18, 2016 · 0 comments
Open

Make the size of clipping masks only use the size of the mask #14

WestonThayer opened this issue Aug 18, 2016 · 0 comments

Comments

@WestonThayer
Copy link
Owner

The size of a clipping mask according to Illustrator's API is determined by the largest object in the clip group. This is super unintuitive, and they don't provide a nice way to get the size of the mask object.

  • We can't simply ask for the first group child and take it's size, the mask object can be at any Z
  • Clip groups can be nested, so we would have to recurse through the entire tree to get the true size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant