package cairo

  1. Overview
  2. Docs
type surface = [ `Any | `SVG ] Cairo.surface
val surface_create_for_channel : Pervasives.out_channel -> width_in_points:float -> height_in_points:float -> surface
val surface_create_for_stream : (string -> unit) -> width_in_points:float -> height_in_points:float -> surface
type version =
  1. | VERSION_1_1
  2. | VERSION_1_2
val restrict_to_version : [> `SVG ] Cairo.surface -> version -> unit
val string_of_version : version -> string
OCaml

Innovation. Community. Security.