FRect.unify

Wraps SDL_UnionFRect which creates a dsdl2.FRect (from SDL 2.0.22) of the minimum size to enclose two given dsdl2.FRects

struct FRect
const @trusted
static if(sdlSupport >= SDLSupport.v2_0_22)
unify

Parameters

other FRect

other dsdl2.FRect to unify with the dsdl2.FRect

Return Value

Type: FRect

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

Meta