mlib_GraphicsDrawTriangleStripSet man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

mlib_GraphicsDrawTriangleSmediaLib3Libmlib_GraphicsDrawTriangleStripSet(3MLIB)

NAME
       mlib_GraphicsDrawTriangleStripSet, mlib_GraphicsDrawTriangleStripSet_8,
       mlib_GraphicsDrawTriangleStripSet_32,	       mlib_GraphicsDrawTrian‐
       gleStripSet_X_8, mlib_GraphicsDrawTriangleStripSet_X_32, mlib_Graphics‐
       DrawTriangleStripSet_A_8,       mlib_GraphicsDrawTriangleStripSet_A_32,
       mlib_GraphicsDrawTriangleStripSet_B_8,	       mlib_GraphicsDrawTrian‐
       gleStripSet_B_32, mlib_GraphicsDrawTriangleStripSet_G_8, mlib_Graphics‐
       DrawTriangleStripSet_G_32,	mlib_GraphicsDrawTriangleStripSet_Z_8,
       mlib_GraphicsDrawTriangleStripSet_Z_32,	       mlib_GraphicsDrawTrian‐
       gleStripSet_AB_8,  mlib_GraphicsDrawTriangleStripSet_AB_32, mlib_Graph‐
       icsDrawTriangleStripSet_ABG_8,		       mlib_GraphicsDrawTrian‐
       gleStripSet_ABG_32,	     mlib_GraphicsDrawTriangleStripSet_ABGZ_8,
       mlib_GraphicsDrawTriangleStripSet_ABGZ_32,      mlib_GraphicsDrawTrian‐
       gleStripSet_ABZ_8,	     mlib_GraphicsDrawTriangleStripSet_ABZ_32,
       mlib_GraphicsDrawTriangleStripSet_AG_8,	       mlib_GraphicsDrawTrian‐
       gleStripSet_AG_32, mlib_GraphicsDrawTriangleStripSet_AGZ_8, mlib_Graph‐
       icsDrawTriangleStripSet_AGZ_32, mlib_GraphicsDrawTriangleStripSet_AZ_8,
       mlib_GraphicsDrawTriangleStripSet_AZ_32,	       mlib_GraphicsDrawTrian‐
       gleStripSet_BG_8, mlib_GraphicsDrawTriangleStripSet_BG_32,  mlib_Graph‐
       icsDrawTriangleStripSet_BGZ_8,		       mlib_GraphicsDrawTrian‐
       gleStripSet_BGZ_32, mlib_GraphicsDrawTriangleStripSet_BZ_8, mlib_Graph‐
       icsDrawTriangleStripSet_BZ_32,  mlib_GraphicsDrawTriangleStripSet_GZ_8,
       mlib_GraphicsDrawTriangleStripSet_GZ_32 - draw triangle set  where  the
       first  side of each member is common to the second side of the previous
       member

SYNOPSIS
       cc [ flag... ] file... -lmlib [ library... ]
       #include <mlib.h>

       mlib_status mlib_GraphicsDrawTriangleStripSet_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_X_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c,
	   mlib_s32 c2);

       mlib_status mlib_GraphicsDrawTriangleStripSet_X_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c,
	   mlib_s32 c2);

       mlib_status mlib_GraphicsDrawTriangleStripSet_A_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_A_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_B_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c,
	   mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_B_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c,
	   mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_G_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y,
	   mlib_s32 npoints, const mlib_s32 *c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_G_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y,
	   mlib_s32 npoints, const mlib_s32 *c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_Z_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_Z_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AB_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c,
	   mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AB_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c,
	   mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_ABG_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints,
	   const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_ABG_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints,
	   const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_ABGZ_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_ABGZ_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_ABZ_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_ABZ_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AG_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints,
	   const mlib_s32 *c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AG_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints,
	   const mlib_s32 *c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AGZ_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AGZ_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AZ_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_AZ_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_BG_8(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints,
	   const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_BG_32(mlib_image *buffer,
	   const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints,
	   const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_BGZ_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_BGZ_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_BZ_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_BZ_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, mlib_s32 c, mlib_s32 a);

       mlib_status mlib_GraphicsDrawTriangleStripSet_GZ_8(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c);

       mlib_status mlib_GraphicsDrawTriangleStripSet_GZ_32(mlib_image *buffer,
	   mlib_image *zbuffer, const mlib_s16 *x, const mlib_s16 *y,
	   const mlib_s16 *z, mlib_s32 npoints, const mlib_s32 *c);

DESCRIPTION
       Each of the mlib_GraphicsDrawTriangleStripSet_*() functions draws a set
       of  triangles  with  vertices at {(x1,y1), (x2,y2), (x3,y3)}, {(x2,y2),
       (x3,y3), (x4,y4)}, ..., and {(xn-2,yn-2), (xn-1,yn-1), (xn,yn)}.

       Each of the mlib_GraphicsDrawTriangleStripSet_X_*() functions  draws  a
       set of triangles in Xor mode as follows:

	     data[x,y] ^= c ^ c2

       Each  of	 the mlib_GraphicsDrawTriangleStripSet_A_*() functions draws a
       set of triangles with antialiasing.

       Each of the mlib_GraphicsDrawTriangleStripSet_B_*() functions  draws  a
       set of triangles with alpha blending as follows:

	     data[x,y] = (data[x,y] * (255 - a) + c * a) / 255

       Each  of	 the mlib_GraphicsDrawTriangleStripSet_G_*() functions draws a
       set of triangles with Gouraud shading.

       Each of the mlib_GraphicsDrawTriangleStripSet_Z_*() functions  draws  a
       set of triangles with Z buffering.

       Each of the other functions draws a set of triangles with a combination
       of two or more features like  antialiasing  (A),	 alpha	blending  (B),
       Gouraud shading (G), and Z buffering (Z).

PARAMETERS
       Each of the functions takes some of the following arguments:

       buffer	  Pointer to the image into which the function is drawing.

       zbuffer	  Pointer to the image that holds the Z buffer.

       x	  Pointer to array of X coordinates of the points.

       y	  Pointer to array of Y coordinates of the points.

       z	  Pointer to array of Z coordinates of the points.

       npoints	  Number of points in the arrays.

       c	  Color	 used in the drawing, or pointer to array of colors of
		  the points in the case of Gouraud shading.

       c2	  Alternation color.

       a	  Alpha value for blending. 0 ≤ a ≤ 255.

RETURN VALUES
       Each of the functions returns MLIB_SUCCESS if successful. Otherwise  it
       returns MLIB_FAILURE.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       mlib_GraphicsDrawTriangle(3MLIB),  mlib_GraphicsDrawTriangleSet(3MLIB),
       mlib_GraphicsDrawTriangleFanSet(3MLIB), attributes(5)

SunOS 5.10			  2 Mamlib_GraphicsDrawTriangleStripSet(3MLIB)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net