Content-type: text/html Man page of mlib_GraphicsFillTriangleStripSet_AGZ

mlib_GraphicsFillTriangleStripSet_AGZ

Section: mediaLib Library Functions (3MLIB)
Updated: 9 Nov 2004
Index Return to Main Contents
 

NAME

mlib_GraphicsFillTriangleStripSet_AGZ, mlib_GraphicsFillTriangleStripSet_AGZ_8, mlib_GraphicsFillTriangleStripSet_AGZ_32 - draw filled triangle set with antialiasing, Gouraud shading, and Z buffering, 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_GraphicsFillTriangleStripSet_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_GraphicsFillTriangleStripSet_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);  

DESCRIPTION

Each of these functions draws a filled 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)}.  

PARAMETERS

Each of the functions takes 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 Pointer to array of colors of the points.

 

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 TYPEATTRIBUTE VALUE
Interface StabilityEvolving
MT-LevelMT-Safe

 

SEE ALSO

mlib_GraphicsFillTriangleStripSet_8(3MLIB), mlib_GraphicsFillTriangleStripSet_A_8(3MLIB), mlib_GraphicsFillTriangleStripSet_AG_8(3MLIB), mlib_GraphicsFillTriangleStripSet_AZ_8(3MLIB), mlib_GraphicsFillTriangleStripSet_G_8(3MLIB), mlib_GraphicsFillTriangleStripSet_GZ_8(3MLIB), mlib_GraphicsFillTriangleStripSet_X_8(3MLIB), mlib_GraphicsFillTriangleStripSet_Z_8(3MLIB), attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:31 GMT, October 02, 2010