sfml

Bindings to the SFML multimedia library
IN THIS PACKAGE
Module SFTransform
type t
type matrix = {
a00 : float;
a01 : float;
a02 : float;
a10 : float;
a11 : float;
a12 : float;
a20 : float;
a21 : float;
a22 : float;
}
val fromMatrix : matrix:matrix -> t
val getIdentity : unit -> t
val getMatrix : transform:t -> float array
val getInverse : transform:t -> t
val combine : transform:t -> other:t -> unit
val translate : transform:t -> (float * float) -> unit
val translate2 : transform:t -> x:float -> y:float -> unit
val rotate : transform:t -> angle:float -> unit
val rotateWithCenter : transform:t -> angle:float -> center:(float * float) -> unit
val rotateWithCenter2 : transform:t -> angle:float -> centerX:float -> centerY:float -> unit
val scale : transform:t -> scaleX:float -> scaleY:float -> unit