I do wonder if these kind of libraries shouldn't be supplanted by hardware accelerated rendering, though.
I do wonder if these kind of libraries shouldn't be supplanted by hardware accelerated rendering, though.
The author of Antigrain passed away a few years back, sadly.
It was and still probably is one of the best graphics libraries out there, and he was really hoping for a time when antialias-free, vector-based UI on high-pixel-density screens would become reality.
[1] Announcement in Russian: https://rsdn.org/forum/life/5377743.flat
"Maxim Shemanarev 1966-2013. Tragically, unexpectedly passed away in his home at 47." The discussion that follows names epileptic seizure as the cause of death.
[2] For example, this glorious text on text rasterization from 2007 http://www.antigrain.com/research/font_rasterization/index.h...
$ python tools/git-sync-deps
$ gn gen out/release -args="is_official_build=true is_component_build=false"
$ ninja -C out/release
This will build it as a static library. I believe by default it will try to use system libraries, you can make it use its own version of those libraries in this slightly more complicated process (which could be done with a script but I'm too lazy to write one right now): $ gn args out/release --list --short
This will print all the current build arguments, copy all the use_system_XXX = true, you'll have to modify those to be = false, and paste them into the text editor that will open once you run: $ gn args out/release
After that, run ninja to build $ ninja -C out/release
For the include files, you have to add at least these to your include directory: include
include/config
include/core
include/effects
include/gpu
On Windows, you might want to have two builds linking against different versions of the std lib (because of the whole iterator debug level stuff). Add these args: extra_cflags=["/MTd"] and extra_cflags=["/MT"] for debug/release builds (statically linked in this case).Unfortunately, C++ libraries are a bit harder to use than other languages, hopefully the modules proposal will make this a lot easier.
Of course a better format in the first place(mentioned in another comment) would just solve this anyway