peterhinch / micropython-micro-gui

A lightweight MicroPython GUI library for display drivers based on framebuf, allows input via pushbuttons. See also micropython-touch.
MIT License
247 stars 37 forks source link

SVG Driver? #14

Closed CT-Smyth closed 2 years ago

CT-Smyth commented 2 years ago

would it be possible to write an SVG driver so that the output could be written to an SVG file? Perhaps there is a better tool for SVG generation ported to micropython?

peterhinch commented 2 years ago

The micro-gui library uses graphics drivers subclassed from framebuffer.FrameBuffer and is bitmap based. There is no support for vector graphics.

Your question might be better raised in the forum. I believe there is a driver for Hershey fonts but I don't recall anyone working on SVG format - but my memory isn't what it was and I may be wrong here.