Blend2D - Getting Started and Sample Applications
This repository contains few samples that use Blend2D rendering engine. Many samples come from Getting Started page. It's expected (by default) that the directory structure is similar to the directory structure described in the Getting Started page. Use the following commands to fetch asmjit, blend2d, and these samples:
$ git clone --depth=1 https://github.com/asmjit/asmjit --branch next-wip
$ git clone --depth=1 https://github.com/blend2d/blend2d
$ git clone --depth=1 https://github.com/blend2d/bl-samples
After you have these 3 projects cloned use cmake to create your bl-samples
project, the rest should be handled automatically.
Resources
Some applications require files that are stored in resources
directory to work properly. Copying all resources to the build directory should be handled by the build script, but if it fails for whatever reason just copy the content of resources
to your build directory. If these files are missing the sample should report an error.
All files within resources should be freely redistributable:
- resources/texture.jpeg (Public Domain) - downloaded from publicdomainpictures.net.
- resources/NotoSans-Regular.ttf (OFL Version 1.1) - downloaded from Google WebFonts Repo.
License
All code samples (.cpp files) can be distributed under either Public Domain (UNLICENSE) or ZLIB license.