MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_RenderDrawPoint

Function SDL_RenderDrawPoint

deps/SDL2/src/render/SDL_render.c:2265–2272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2263 !!! FIXME: making the floating point versions the only available APIs. */
2264
2265int
2266SDL_RenderDrawPoint(SDL_Renderer * renderer, int x, int y)
2267{
2268 SDL_FPoint fpoint;
2269 fpoint.x = (float) x;
2270 fpoint.y = (float) y;
2271 return SDL_RenderDrawPointsF(renderer, &fpoint, 1);
2272}
2273
2274int
2275SDL_RenderDrawPointF(SDL_Renderer * renderer, float x, float y)

Callers 6

DrawPointsFunction · 0.85
MoveSpritesFunction · 0.85
DrawPointsFunction · 0.85
DrawOnViewportFunction · 0.85
render_testPrimitivesFunction · 0.85

Calls 1

SDL_RenderDrawPointsFFunction · 0.85

Tested by 6

DrawPointsFunction · 0.68
MoveSpritesFunction · 0.68
DrawPointsFunction · 0.68
DrawOnViewportFunction · 0.68
render_testPrimitivesFunction · 0.68