package tsdl-ttf

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.tar.gz
md5=d6bbaa847f727c2e189845f6eab44291
sha512=3184207a273869db6c208b37e41d09121ec124fdab6675d5c2fcbe2592f0104d2bfd8afeeee2b7c6ac12d94ec9bdf89d8bb2f581e3ac2767a5c95814dbbe7db3

Description

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

Tags

tsdl SDL graphics bindings ttf

Published: 08 Aug 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

OCaml

Innovation. Community. Security.