FRect.this - multiple declarations
Function FRect.this
Constructs a dsdl
from a vanilla SDL_FRect
from bindbc-sdl
ref this
(
sdl .rect .SDL_FRect sdlFRect
) @safe;
Parameters
Name | Description |
---|---|
sdlFRect | the SDL_FRect struct |
Function FRect.this
Constructs a dsdl
by feeding in the x
, y
, width
, and height
of the rectangle
ref this
(
float x,
float y,
float width,
float height
) @safe;
Parameters
Name | Description |
---|---|
x | top-left x coordinate point of the rectangle |
y | top-left y coordinate point of the rectangle |
width | rectangle width |
height | rectangle height |
Function FRect.this
Constructs a dsdl
by feeding in a dsdl
as the xy
, then width
and height
of
the rectangle
Parameters
Name | Description |
---|---|
point | top-left point of the rectangle |
width | rectangle width |
height | rectangle height |
Function FRect.this
Constructs a dsdl
from a dsdl
Parameters
Name | Description |
---|---|
rect | dsdl whose attributes are to be copied |