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

Generate compose ImageVector #48

Open
jzbrooks opened this issue Apr 29, 2024 · 2 comments
Open

Generate compose ImageVector #48

jzbrooks opened this issue Apr 29, 2024 · 2 comments
Labels
new feature New feature or request

Comments

@jzbrooks
Copy link
Owner

It might be useful to generate jetpack compose ImageVector from IR. It should be achievable with KotlinPoet, but better alternatives may exist.

@jzbrooks jzbrooks added the new feature New feature or request label Apr 29, 2024
@Goooler
Copy link
Contributor

Goooler commented Jul 19, 2024

I was planning to based on DevSrSouza/svg-to-compose#23.

@jzbrooks
Copy link
Owner Author

I don't completely follow.

I've wrestled with a similar approach to that tool (#47), but I lean away from that approach to avoid parsing the document multiple times and to avoid being glued to the limitations of the google implementation.

That said, I'm open to merging #47 since I haven't spent a ton of time with the project anyway lately (though I intend to soon, hopefully).

This tool would still need a composable writer that is able to take vgo-core IR and output a composable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants