# Module Cairo_pdf

    module Cairo_pdf: sig .. end

PDF backend

    type surface = [ `Any | `PDF ] Cairo.surface

    val surface_create_for_channel : Stdlib.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

    val set_size : [> `PDF ] Cairo.surface ->
           width_in_points:float -> height_in_points:float -> unit