Skip to content

TSdlSize

The structure that defines a size (using integers).

Definition

Unit: Neslib.Sdl3.Video

type TSdlSize = record ... end;

Fields

Name Description
H
W

Constructors

Name Description
Create Create from W and H values.

Methods

Name Description
Init Initialize from W and H values.

Field Descriptions

H

var H: Integer

Type: Integer


W

var W: Integer

Type: Integer


Constructor Descriptions

Create

Create from W and H values.

constructor Create(const AW, AH: Integer)

Parameters

AW: Integer : The W value.

AH: Integer : The H value.

Remarks

It is safe to call this constructor from any thread.


Method Descriptions

Init(Integer, Integer)

Initialize from W and H values.

procedure Init(const AW, AH: Integer); inline

Parameters

AW: Integer : The W value.

AH: Integer : The H value.

Remarks

It is safe to call this method from any thread.