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
constructors
this
functions
cPtr
distance
equal
initFromPoint
initFromVec2
init_
interpolate
near
self
toVec2
properties
gType
x
y
static functions
alloc
getGType
zero
Initializes p with the same coordinates of src.