Commit 7992ced24a2b2d81c973d4425fe56a22a87b5071
1 parent
71a7ee36
Updated manual - added how to install SDL 2.0 library
Showing
1 changed file
with
5 additions
and
3 deletions
graphmanual.html
@@ -12,8 +12,10 @@ capabilities to the beginners learning C. It is expected, that after | @@ -12,8 +12,10 @@ capabilities to the beginners learning C. It is expected, that after | ||
12 | getting enough proficiency in C, the programmer will use SDL library | 12 | getting enough proficiency in C, the programmer will use SDL library |
13 | directly. The library is contained in the file <I>primlib.c</I>. | 13 | directly. The library is contained in the file <I>primlib.c</I>. |
14 | Every file using it should include <I>primlib.h</I>. The library | 14 | Every file using it should include <I>primlib.h</I>. The library |
15 | -requires <A HREF="http://www.libsdl.org/">SDL 2.0</A> and <A HREF="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">SDL2_gfx</A> | ||
16 | -and can be downloaded <A HREF="primlib.tgz">here</A></P> | 15 | +can be downloaded <A HREF="primlib.tgz">here</A>. |
16 | +It requires <A HREF="http://www.libsdl.org/">SDL 2.0</A> and <A HREF="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/">SDL2_gfx</A>, | ||
17 | +which can be installed in Ubuntu using the following command:</P> | ||
18 | +<PRE STYLE="margin-bottom: 0.2in">sudo apt install libsdl2-gfx-dev</PRE> | ||
17 | <H1>The coordinate system</H1> | 19 | <H1>The coordinate system</H1> |
18 | <P>The coordinate system origin is located at upper-left corner of a | 20 | <P>The coordinate system origin is located at upper-left corner of a |
19 | graphics window. Width and height of the graphics window can be | 21 | graphics window. Width and height of the graphics window can be |
@@ -1565,4 +1567,4 @@ Return-1 if no key has been pressed.</P> | @@ -1565,4 +1567,4 @@ Return-1 if no key has been pressed.</P> | ||
1565 | <P><BR><BR> | 1567 | <P><BR><BR> |
1566 | </P> | 1568 | </P> |
1567 | </BODY> | 1569 | </BODY> |
1568 | -</HTML> | ||
1569 | \ No newline at end of file | 1570 | \ No newline at end of file |
1571 | +</HTML> |