Skip to content

SdlRect

Create a TSdlRect from X, Y, W and H values.

Definition

Unit: Neslib.Sdl3.Video

function SdlRect(const AX, AY, AW, AH: Integer): TSdlRect; overload; inline

Parameters

AX: Integer : The X value.

AY: Integer : The Y value.

AW: Integer : The width.

AH: Integer : The height.

Returns

TSdlRect: The rect.

Remarks

It is safe to call this function from any thread.