cpdf-source/cpdftype.mli

18 lines
243 B
OCaml
Raw Normal View History

2021-11-18 20:09:09 +01:00
type text = int list
type glue =
{glen : float;
stretch : float}
type code =
Text of text
| HGlue of glue
| VGlue of glue
| NewLine
| NewPage
| Font of Pdftext.font
type t = code list
2021-11-16 02:42:17 +01:00
val typeset : Pdfpaper.t -> t -> Pdfpage.t list