TSdlSizeF
The structure that defines a size (using floating-point values).
Definition
Unit: Neslib.Sdl3.Video
Fields
Name | Description |
---|---|
H | |
W |
Constructors
Name | Description |
---|---|
Create(TSdlSize) | Create from a TSdlSize; |
Create(Single, Single) | Create from W and H values. |
Methods
Name | Description |
---|---|
Init(TSdlSize) | Initialize from a TSdlSize. |
Init(Single, Single) | Initialize from W and H values. |
Field Descriptions
H
var H: Single
Type: Single
W
var W: Single
Type: Single
Constructor Descriptions
Create
Create from a TSdlSize;
constructor Create(const ASize: TSdlSize); overload
Parameters
ASize
: TSdlSize
: The size.
Remarks
It is safe to call this constructor from any thread.
Create
Create from W and H values.
constructor Create(const AW, AH: Single); overload
Parameters
AW
: Single
: The W value.
AH
: Single
: The H value.
Remarks
It is safe to call this constructor from any thread.
Method Descriptions
Init(TSdlSize)
Initialize from a TSdlSize.
procedure Init(const ASize: TSdlSize); overload; inline
Parameters
ASize
: TSdlSize
: The size.
Remarks
It is safe to call this method from any thread.
Init(Single, Single)
Initialize from W and H values.
procedure Init(const AW, AH: Single); overload; inline
Parameters
AW
: Single
: The W value.
AH
: Single
: The H value.
Remarks
It is safe to call this method from any thread.