This crate provides rust bindings to the blend2d lib.
This project is currently WIP and therefor incomplete, due to this the crate will most likely go through breaking changes until a proper api has been figured out. Bear in mind that blend2d itself is also still in beta, meaning changes in their api will most likely be reflected in this crate as well in one way or another. This also means that some functionality is currently not correctly(or at all) implemented, for example, filling a context with an image will currently return an
Almost nothing is documented at this point so if confusion arises it might help to check out the C++ docs. This will hopefully change in the near future.
Not everything has been tested, so bugs might occur.
This crate requires CMake to be installed and available on
Also make sure to initialize the submodules after cloning the repository(
git submodule update --init).
You can find the examples here.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.