toRect

fnRect toRect(IRect rect) @trusted @safe nothrow @nogc

Converts an IRect to a Rect.

fnRect toRect(SRect rect) @trusted @safe nothrow @nogc

Converts an SRect to a Rect.