package tsdl-ttf

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.tar.gz
md5=7b5c4c7aac5f83759bf4141cd7ce7c90
sha512=7f7c64a457d16016c3dcea92bc66245cc351ed058a42837e8705dec82c0d1f401a45ab5c603e3348b4960b6a0bbe10c9e69575d830d28dc8a33895af897717ba

Description

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

Tags

tsdl SDL graphics bindings ttf

Published: 30 Nov 2022

README

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 (4)

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

Conflicts

None

OCaml

Innovation. Community. Security.