package sfml

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04

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

Class Oo_sfml_graphics.sprite

val sprite : SFSprite.t
method draw : SFRenderWindow.t -> ?states:render_states -> unit -> unit
method draw_item : draw_type
method get_rotation : unit -> float
method get_scale : unit -> float * float
method get_scale_x : unit -> float
method get_scale_y : unit -> float
method move : offset:(float * float) -> unit
method move2 : offset_x:float -> offset_y:float -> unit
method rotate : angle:float -> unit
method scale : factors:(float * float) -> unit
method scale2 : factor_x:float -> factor_y:float -> unit
method set_color : color:SFColor.t -> unit
method set_origin : origin:(float * float) -> unit
method set_position : pos:(float * float) -> unit
method set_position2 : x:float -> y:float -> unit
method set_rotation : rotation:float -> unit
method set_scale : scale:(float * float) -> unit
method set_scale2 : scale_x:float -> scale_y:float -> unit
method set_texture : texture:texture -> resetRect:bool -> unit
method t : SFSprite.t
OCaml

Innovation. Community. Security.