mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-02-16 11:50:54 +01:00
18 lines
302 B
OCaml
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
|