|
|
| | Ask HN: Need C code for drawing graphic primitives to a framebuffer | | 2 points by Surac 11 minutes ago | hide | past | favorite | 1 comment | |
| I have a framebuffer that must be seen as being slow. Also the cpu accessing the fb has no cache whatsoever to accelerate the memory access. I need c code for drawing thick lines with endcaps, thick circles, thick elipsoids and thick beizier curves. I have code to do all this 1 pixel wide, but I need code to draw them with a width without plotting over and over each pixel. I already have Bresenham implementation for lines, circles, ellipsis and beizier | |
| |
 | |
You need to look at a 2d vector graphics library eg: Skia, Cairo, Agg, NanoVG, Blend2D, OpenVG (and many other, in no particular order). |
|

Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact |