Renderer.fillRect - multiple declarations

Function Renderer.fillRect

Wraps SDL_RenderFillRect which fills a rectangle with the renderer's draw color

void fillRect (
  Rect rect
) @trusted;

Parameters

NameDescription
rect dsdl2.Rect of the rectangle

Throws

dsdl2.SDLException if rectangle failed to fill

Function Renderer.fillRect

Wraps SDL_RenderFillRectF (from SDL 2.0.10) which fills a rectangle with the renderer's draw color

void fillRect (
  FRect rect
) @trusted;

Parameters

NameDescription
rect dsdl2.FRect of the rectangle

Throws

dsdl2.SDLException if rectangle failed to fill