package tsdl-ttf

  1. Overview
  2. Docs
SDL2_Ttf bindings to go with Tsdl

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.tar.gz
md5=6de43e88261d53d43feaeca6db410a6e
sha512=5a0fddd2298ff339519cb99bd0bda72cc0c31a69881537457034b14b12e359fbad5442fb9d71d424f066530137dbe72dde6af2acccb47376a562022a598ffced

Description

Tsdl_ttf provides bindings to SDL2_ttf intended to be used with Tsdl.

Tags

tsdl SDL graphics bindings ttf

Published: 16 Jan 2023

README

tsdl-image — SDL2_ttf bindings for OCaml with Tsdl

WARNING: These bindings are subject to change.

Tsdl_ttf provides bindings to SDL2_ttf intended to be used with Tsdl.

It has as siblings tsdl-image and tsdl-mixer.

Note that these bindings are at an early stage and have only been used minimally. The interface may change. Comments and bug reports are welcome through the github page.

Installation

Via opam:

opam install tsdl-ttf

Documentation

Documentation is here, it can be generated with dune build @doc, (or ./make_doc.sh) but the binding follows the SDL2_ttf interface closely, so it may be sufficient to consult its documentation.

Starting from version 0.3, the library is usable in a toplevel (with #require "tsdl-ttf").

WARNING V0.3 Breaking change

Starting from 0.3, the library name is the same as the opam package name tsdl-ttf. (The library name used to be tsdl_ttf, which was confusing).

CI

https://ci.ocamllabs.io/github/sanette/tsdl-ttf

Dependencies (7)

  1. dune-configurator
  2. ctypes-foreign
  3. ctypes >= "0.4.0"
  4. conf-sdl2-ttf
  5. tsdl >= "0.9.1"
  6. ocaml >= "4.03"
  7. dune >= "2.7"

Dev Dependencies (1)

  1. odoc with-doc

Used by (5)

  1. bogue >= "20210917"
  2. chamo >= "4.0"
  3. oplot != "0.50"
  4. sdl-liquidsoap >= "2"
  5. stk

Conflicts

None