Point.this - multiple declarations
Function Point.this
Constructs a dsdl2
from a vanilla SDL_Point
from bindbc-sdl
ref this
(
sdl .rect .SDL_Point sdlPoint
) @safe;
Parameters
Name | Description |
---|---|
sdlPoint | the dsdl2 struct |
Function Point.this
Constructs a dsdl2
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 dsdl2
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 dsdl2
from a dsdl2
(from SDL 2.0.10)
Parameters
Name | Description |
---|---|
fpoint | dsdl2 whose attributes are to be copied |