Renderer.clipRect - multiple declarations
Function Renderer.clipRect
Wraps SDL_RenderGetClipRect which gets the clipping dsdl of the renderer
Returns
clipping dsdl of the renderer
Function Renderer.clipRect
Wraps SDL_RenderSetClipRect which sets the clipping dsdl of the renderer
Parameters
| Name | Description |
|---|---|
| newRect | dsdl to set as the clipping rectangle |
Function Renderer.clipRect
Acts as SDL_RenderSetClipRect(renderer, NULL) which removes the clipping dsdl of the
renderer
void clipRect
(
typeof(null) _
) @property @trusted;
Function Renderer.clipRect
Wraps SDL_RenderSetClipRect which sets or removes the clipping dsdl of the renderer
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 |