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