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/SFRect/index.html

Module SFRect

Online documentation for the Rect class

type 'a t = {
  1. left : 'a;
  2. top : 'a;
  3. width : 'a;
  4. height : 'a;
}
val contains_f : rect:float t -> x:float -> y:float -> bool
val contains_i : rect:int t -> x:int -> y:int -> bool
val intersects_i : rect1:int t -> rect2:int t -> bool
val intersection_i : rect1:int t -> rect2:int t -> int t option
val intersects_f : rect1:float t -> rect2:float t -> bool
val intersection_f : rect1:float t -> rect2:float t -> float t option
OCaml

Innovation. Community. Security.