Documentation
Dlang.org
Rect.getVertices
graphene
rect
Rect
Computes the four vertices of a #graphene_rect_t.
class
Rect
void
getVertices
(
ref
graphene.vec2.Vec2
[]
vertices
)
Parameters
vertices
graphene
.
vec2
.
Vec2
[]
return location for an array of 4 #graphene_vec2_t
graphene
rect
Rect
functions
containsPoint
containsRect
equal
expand
getArea
getBottomLeft
getBottomRight
getCenter
getHeight
getTopLeft
getTopRight
getVertices
getWidth
getX
getY
initFromRect
init_
inset
insetR
interpolate
intersection
normalize
normalizeR
offset
offsetR
round
roundExtents
roundToPixel
scale
union_
static functions
alloc
zero
Computes the four vertices of a #graphene_rect_t.