/usr/lib/ocaml/cairo/cairo_bigarray.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 | (**************************************************************************)
(* 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"). *)
(**************************************************************************)
(** image backend, via Bigarray *)
open Bigarray
val of_bigarr :
('a, 'b, c_layout) Array2.t -> Cairo.format ->
width:int -> height:int -> stride:int -> Cairo.image_surface
val of_bigarr_32 : alpha:bool -> (int32, int32_elt, c_layout) Array2.t -> Cairo.image_surface
val of_bigarr_24 : (int, int_elt, c_layout) Array2.t -> Cairo.image_surface
val of_bigarr_8 : (int, int8_unsigned_elt, c_layout) Array2.t -> Cairo.image_surface
val write_ppm_int32 : out_channel -> (int32, int32_elt, c_layout) Array2.t -> unit
val write_ppm_int : out_channel -> (int, int_elt, c_layout) Array2.t -> unit
|