Documentation
Dlang.org
Point.initFromPoint
graphene
point
Point
Initializes
p
with the same coordinates of src.
class
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
static functions
alloc
zero
Initializes p with the same coordinates of src.