Files
cpdf-source/cpdfimpose.mli
John Whitington c46d510eb2 Impose/Artifact
2025-03-19 15:48:46 +00:00

14 lines
803 B
OCaml

(** Imposition *)
(** Imposition. See cpdfmanual.pdf for details. *)
val impose : process_struct_tree:bool -> x:float -> y:float -> fit:bool -> columns:bool -> rtl:bool -> btt:bool -> center:bool -> margin:float -> spacing:float -> linewidth:float -> fast:bool -> Pdf.t -> Pdf.t
(** The legacy twoup_stack operation puts two logical pages on each physical page,
rotating them 90 degrees to do so. The new mediabox is thus larger. Bool true
(fast) if assume well-formed ISO content streams. *)
val twoup_stack : process_struct_tree:bool -> bool -> Pdf.t -> Pdf.t
(** The legacy twoup operation does the same, but scales the new sides down so that
the media box is unchanged. Bool true (fast) if assume well-formed ISO content streams. *)
val twoup : process_struct_tree:bool -> bool -> Pdf.t -> Pdf.t