/usr/lib/ocaml/camlimages/oXimage.mli is in libcamlimages-ocaml-dev 1:4.2.0-1build1.
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | (***********************************************************************)
(* *)
(* Objective Caml *)
(* *)
(* François Pessaux, projet Cristal, INRIA Rocquencourt *)
(* Pierre Weis, projet Cristal, INRIA Rocquencourt *)
(* Jun Furuse, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1999-2004, *)
(* Institut National de Recherche en Informatique et en Automatique. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: oXimage.mli,v 1.1.2.1 2010/05/13 13:14:47 furuse Exp $*)
class ximage : Ximage.t -> object
method width : int
method height : int
method unsafe_get : int -> int -> Ximage.elt
method unsafe_set : int -> int -> Ximage.elt -> unit
method get : int -> int -> Ximage.elt
method set : int -> int -> Ximage.elt -> unit
method data : Gdk.image
method destroy : unit
end;;
val create :
kind:Gdk.Image.image_type -> visual:Gdk.visual ->
width: int -> height: int -> ximage;;
val get_image : [>`drawable] Gobject.obj ->
x:int -> y:int -> width:int -> height:int -> ximage;;
val of_image :
Gdk.visual -> (float -> unit) option -> OImages.oimage -> ximage;;
val mask_of_image : Gdk.window -> OImages.oimage -> Gdk.bitmap option;;
val pixmap_of_image :
Gdk.window -> (float -> unit) option -> OImages.oimage -> GDraw.pixmap;;
|