package sfml

  1. Overview
  2. Docs
Bindings to the SFML multimedia library

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-sfml-0.09.2.tar.gz
sha256=ce1e50dec69a4495232261627a359a8fb54d79788147380bee78b0983f8b6951
md5=9ae99bb47bb68d5181d01b7bbc78a351

doc/sfml.graphics_oo/Oo_sfml_graphics/class-image/index.html

Class Oo_sfml_graphics.image

val image : SFImage.t
method flip : flip_direction -> unit
method flip_horizontally : unit -> unit
method flip_vertically : unit -> unit
method get_pixel3 : x:int -> y:int -> SFColor.t
method get_pixel4 : x:int -> y:int -> SFColor.t
method get_pixel_rgb : x:int -> y:int -> SFColor.rgb
method get_pixel_rgba : x:int -> y:int -> SFColor.rgba
method get_pixels_ba : unit -> SFImage.gl_image
method get_pixels_str : unit -> string
method height : int
method save_to_file : filename:string -> unit
method set_pixel : x:int -> y:int -> color:SFColor.t -> unit
method size : int * int
method t : SFImage.t
method width : int
OCaml

Innovation. Community. Security.