package sfml
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/index.html
Module Oo_sfml_graphics
Online documentation for the graphics module
class int_rect : ((int * int) * (int * int)) -> object ... end
class float_rect : ((float * float) * (float * float)) -> object ... end
type 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 ... end
class render_states : ?blend_mode:SFBlendMode.t -> ?transform:SFTransform.t -> ?texture:
SFTexture.t -> ?shader:SFShader.t -> unit -> object ... end
type draw_type =
| Sprite of SFSprite.t
| Text of SFText.t
| Shape of SFShape.t
| Circle of SFCircleShape.t
class virtual drawable : object ... end
class sprite : object ... end
class shape : (float * float) array -> object ... end
class circle_shape : ?radius:float -> ?pointCount:int -> unit -> object ... end
class render_window : ?style:SFStyle.t list -> ?bpp:int -> ?settings:SFContextSettings.t -> (
int
* int) -> string -> object ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>