SDL2_gfx

SDL2_gfx 1.0.4

SDL graphics drawing primitives and support functions

<rendered-html><p>The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL surfaces.</p> <p>The current components of the SDL_gfx library are:</p> <ul> <li>Graphic Primitives (SDL_gfxPrimitves.h)</li> <li>Rotozoomer (SDL_rotozoom.h)</li> <li>Framerate control (SDL_framerate.h)</li> <li>MMX image filters (SDL_imageFilter.h)</li> <li>Custom Blit functions (SDL_gfxBlitFunc.h)</li> </ul> <p>The library is backwards compatible to the above mentioned code. Its is written in plain C and can be used in C++ code.</p> </rendered-html>

http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
zlib License
programs: -
Platforms (80)
x86_64-windowsaarch64-darwinmicroblaze-nonemips-nonei686-openbsdarm-nonearmv5tel-linuxarmv6l-netbsd
View source on NixOS/nixpkgs →

Install

Copy into your configuration

NixOS (configuration.nix)
environment.systemPackages = with pkgs; [
  SDL2_gfx
];
Ad-hoc shell
nix-shell -p SDL2_gfx
Flake (nix run)
nix run nixpkgs#SDL2_gfx