• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Docs/H12-Feb-2018-3,3492,607

Screenshots/H03-May-2022-

acinclude/H12-Feb-2018-9,6128,644

autom4te.cache/H21-Feb-2017-

test/H03-May-2022-13,90911,453

AUTHORSH A D05-Sep-201231 21

COPYINGH A D05-Sep-2012101 63

ChangeLogH A D12-Feb-20182.3 KiB6954

INSTALLH A D15-Jun-201416 11

Makefile.amH A D09-Jun-2014858 4532

Makefile.inH A D03-May-202226.8 KiB842736

NEWSH A D05-Sep-201214 21

READMEH A D21-Feb-20173.1 KiB9564

SDL2_framerate.cH A D12-Jul-20144.4 KiB19071

SDL2_framerate.hH A D12-Jul-20142.6 KiB10137

SDL2_gfx.pc.inH A D01-Jun-2014268 1210

SDL2_gfx.slnH A D13-Jul-20142.7 KiB4543

SDL2_gfx.vcxprojH A D15-Jul-20177 KiB140140

SDL2_gfxPrimitives.cH A D12-Feb-2018101.9 KiB3,8111,851

SDL2_gfxPrimitives.hH A D11-Feb-201810.5 KiB242113

SDL2_gfxPrimitives_font.hH A D12-Jul-201455.5 KiB3,1072,051

SDL2_imageFilter.cH A D12-Jul-2014304.4 KiB7,3725,711

SDL2_imageFilter.hH A D12-Jul-20147.4 KiB16760

SDL2_rotozoom.cH A D12-Feb-201839.7 KiB1,664859

SDL2_rotozoom.hH A D12-Jul-20142.9 KiB12440

aclocal.m4H A D04-Jul-201440.4 KiB1,079974

autogen.shH A D05-Sep-2012158 94

config.guessH A D05-Sep-201243.6 KiB1,5231,311

config.subH A D05-Sep-201234.5 KiB1,7671,621

configureH A D04-Jul-2014446 KiB15,54212,245

configure.inH A D04-Jul-20144 KiB149128

depcompH A D05-Sep-201219.9 KiB689448

install-shH A D05-Sep-201213.7 KiB528351

ltmain.shH A D22-Sep-2013278 KiB9,6887,330

missingH A D05-Sep-201210.1 KiB332243

README

1/*!
2
3\mainpage SDL2_gfx - Graphics primitives and surface functions for SDL2
4
5\section contact_sec Contact and License
6
7Email aschiffler at ferzkopp dot net to contact the author
8or better check author's homepage at http://www.ferzkopp.net
9for the most up-to-date contact information.
10
11This library is licenced under the zlib License, see the file LICENSE for details.
12
13
14\section intro_sec Introduction
15
16The SDL2_gfx library provides the basic drawing functions such as lines,
17circles or polygons provided by SDL_gfx on SDL2 against renderers of SDL2.
18
19The current components of the SDL2_gfx library are:
20- Graphic Primitives (SDL2_gfxPrimitives.h, SDL2_gfxPrimitives.c)
21- Surface Rotozoomer (SDL2_rotozoom.h, SDL2_rotozoom.c)
22- Framerate control (SDL2_framerate.h, SDL2_framerate.c)
23- MMX image filters (SDL2_imageFilter.h, SDL2_imageFilter.c)
24- Build-in 8x8 Font (SDL2_gfxPrimitives_font.h)
25
26Note that SDL2_gfx is compatible with SDL version 2.0 (not SDL 1.2).
27
28\section install_sec Installation
29
30\subsection unix Unix/Linux
31
32Use the standard autoconf/automake sequence to compile and install the library.
33\verbatim
34        ./autogen.sh    # (optional, recommended)
35        ./configure
36        make
37        make install
38\endverbatim
39
40\\subsubsection nommx Linker Configuration
41
42The default location for the installation is /usr/local/lib and /usr/local/include.
43This libary path may need to be added to the file the linker configuration file:
44\verbatim
45        vi /etc/ld.so.conf
46        ldconfig
47\endverbatim
48
49\\subsubsection nommx Non-MMX Platforms
50
51To build without MMX code enabled (i.e. ARM, PPC, AMD64 architectures):
52\verbatim
53        ./configure --disable-mmx
54        make
55        make install
56\endverbatim
57
58\subsection visualstudio Windows (VS2015)
59
60Open the SDL2_gfx.sln solution file, right click on the solution and choose 'Rebuild'.
61
62The SDL2-2.0.5 folder must be placed in a directory alongside SDL2_gfx (or sdl2gfx-code) and build in the same configuration, i.e. Debug or Release, beforehand so the referenced SDL2.lib file can be found.
63
64\subsection platformosx Mac OSX
65
66The usual autotools build chain should be used. MacPorts or fink may be required.
67
68Xcode is supported via templates. See Xcode.zip - this template only supports SDL2_gfx
69and not the tests. For this template, the Deployment Target (the lowest version to run on)
70is set to 10.11 and expects the SDL2.framework preinstalled in the default location: /Library/Frameworks.
71
72\section test_sec Test Programs
73
74Change to the ./test directory and run
75\verbatim
76        ./autogen.sh
77        ./configure
78        make
79\endverbatim
80to create several test programs for the libraries functions. This requires
81the SDL2_gfx library to be previously compiled and installed.
82
83See the source in the test/*.c files for some sample code and implementation hints.
84
85\section documentation_sec Documentation
86
87Please refer to the Doxygen-generated API documentation found in the
88Docs/html folder as well as the test programs in the test folder.
89
90\section changelog_sec Change Log
91
92\verbinclude ChangeLog
93
94*/
95