{"id":16186957,"url":"https://github.com/robloach/sdl2_gfx","last_synced_at":"2025-04-07T13:27:00.719Z","repository":{"id":66036521,"uuid":"58902216","full_name":"RobLoach/sdl2_gfx","owner":"RobLoach","description":"SDL2_gfx Mirror, likely out of date","archived":false,"fork":false,"pushed_at":"2016-05-16T03:55:12.000Z","size":1444,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T18:02:07.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sourceforge.net/projects/sdl2gfx/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobLoach.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-16T03:54:34.000Z","updated_at":"2025-03-19T05:22:41.000Z","dependencies_parsed_at":"2023-02-21T21:16:02.203Z","dependency_job_id":null,"html_url":"https://github.com/RobLoach/sdl2_gfx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fsdl2_gfx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fsdl2_gfx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fsdl2_gfx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fsdl2_gfx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobLoach","download_url":"https://codeload.github.com/RobLoach/sdl2_gfx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247659677,"owners_count":20974757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T07:19:55.893Z","updated_at":"2025-04-07T13:27:00.694Z","avatar_url":"https://github.com/RobLoach.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"/*!\r\n\r\n\\mainpage SDL2_gfx - Graphics primitives and surface functions for SDL2\r\n\r\n\\section contact_sec Contact and License\r\n\r\nEmail aschiffler at ferzkopp dot net to contact the author \r\nor better check author's homepage at http://www.ferzkopp.net \r\nfor the most up-to-date contact information.\r\n\r\nThis library is licenced under the zlib License, see the file LICENSE for details. \r\n\r\n\r\n\\section intro_sec Introduction\r\n\r\nThe SDL2_gfx library provides the basic drawing functions such as lines,\r\ncircles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.\r\n\r\nThe current components of the SDL2_gfx library are:\r\n- Graphic Primitives (SDL2_gfxPrimitives.h, SDL2_gfxPrimitives.c)\r\n- Surface Rotozoomer (SDL2_rotozoom.h, SDL2_rotozoom.c)\r\n- Framerate control (SDL2_framerate.h, SDL2_framerate.c)\r\n- MMX image filters (SDL2_imageFilter.h, SDL2_imageFilter.c)\r\n- Build-in 8x8 Font (SDL2_gfxPrimitives_font.h)\r\n\r\nNote that SDL2_gfx is compatible with SDL version 2.0 (not SDL 1.2).\r\n\r\n\\section install_sec Installation\r\n\r\n\\subsection unix Unix/Linux\r\n\r\nUse the standard autoconf/automake sequence to compile and install the library. \r\n\\verbatim\r\n        ./autogen.sh    # (optional, recommended)\r\n        ./configure\r\n        make\r\n        make install\r\n\\endverbatim\r\n\r\n\\\\subsubsection nommx Linker Configuration\r\n\r\nThe default location for the installation is /usr/local/lib and /usr/local/include. \r\nThis libary path may need to be added to the file the linker configuration file:\r\n\\verbatim\r\n        vi /etc/ld.so.conf\r\n        ldconfig\r\n\\endverbatim\r\n\r\n\\\\subsubsection nommx Non-MMX Platforms\r\n\r\nTo build without MMX code enabled (i.e. ARM, PPC, AMD64 architectures):\r\n\\verbatim\r\n        ./configure --disable-mmx\r\n        make\r\n        make install\r\n\\endverbatim\r\n\r\n\\subsection visualstudio Windows (VS2012, VS2013)\r\n\r\nOpen the SDL2_gfx.sln solution file, right click on the solution and choose 'Rebuild'.\r\n\r\nThe SDL2 Visual Studio solution must be placed in a directory alongside SDL2_gfx and build in the same configuration, i.e. Debug or Release, beforehand so the referenced SDL2.lib file can be found.\r\n\r\n\\subsection platformosx Mac OSX \r\n\r\nThe usual autotools build chain should be used. MacPorts or fink may be required.\r\n\r\nXcode is supported via templates. See Xcode.zip - this template only supports SDL2_gfx \r\nand not the tests. For this template, the Deployment Target (the lowest version to run on) \r\nis set to 10.11 and expects the SDL2.framework preinstalled in the default location: /Library/Frameworks.\r\n\r\n\\section test_sec Test Programs\r\n\r\nChange to the ./test directory and run\r\n\\verbatim\r\n        ./autogen.sh\r\n        ./configure\r\n        make\r\n\\endverbatim\r\nto create several test programs for the libraries functions. This requires\r\nthe SDL2_gfx library to be previously compiled and installed.\r\n\r\nSee the source in the test/*.c files for some sample code and implementation hints.\r\n\r\n\\section documentation_sec Documentation\r\n\r\nPlease refer to the Doxygen-generated API documentation found in the\r\nDocs/html folder as well as the test programs in the test folder.\r\n\r\n\\section changelog_sec Change Log\r\n\r\n\\verbinclude ChangeLog\r\n\r\n*/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobloach%2Fsdl2_gfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobloach%2Fsdl2_gfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobloach%2Fsdl2_gfx/lists"}