1gl_trisetdrawpoint(3)         Svgalib User Manual        gl_trisetdrawpoint(3)
2
3
4

NAME

6       gl_trisetdrawpoint - set a triangle drawing function
7
8

SYNOPSIS

10       #include <triangle.h>
11
12       void  gl_trisetdrawpoint(void  (setpixelfunc) (int x, int y, int color)
13       );
14
15

DESCRIPTION

17       If this function is called with setpixelfunc non-zero, then  the  func‐
18       tion  setpixelfunc is used from there after to draw each pixel (instead
19       of the usual direct screen buffer writes).
20
21       This function need never be used, except if you want to  use  your  own
22       pixel  drawing function for extra effects. If you use this feature, you
23       can be assured that none of the triangle routines will access the hard‐
24       ware, enabling portability to other environments.
25
26       Beware,  these  functions are not a direct part of the svgalib library.
27       Instead their source is part of svgalib and can be found in the threeD‐
28       kit/  subdirectory of the original svgalib distribution. However, it is
29       not installed in the system by default, s.t. it is  unclear  where  you
30       can find it if your svgalib was installed by some linux distribution.
31
32       In  case  of  any such problem, simply get an svgalib distribution from
33       the net. Yo don't need to install it. Just make in the threeDkit/  sub‐
34       directory. As of this writing, svgalib-1.2.12.tar.gz is the latest ver‐
35       sion  and  can  be   retrieved   by   ftp   from   sunsite.unc.edu   at
36       /pub/Linux/libs/graphics  and tsx-11.mit.edu at /pub/linux/sources/libs
37       which will most probably be mirrored by a site close to you.
38
39       The functions are defined in the tri.o and triangl.o
40
41       The functions are defined in the tri.o and triangl.o  files  (or  their
42       resp. sources) which you must link to your program.
43
44

SEE ALSO

46       vgagl(7),  svgalib(7), threedkit(7), gl_striangle(3), gl_swtriangle(3),
47       gl_triangle(3),    gl_trigetcolorlookup(3),    gl_trisetcolorlookup(3),
48       gl_wtriangle(3), plane(6), wrapdemo(6).
49
50

AUTHOR

52       This  manual  page  was  edited by Michael Weller <eowmob@exp-math.uni-
53       essen.de>. The demos, the initial documentation and the whole threedkit
54       stuff was done by Paul Sheer <psheer@icon.co.za>.
55
56       Paper mail:
57              Paul Sheer
58              P O BOX 890507
59              Lyndhurst
60              Johannesburg 2106
61              South Africa
62
63       Donations  (by  check  or  postal  order)  will be appreciated and will
64       encourage  further  development  of  this  software.  However  this  is
65       strictly  on  a voluntary basis where this software falls under the GNU
66       LIBRARY GENERAL PUBLIC LICENSE.
67
68
69
70Svgalib (>= 1.2.11)               2 Aug 1997             gl_trisetdrawpoint(3)
Impressum