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 version =
  1. | VERSION_1_1
  2. | VERSION_1_2
val restrict_to_version : Surface.t -> version -> unit
val get_versions : unit -> version list
val version_to_string : version -> string