Module Mlpost.Cairost

module Cairost: sig .. end

Use the Cairo backend to draw your figures; not always available


val supported : bool
val emit_pdf : ?msg_error:float -> string -> Command.t -> unit
val emit_ps : string -> Command.t -> unit
val emit_png : string -> Command.t -> unit
val emit_svg : string -> Command.t -> unit
val emit_pdfs : string -> Command.t list -> unit

One figure by page

val dump_pdf : unit -> unit
val dump_ps : unit -> unit
val dump_png : unit -> unit
val dump_svg : unit -> unit
val dump_pdfs : string -> unit

Use the figures recorded by the function emit of metapost

val generate_pdfs : string -> (int * Command.t) list -> unit
type cairo_t = Cairo.t 
val emit_cairo : cairo_t -> float * float -> Command.t -> unit