package cairo

  1. Overview
  2. Docs
type 'a t
val set : context -> 'a t -> unit
val get : context -> font_type t
val get_type : 'a t -> font_type
val create : ?family:string -> slant -> weight -> [ `Toy ] t
val get_family : [ `Toy ] t -> string
val get_slant : [ `Toy ] t -> slant
val get_weight : [ `Toy ] t -> weight
OCaml

Innovation. Community. Security.