Blend2D is a next generation 2D vector graphics engine written in C++. It has been engineered from scratch to provide maximum performance of software based 2D rendering. It features a built-in JIT compiler that generates efficient pipelines at runtime and a completely new rasterizer that is both efficient and provides high quality anti-aliasing. The future of Blend2D is to offer asynchronous and multithreaded rendering to make integration with event-based environments such as node.js and next generation UI toolkits seamless.
Blend2D is written in C++ and provides modern and intuitive C++ API. The API was designed from scratch to be easy to use from C++ and easy to bind to other languages. As an example bindings for node.js are provided in a separate project called
Blend2D features an analytic rasterizer that was written from scratch to deliver high performance and to provide the same quality as AGG and FreeType rasterizers. It's more efficient because it uses different data structures to accumulate cells during rasterization and to scan them during composition. It has stable memory footprint and performs rasterization and composition in bands instead of using a typical scanline-based approach. The rasterizer is robust and excels in rendering text and complex vector art.
Blend2D provides similar paint styles as defined by SVG and HTML <canvas>, which include solid colors, gradients, and patterns. It uses a slot-based approach that allows to specify both fill and stroke styles separately. Gradients and patterns also support extend modes so it's possible to specify whether they should be padded, repeated, or reflected. Extend modes of patterns can be configured independently of X and Y.
Blend2D supports all Porter&Duff compositing operators and a wide range of blend modes defined by SVG, CSS, and PDF specifications. Composition and blending modes can be applied to any rendering operation including fills, strokes, and image blits.
Blend2D is currently in alpha stage. Alpha release targets companies and individuals that are already in touch with Blend2D team and beta release targets public audience. Alpha release can be seen as a pre-release and its purpose is to get an initial feedback about the library, its performance, and also issues. Alpha version is distributed with full source code, build instructions, and its only limitation is to not redistribute it to other parties and to not share its performance publicly before Blend2D goes beta. Anyone can request the alpha version by either contacting Blend2D team via email or gitter. If you have contacted Blend2D team before 2018 and you haven't received an alpha yet please repeat your request.
Beta release is expected to be out in June 2018 (approximately 1 month after alpha). The exact time depends on feedback provided by early adopters.
There is no guarantee that the C++ API of alpha and beta versions will stay compatible with future versions. These versions are not for people that are looking for long-term API stability. See Blend2D's roadmap for a high-level overview of planned features.
Blend2D started as a personal spare-time project to experiment with JIT compilation of 2D pipelines. The project has grown into a high-performance 2D rendering engine and its ambition is to outperform 2D rendering engines that are used today by taking advantage of JIT, SIMD, and multithreading.
The founder and lead developer of the Blend2D project is focusing solely on Blend2D and AsmJit projects - full-time and for free. This strategy is not feasible in the long term so the Blend2D project is looking for companies that can contribute financially or by allocating some of their development time to be spent on Blend2D (and optionally AsmJit if it's in their interest). It's possible that there will be more options available in the future (like paid support or pay-per-feature), but these will be decided after the beta is out.
Blend2D is not backed by any company at the moment and really needs your support. Be first!