package patoline

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module ClassMap : sig ... end
type font_cache = {
  1. subfonts : (Patfonts.Fonts.font * (Patfonts.FTypes.glyph_id * int) Patutil.Extra.IntMap.t) Patutil.Extra.StrMap.t;
  2. fontBuffers : Stdlib.Buffer.t Patutil.Extra.StrMap.t;
  3. mutable instances : int Patutil.Extra.StrMap.t Patutil.Extra.StrMap.t;
  4. fontFamilies : (string * int) Patutil.Extra.StrMap.t;
  5. mutable classes : int ClassMap.t;
}
val build_font_cache : string -> Patoraw.RawContent.raw list array -> font_cache
val output_fonts : font_cache -> unit
val filter_fonts : string -> font_cache -> unit
val classStyle : font_cache -> Patoraw.RawContent.glyph -> int * float * Patoraw.Color.color
exception Style of int * float * Patoraw.Color.color * int
val max_old_class : int Stdlib.ref
val className : ?create_new_class:bool -> font_cache -> Patoraw.RawContent.glyph -> int
val make_style : font_cache -> Stdlib.Buffer.t
OCaml

Innovation. Community. Security.