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);
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)}.
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.
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
MT-Level | MT-Safe |
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)