Documentation
Dlang.org
Point.initFromPoint
graphene
point
Point
Initializes
p
with the same coordinates of src.
struct
Point
graphene.point.Point
initFromPoint
(
graphene.point.Point
src
)
Parameters
src
graphene
.
point
.
Point
the #graphene_point_t to use
Return Value
Type:
graphene
.
point
.
Point
the initialized point
graphene
point
Point
functions
distance
equal
initFromPoint
initFromVec2
init_
interpolate
near
toVec2
properties
_gType
static functions
_getGType
zero
variables
x
y
Initializes p with the same coordinates of src.