cpdf-source/cpdftype.mli

18 lines
302 B
OCaml

type text = int list
type glue =
{glen : float;
stretch : float}
type element =
Text of text
| HGlue of glue
| VGlue of glue
| NewLine
| NewPage
| Font of Pdftext.font * float
type t = element list
val typeset : float -> float -> float -> float -> Pdfpaper.t -> Pdf.t -> t -> Pdfpage.t list