package graphv_font_js

  1. Overview
  2. Docs

Module Backend.ImplSource

Parameters

module P : Params

Signature

Sourcetype font
Sourcetype glyph
Sourceval invalid_glyph : glyph
Sourcemodule VMetrics : sig ... end
Sourcemodule HMetrics : sig ... end
Sourceval vmetrics : font -> VMetrics.t
Sourceval hmetrics : font -> glyph -> HMetrics.t
Sourcemodule Box : sig ... end
Sourceval get_glyph_bitmap_box : font -> glyph -> scale:float -> Box.t
Sourceval kern_advance : font -> glyph -> glyph -> int
Sourceval create_font : Buffer.t -> font
Sourceval is_invalid_glyph : glyph -> bool
Sourceval make_glyph_bitmap : font -> Buffer.t -> width:int -> height:int -> scale:float -> Box.t -> glyph -> unit
Sourceval scale_for_mapping_em_to_pixels : font -> float -> float
Sourceval find : font -> int -> glyph option
Sourceval load_font : string -> font option
OCaml

Innovation. Community. Security.