3 ms·
Cairo only picked up more maintainers over the last few years. Hence Skia has been used a lot more in projects that need similar capabilities.
by speps 3y ago
Cairo only picked up more maintainers over the last few years. Hence Skia has been used a lot more in projects that need similar capabilities.
- ahartmetz 3y agoAFAIK, Skia is supposed to be especially fast, which is often important in low-level ($current_year definition of low-level) libraries.
- peter_d_sherman 3y agoDidn't know about Skia previously! Thank you for the excellent suggestion! So, let's provide some links: Overview: https://en.wikipedia.org/wiki/Skia_Graphics_Engine https://en.wikipedia.org/wiki/Skia_Graphics_Engine Homepage: https://skia.org/ https://skia.org/ Source: https://skia.googlesource.com/skia/ https://skia.googlesource.com/skia/ (or) https://github.com/google/skia https://github.com/google/skia Also -- there's this old HN post: https://news.ycombinator.com/item?id=28143972 https://news.ycombinator.com/item?id=28143972 where the following github projects which involve drawing are mentioned: https://github.com/bkaradzic/bgfx https://github.com/bkaradzic/bgfx https://github.com/memononen/nanovg https://github.com/memononen/nanovg https://github.com/wjakob/nanogui https://github.com/wjakob/nanogui In the following article: https://www.cmyr.net/blog/gui-framework-ingredients.html https://www.cmyr.net/blog/gui-framework-ingredients.html we find the following interesting quote: >"These APIs exist, in subtly different form, on the various platforms. on macOS, there is CoreGraphics [Quartz 2D], on windows Direct2D, and on linux there is Cairo. One approach, then, is to present a common API abstraction over top of these platform APIs, puttying over the rough edges and filling in the gaps. (This is the approach we have currently taken, with the piet library.)" So, some more quick links: https://en.wikipedia.org/wiki/Direct2D https://en.wikipedia.org/wiki/Direct2D https://en.wikipedia.org/wiki/Quartz_(graphics_layer) https://en.wikipedia.org/wiki/Quartz_(graphics_layer) Piet: https://docs.rs/piet/latest/piet/ https://docs.rs/piet/latest/piet/ https://github.com/linebender/piet https://github.com/linebender/piet Related: 2018 Paper: "A Proposal to Add 2D Graphics Rendering and Display to C++": https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0267r8.pdf https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p02...