Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
gl_trisetdrawpoint(3)	      Svgalib User Manual	 gl_trisetdrawpoint(3)

NAME
       gl_trisetdrawpoint - set	a triangle drawing function

SYNOPSIS
       #include	<triangle.h>

       void  gl_trisetdrawpoint(void  (setpixelfunc) (int x, int y, int	color)
       );

DESCRIPTION
       If this function	is called with setpixelfunc non-zero, then  the	 func-
       tion  setpixelfunc is used from there after to draw each	pixel (instead
       of the usual direct screen buffer writes).

       This function need never	be used, except	if you want to	use  your  own
       pixel  drawing function for extra effects. If you use this feature, you
       can be assured that none	of the triangle	routines will access the hard-
       ware, enabling portability to other environments.

       Beware, these functions are not a direct	part of	the  svgalib  library.
       Instead their source is part of svgalib and can be found	in the threeD-
       kit/  subdirectory of the original svgalib distribution.	However, it is
       not installed in	the system by default, s.t. it is  unclear  where  you
       can find	it if your svgalib was installed by some linux distribution.

       In  case	 of  any such problem, simply get an svgalib distribution from
       the net.	Yo don't need to install it. Just make in the threeDkit/  sub-
       directory. As of	this writing, svgalib-1.2.12.tar.gz is the latest ver-
       sion   and   can	  be   retrieved   by	ftp  from  sunsite.unc.edu  at
       /pub/Linux/libs/graphics	and tsx-11.mit.edu at  /pub/linux/sources/libs
       which will most probably	be mirrored by a site close to you.

       The functions are defined in the	tri.o and triangl.o

       The  functions  are  defined in the tri.o and triangl.o files (or their
       resp. sources) which you	must link to your program.

SEE ALSO
       vgagl(7), svgalib(7), threedkit(7), gl_striangle(3),  gl_swtriangle(3),
       gl_triangle(3),	  gl_trigetcolorlookup(3),    gl_trisetcolorlookup(3),
       gl_wtriangle(3),	plane(6), wrapdemo(6).

AUTHOR
       This manual page	was edited by Michael Weller  <eowmob@exp-math.uni-es-
       sen.de>.	 The  demos, the initial documentation and the whole threedkit
       stuff was done by Paul Sheer <psheer@icon.co.za>.

       Paper mail:
	      Paul Sheer
	      P	O BOX 890507
	      Lyndhurst
	      Johannesburg 2106
	      South Africa

       Donations (by check or postal order) will be appreciated	and  will  en-
       courage	further	development of this software. However this is strictly
       on a voluntary basis where this software	falls under  the  GNU  LIBRARY
       GENERAL PUBLIC LICENSE.

Svgalib	(>= 1.2.11)		  2 Aug	1997		 gl_trisetdrawpoint(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=gl_trisetdrawpoint&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help