Content-type: text/html Man page of mlib_GraphicsDrawTriangleStripSet_AGZ

mlib_GraphicsDrawTriangleStripSet_AGZ

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

NAME

mlib_GraphicsDrawTriangleStripSet_AGZ, mlib_GraphicsDrawTriangleStripSet_AGZ_8, mlib_GraphicsDrawTriangleStripSet_AGZ_32 - draw 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_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);  

DESCRIPTION

Each of these 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)}.  

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_GraphicsDrawTriangleStripSet_8(3MLIB), mlib_GraphicsDrawTriangleStripSet_A_8(3MLIB), mlib_GraphicsDrawTriangleStripSet_AG_8(3MLIB), mlib_GraphicsDrawTriangleStripSet_AZ_8(3MLIB), mlib_GraphicsDrawTriangleStripSet_G_8(3MLIB), mlib_GraphicsDrawTriangleStripSet_GZ_8(3MLIB), mlib_GraphicsDrawTriangleStripSet_X_8(3MLIB), mlib_GraphicsDrawTriangleStripSet_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:02 GMT, October 02, 2010