Draw dashed / dotted lines

Looking for ability to draw lines that are dotted or dashed, but am not seeing anything in the API or any obvious way to easily extend (something similar to openGL stipple pattern). Implementing custom plots, and need more than just standard solid lines.

Am I missing something or is this something that can be easily added?


It’s not possible at the moment.
A naive implementation to be using many calls to the line function but this is going to be very heavy. Eventually we probably want a specialized rendering function for that.