package cairo2

  1. Overview
  2. Docs
val create : fname:string -> width:float -> height:float -> Surface.t
val create_for_stream : output:(string -> unit) -> width:float -> height:float -> Surface.t
type level =
  1. | LEVEL_2
  2. | LEVEL_3
val restrict_to_level : Surface.t -> level -> unit
val get_levels : unit -> level list
val level_to_string : level -> string
val set_eps : Surface.t -> eps:bool -> unit
val get_eps : Surface.t -> bool
val set_size : Surface.t -> width:float -> height:float -> unit
module Dsc : sig ... end
OCaml

Innovation. Community. Security.