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

Path in the software renderer #4178

Open
ogoffart opened this issue Dec 18, 2023 · 1 comment
Open

Path in the software renderer #4178

ogoffart opened this issue Dec 18, 2023 · 1 comment
Labels
a:renderer-software Software Renderer (mO,bF) enhancement New feature or request

Comments

@ogoffart
Copy link
Member

The Path element is not supported with the software renderer.

We have different choice to implement it:

  1. use some third party crate such as tiny_skia or something to draw the path in an cached image. The drawback is that this will require std, but should be fairly easy to implement.
  2. Make it in a way that could work with no_std and with minimal allocation on MCUs
@ogoffart ogoffart added the a:renderer-software Software Renderer (mO,bF) label Dec 18, 2023
@ogoffart ogoffart added this to the 1.4 milestone Dec 18, 2023
@ogoffart ogoffart removed this from the 1.4 milestone Jan 2, 2024
@tronical
Copy link
Member

zeno might also be an option for implementing the path rendering. It's also used by swash and has this nice Scratch pattern to re-use heap allocations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:renderer-software Software Renderer (mO,bF) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants