blend2d/0.9

2D Vector Graphics Engine Powered by a JIT Compiler
Recipe info
2024-06-07

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
blend2d/0.9

Using blend2d

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
blend2d/0.9
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("blend2d/0.9")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): blend2d
  • CMake target name(s): blend2d::blend2d
  • pkg-config file name(s): blend2d.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(blend2d REQUIRED)
# ...
target_link_libraries(YOUR_TARGET blend2d::blend2d)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the blend2d homepage listed above:

#include "blend2d-debug.h"
#include "blend2d-impl.h"
#include "blend2d.h"
#include "blend2d/api-impl.h"
#include "blend2d/api.h"
#include "blend2d/array.h"
#include "blend2d/bitarray.h"
#include "blend2d/bitset.h"
#include "blend2d/context.h"
#include "blend2d/filesystem.h"
#include "blend2d/font.h"
#include "blend2d/fontdata.h"
#include "blend2d/fontdefs.h"
#include "blend2d/fontface.h"
#include "blend2d/fontfeaturesettings.h"
#include "blend2d/fontmanager.h"
#include "blend2d/fontvariationsettings.h"
#include "blend2d/format.h"
#include "blend2d/geometry.h"
#include "blend2d/glyphbuffer.h"
#include "blend2d/glyphrun.h"
#include "blend2d/gradient.h"
#include "blend2d/image.h"
#include "blend2d/imagecodec.h"
#include "blend2d/imagedecoder.h"
#include "blend2d/imageencoder.h"
#include "blend2d/matrix.h"
#include "blend2d/object.h"
#include "blend2d/path.h"
#include "blend2d/pattern.h"
#include "blend2d/pixelconverter.h"
#include "blend2d/random.h"
#include "blend2d/rgba.h"
#include "blend2d/runtime.h"
#include "blend2d/string.h"
#include "blend2d/var.h"