SDL_RenderPoint

Draw a point on the current rendering target at subpixel precision.

extern (C) nothrow @nogc extern
bool
SDL_RenderPoint
(,
float x
,
float y
)

Parameters

renderer SDL_Renderer*

The renderer which should draw a point.

x float

The x coordinate of the point.

y float

The y coordinate of the point.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError for more information.

Threadsafety: This function should only be called on the main thread.

SDL_RenderPoints

Meta