Surface.clipRect - multiple declarations
Function Surface.clipRect
Wraps SDL_GetClipRect
which gets the clipping dsdl2
of the dsdl2
Returns
clipping dsdl2
of the dsdl2
Function Surface.clipRect
Wraps SDL_SetClipRect
which sets the clipping dsdl2
of the dsdl2
Parameters
Name | Description |
---|---|
newRect | dsdl2 to set as the clipping rectangle |
Function Surface.clipRect
Acts as SDL_SetClipRect(surface, NULL)
which removes the clipping dsdl2
of the
dsdl2
void clipRect
(
typeof(null) _
) @property @trusted;
Function Surface.clipRect
Wraps SDL_SetClipRect
which sets or removes the clipping dsdl2
of the dsdl2
void clipRect
(
std .typecons .Nullable!(dsdl2.rect.Rect) newRect
) @property @trusted;
Parameters
Name | Description |
---|---|
newRect | dsdl2 to set as the clipping rectangle; null to remove the clipping rectangle |