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