由 JIT 编译器驱动的 2D 向量图形引擎
2D Vector Graphics Powered by a JIT Compiler.
See blend2d.com page for more details.
/ - Project root, contains this README.md, other markdown files, CMakeLists.txt, and scripts for developersBlend2D is almost self-containing library. The only dependency is AsmJit, which is only required by when JIT is enabled.
To fetch both Blend2D and AsmJit, type:
$ git clone https://github.com/blend2d/blend2d
$ git clone https://github.com/asmjit/asmjit blend2d/3rdparty/asmjit
Then you can simply configure and build blend2d with CMake:
$ cmake -S blend2d -B blend2d/build/Release -DCMAKE_BUILD_TYPE=Release -DBLEND2D_TEST=ON
$ cmake --build blend2d/build/Release --config Release
And run samples:
$ blend2d/build/Release/bl_sample_1
$ blend2d/build/Release/bl_sample_2
...
To build Blend2D with interactive demos and with benchmark targeting Qt and other libraries, use BLEND2D_DEMOS=ON
$ cmake -S blend2d -B blend2d/build/Release -DCMAKE_BUILD_TYPE=Release -DBLEND2D_TEST=ON -DBLEND2D_DEMOS=ON
$ cmake --build blend2d/build/Release --config Release
Please note that to build interactive demos and benchmarking backends, you need to have Qt installed, in addition to all rendering libraries you would like to benchmark.
For more information, visit [https://blend2d.com/doc/build-instructions.html](Build Instructions)
暂无开放 Issues,或尚未同步最近议题。