No matching definitions.

raygui/rect

src/raygui/rect.tur

axis-aligned bounding box used by all raygui controls.

Since: Phase 1

defstruct

Rect

(defstruct Rect [])

axis-aligned bounding box for a GUI control.

xleft edge in pixels
ytop edge in pixels
widthpixel width
heightpixel height

Since: Phase 1

defn

rect

(rect [x : float y : float w : float h : float] :)

construct a Rect.

xleft edge in pixels
ytop edge in pixels
wpixel width
hpixel height

A Rect value usable as the first argument of any raygui control.

(rect 10.0 10.0 120.0 30.0)  ; => Rect

Since: Phase 1