nanovg icon indicating copy to clipboard operation
nanovg copied to clipboard

how can i draw a dash line, it's very important to me

Open 914805218 opened this issue 7 years ago • 9 comments

914805218 avatar May 18 '18 02:05 914805218

Could you please stop spamming the bug tracker? It is annoying

The api is quite bare bones and drawing a dashed line is straightforward. You should choose another ui library when you are struggling with this problem.

koppa avatar May 19 '18 19:05 koppa

I wish the author can point a way to achieve the drawing dashed line thanks a lot

914805218 avatar May 21 '18 09:05 914805218

NanoVG does not support drawing dashed lines.

memononen avatar May 21 '18 18:05 memononen

Draw many lines or use a texture

koppa avatar May 22 '18 16:05 koppa

@koppa thanks a lot

914805218 avatar May 23 '18 07:05 914805218

aaa

I use nanovg draw the dash line,thanks to koppa

914805218 avatar Jun 04 '18 05:06 914805218

how did you manage to achieve the last image? is it a texture or multiple lines? if it is a texture how does it look like raw? can you post an snipped of how to achieve that result ? thx

LuisAyuso avatar Apr 05 '19 14:04 LuisAyuso

multiple lines

914805218 avatar Apr 08 '19 01:04 914805218

aaa

I use nanovg draw the dash line,thanks to koppa

can you tell me how to implement draw dash curve or circle by using multiple lines, can you show your code? plz

ab503044120 avatar Nov 07 '23 12:11 ab503044120