Home
last modified time | relevance | path

Searched refs:sdl_points (Results 1 – 1 of 1) sorted by relevance

/dports/devel/sdl2pp/libSDL2pp-0.16.1/SDL2pp/
H A DRenderer.cc234 std::vector<SDL_Point> sdl_points; in DrawPoints() local
235 sdl_points.reserve(static_cast<size_t>(count)); in DrawPoints()
237 sdl_points.emplace_back(*p); in DrawPoints()
239 if (SDL_RenderDrawPoints(renderer_, sdl_points.data(), count) != 0) in DrawPoints()
257 std::vector<SDL_Point> sdl_points; in DrawLines() local
258 sdl_points.reserve(static_cast<size_t>(count)); in DrawLines()
260 sdl_points.emplace_back(*p); in DrawLines()
262 if (SDL_RenderDrawLines(renderer_, sdl_points.data(), count) != 0) in DrawLines()