Query: mlib_graphicsdrawtrianglestripset_agz
OS: sunos
Section: 3mlib
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mlib_GraphicsDrawTriangleStripSet_AGZ(3MLIB) mediaLib Library Functions mlib_GraphicsDrawTriangleStripSet_AGZ(3MLIB)NAMEmlib_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 memberSYNOPSIScc [ 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);DESCRIPTIONEach 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)}.PARAMETERSEach 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 VALUESEach of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOmlib_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) SunOS 5.10 9 Nov 2004 mlib_GraphicsDrawTriangleStripSet_AGZ(3MLIB)