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

Swapping out renderers #69

Open
corranwebster opened this issue Nov 12, 2024 · 0 comments
Open

Swapping out renderers #69

corranwebster opened this issue Nov 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@corranwebster
Copy link
Contributor

Currently all rendering is being done with Micropython's framebuf module, which provides basic drawing, but lacks some features such as multipolygons, winding number fill, etc. There are other libraries out there which may provide better support, but most of them require C extensions.

However, if they are available, it might be nice to be able to support rendering with those instead of framebuf. Probably the way to do this is to make the Raster object richer and act as a drawing intermediary - Shapes call to the Raster for actual drawing of individual geometries, and they then render as best they can.

This would align well with supporting alternate pixel formats, such as opacity, 8-bit grayscale, etc. via the Raster object.

@corranwebster corranwebster added the enhancement New feature or request label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant