百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

blend2d

> 编程语言
开源

由 JIT 编译器驱动的 2D 向量图形引擎

2.0K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

由 JIT 编译器驱动的 2D 向量图形引擎

Blend2D

2D Vector Graphics Powered by a JIT Compiler.

  • Official Home Page (blend2d.com)
  • Official Repository (blend2d/blend2d)
  • Public Chat Channel
  • Zlib License

See blend2d.com page for more details.

Project Organization

  • / - Project root, contains this README.md, other markdown files, CMakeLists.txt, and scripts for developers
    • src - Source code (always point include path in here)
      • blend2d - Blend2D source code and headers, all core classes and public headers are here
        • codec - Image codecs and codec utilities (BMP, JPEG, PNG, and QOI)
        • compression - Implementation of compression and decompression algorithms (DEFLATE)
        • opentype - TrueType and OpenType font support
        • pipeline - 2D rendering pipeline definitions and implementations (reference and JIT)
        • pixelops - Pixel operations helpers
        • raster - 2D rendering context implementation
        • simd - SIMD abstraction library Blend2D uses
        • support - Support classes and utilities (arena allocator & containers, bit operations, string operations, ...)
        • simd - SIMD abstraction library Blend2D uses
        • tables - Lookup tables and SIMD constants
        • threading - Multithreading abstraction (POSIX threads or Windows threads)
        • unicode - Support for unicode and conversion between various unicode encodings
    • testing - Testing, benchmarking, samples, and interactive demos (don't embed in your project)
    • 3rdparty - Place where to clone asmjit to enable JIT code generation or where to add dependencies for testing and benchmarking purposes

Roadmap

  • See Roadmap page for more details

Documentation

  • Documentation Index

Contributing Guidelines

  • CONTRIBUTING.md

Building

Blend2D 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)

Bindings

  • Download Page provides a list of Blend2D bindings

License

  • LICENSE.md

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Official Home Page (blend2d.com)
  • •Official Repository (blend2d/blend2d)
  • •Public Chat Channel
  • •Zlib License
  • •/ - Project root, contains this README.md, other markdown files, CMakeLists.txt, and scripts for developers
  • •src - Source code (always point include path in here)
  • •blend2d - Blend2D source code and headers, all core classes and public headers are here
  • •codec - Image codecs and codec utilities (BMP, JPEG, PNG, and QOI)
  • •compression - Implementation of compression and decompression algorithms (DEFLATE)
  • •opentype - TrueType and OpenType font support

> 标签

C++2d-graphicsasmjitcppjit

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言