Rect.unify

Wraps SDL_UnionRect which creates a dsdl2.Rect of the minimum size to enclose two given dsdl2.Rects

struct Rect
const @trusted
unify

Parameters

other Rect

other dsdl2.Rect to unify with the dsdl2.Rect

Return Value

Type: Rect

dsdl2.Rect of the minimum size to enclose the dsdl2.Rect and other

Meta