Oo_sfml_graphicsOnline documentation for the graphics module
class int_rect : ((int * int) * (int * int)) -> object ... endclass float_rect : ((float * float) * (float * float)) -> object ... endtype texture_src = [ | `FromDims of int * int| `FromFile of string| `FromImage of image| `FromMemory of string ]class texture : texture_src -> ?area:int SFRect.t -> unit -> object ... endclass render_states : ?blend_mode:SFBlendMode.t -> ?transform:SFTransform.t -> ?texture:
SFTexture.t -> ?shader:SFShader.t -> unit -> object ... endtype draw_type = | Sprite of SFSprite.t| Text of SFText.t| Shape of SFShape.t| Circle of SFCircleShape.tclass virtual drawable : object ... endclass sprite : object ... endclass shape : (float * float) array -> object ... endclass circle_shape : ?radius:float -> ?pointCount:int -> unit -> object ... endclass render_window : ?style:SFStyle.t list -> ?bpp:int -> ?settings:SFContextSettings.t -> (
int
* int) -> string -> object ... end