package cairo2

  1. Overview
  2. Docs
Binding to Cairo, a 2D Vector Graphics Library

Install

Dune Dependency

Authors

Maintainers

Sources

cairo2-0.6.5.tbz
sha256=25dc41c9436d9abcf56caad9a105944ff7346041b8cc6a2a654ab8848b657372
sha512=9c13aaf0c716ac2fdec90d6dcb90a654c051cb9aa896e9333b819e68669efbf3ee7bb147882d45dd5b86db3fd868158bce46f46c5c8960f9add523d64342f704

CHANGES.md.html

0.6.5 2024-11-08

  • Do not link freetype twice.

0.6.4 2022-09-28

  • Be compatible with OCaml 5.0 (@kit-ty-kate).

0.6.3 2022-05-20

  • Fix bug in Path.fold.

  • Extend Image.get_data* to bigarrays with externally managed payload.

0.6.2 2020-11-23

  • Fix a memory leak (#19).

  • Fix GCC warnings, in particular the “multiple definition of …” (#23).

  • Clarify the license.

  • Use dune-configurator.

0.6.1 2019-03-20

  • Fix create_for_data32 handling of dimensions.

  • Documentation improvements.

  • Fix dependencies for cairo2-gtk and cairo2-pango.

0.6 2018-09-05

  • New Ft module to support FreeType fonts. This is enabled if the package conf-freetype is installed. On the C side, the exported header file cairo_ocaml.h defines the macro OCAML_CAIRO_HAS_FT when the Cairo bindings were compiled with TrueType support.

  • New package Cairo2-pango providing the module Cairo_pango.

  • Remove labels that were not bringing a clear benefit. With Dune default behavior, users will feel compelled to write labels which was cluttering the code with the previous interface. With Merlin, it is now possible to have the documentation of a function under the cursor displayed with a simple keystroke which should alleviate having slightly less documentation in the types.

  • Improve the documentation.

  • Use Dune (not the former Jbuilder) to compile.

OCaml

Innovation. Community. Security.