Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File lib/ocaml/pkg-lib/camlimages/blend.mli GODI Package godi-camlimages
Library camlimages
 
   blend.cmi_pretty    blend.mli    Sources  
type mode =
   | Normal | Multiply | Screen | Overlay (* | SoftLight | HardLight *)
   | ColorDodge | ColorBurn | Darken | Lighten | Difference
   | Exclusion (* | Luminosity | Color | Saturation | Hue *)

val blend : mode -> int -> int -> int
    (* [blend blendmode src dst] *)

val f : mode -> int -> Color.rgb -> Color.rgb -> Color.rgb
    (* [f blendmode srcalpha src dst] 8bit depth *)
    (* bug: no destination alpha support *)
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml