~ubuntu-branches/debian/squeeze/camlimages/squeeze

« back to all changes in this revision

Viewing changes to corelib/rgba32.mli

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Le Gall, Ralf Treinen, Sylvain Le Gall
  • Date: 2009-03-05 00:19:32 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090305001932-f0hstlmun8hxvs0r
Tags: 1:3.0.1-1
[ Ralf Treinen ]
* Updated debian/watch.

[ Sylvain Le Gall ]
* New upstream version:
  * Remove useless patches
  * Adapt debian/rules and other debhelper files
  * Add debian/patches/fix_3_0_1 to fix various problem (probably due to
    OCaml 3.11 migration)
* Depends on version 2.12 of lablgtk2
* Add dh-ocaml build-dependency (rules/ocaml.mk)
* Add ${misc:Depends} to dependencies
* Update Homepage field into debian/control and debian/copyright
* Add license version for debian packaging
* Directly use eng.html rather than creating a linked index.html file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(***********************************************************************)
2
 
(*                                                                     *)
3
 
(*                           Objective Caml                            *)
4
 
(*                                                                     *)
5
 
(*            Fran�ois Pessaux, projet Cristal, INRIA Rocquencourt     *)
6
 
(*            Pierre Weis, projet Cristal, INRIA Rocquencourt          *)
7
 
(*            Jun Furuse, projet Cristal, INRIA Rocquencourt           *)
8
 
(*                                                                     *)
9
 
(*  Copyright 1999-2004,                                               *)
10
 
(*  Institut National de Recherche en Informatique et en Automatique.  *)
11
 
(*  Distributed only by permission.                                    *)
12
 
(*                                                                     *)
13
 
(***********************************************************************)
14
 
 
15
 
(* $Id: rgba32.mli,v 1.7 2004/09/24 14:27:27 weis Exp $ *)
16
 
 
17
 
(** RGBA 32 bit depth image format *)
18
 
 
19
 
type elt = Color.rgba;;
20
 
 
21
 
type rawimage;;
22
 
 
23
 
(* The image type *)
24
 
type t = {
25
 
  width : int;
26
 
  height : int;
27
 
  rawimage : rawimage;
28
 
  mutable infos : Info.info list;
29
 
 };;
30
 
 
31
 
val resize : (float -> unit) option -> t -> int -> int -> t;;
32
 
(** [resize progress t w h] creates a resized image of [t] with size [w]x[h].
33
 
   You can specify a progress meter function [progress], which takes
34
 
   a float from 0 to 1.0. *)
35
 
 
36
 
(** Generic functions *)
37
 
(** Please read the comments of IMAGE in genimage.mli *)
38
 
 
39
 
val dump : t -> string;;
40
 
val unsafe_access : t -> int -> int -> string * int;;
41
 
val get_strip : t -> int -> int -> int -> string;;
42
 
val set_strip : t -> int -> int -> int -> string -> unit;;
43
 
val get_scanline : t -> int -> string;;
44
 
val set_scanline : t -> int -> string -> unit;;
45
 
val unsafe_get : t -> int -> int -> elt;;
46
 
val unsafe_set : t -> int -> int -> elt -> unit;;
47
 
val get : t -> int -> int -> elt;;
48
 
val set : t -> int -> int -> elt -> unit;;
49
 
val destroy : t -> unit;;
50
 
val blit : t -> int -> int -> t -> int -> int -> int -> int -> unit;;
51
 
val map : (elt -> elt -> elt) ->
52
 
  t -> int -> int -> t -> int -> int -> int -> int -> unit;;
53
 
val create_with : int -> int -> Info.info list -> string -> t;;
54
 
val create : int -> int -> t;;
55
 
val make : int -> int -> elt -> t;;
56
 
val copy : t -> t;;
57
 
val sub : t -> int -> int -> int -> int -> t;;