Point.this - multiple declarations
Function Point.this
Constructs a dsdl from a vanilla SDL_Point from bindbc-sdl
ref this
(
sdl .rect .SDL_Point sdlPoint
) @safe;
Parameters
| Name | Description |
|---|---|
| sdlPoint | the dsdl struct |
Function Point.this
Constructs a dsdl by feeding in an x and y pair
ref this
(
int x,
int y
) @safe;
Parameters
| Name | Description |
|---|---|
| x | x coordinate point |
| y | y coordinate point |
Function Point.this
Constructs a dsdl by feeding in an array of x and y
ref this
(
int[2] xy
) @safe;
Parameters
| Name | Description |
|---|---|
| xy | x and y coordinate point array |
Function Point.this
Constructs a dsdl from a dsdl (from SDL 2.0.10)
Parameters
| Name | Description |
|---|---|
| fpoint | dsdl whose attributes are to be copied |