/usr/lib/ocaml/cairo/cairo_pdf.mli is in libcairo-ocaml-dev 1:1.2.0-5.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | (**************************************************************************)
(* cairo-ocaml -- Objective Caml bindings for Cairo *)
(* Copyright © 2004-2005 Olivier Andrieu *)
(* *)
(* This code is free software and is licensed under the terms of the *)
(* GNU Lesser General Public License version 2.1 (the "LGPL"). *)
(**************************************************************************)
(** PDF backend *)
type surface = [`Any|`PDF] Cairo.surface
val surface_create_for_channel :
out_channel ->
width_in_points:float ->
height_in_points:float -> surface
external surface_create_for_stream :
(string -> unit) ->
width_in_points:float ->
height_in_points:float -> surface = "ml_cairo_pdf_surface_create_for_stream"
external set_size :
[> `PDF] Cairo.surface -> width_in_points:float -> height_in_points:float -> unit = "ml_cairo_pdf_surface_set_size"
|