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

Implement getBBox #44

Closed
nicholascioli opened this issue Mar 4, 2021 · 1 comment
Closed

Implement getBBox #44

nicholascioli opened this issue Mar 4, 2021 · 1 comment

Comments

@nicholascioli
Copy link

I'd like to programmatically generate layouts using this library and need to be able to get the size of elements in order to resize backgrounds based on their contents.

This is defined as getBBox in the standard.

If this seems like something that is outside the scope of this project then I could try hacking together the algorithm using the standard as reference.

@IvanUkhov
Copy link
Member

Thank you for the note! Well, if I was planning to implement it anyway, I’d open a pull request here to see how it fits into the package. If it does, it will be merged. Otherwise, one would have a working code to be placed elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants