Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_graphicsdrawlinestripset_g_32(3mlib) [opensolaris man page]

mlib_GraphicsDrawLineStripSet(3MLIB)			    mediaLib Library Functions			      mlib_GraphicsDrawLineStripSet(3MLIB)

NAME
mlib_GraphicsDrawLineStripSet, mlib_GraphicsDrawLineStripSet_8, mlib_GraphicsDrawLineStripSet_32, mlib_GraphicsDrawLineStripSet_X_8, mlib_GraphicsDrawLineStripSet_X_32, mlib_GraphicsDrawLineStripSet_A_8, mlib_GraphicsDrawLineStripSet_A_32, mlib_GraphicsDraw- LineStripSet_B_8, mlib_GraphicsDrawLineStripSet_B_32, mlib_GraphicsDrawLineStripSet_G_8, mlib_GraphicsDrawLineStripSet_G_32, mlib_Graphics- DrawLineStripSet_Z_8, mlib_GraphicsDrawLineStripSet_Z_32, mlib_GraphicsDrawLineStripSet_AB_8, mlib_GraphicsDrawLineStripSet_AB_32, mlib_GraphicsDrawLineStripSet_ABG_8, mlib_GraphicsDrawLineStripSet_ABG_32, mlib_GraphicsDrawLineStripSet_ABGZ_8, mlib_GraphicsDraw- LineStripSet_ABGZ_32, mlib_GraphicsDrawLineStripSet_ABZ_8, mlib_GraphicsDrawLineStripSet_ABZ_32, mlib_GraphicsDrawLineStripSet_AG_8, mlib_GraphicsDrawLineStripSet_AG_32, mlib_GraphicsDrawLineStripSet_AGZ_8, mlib_GraphicsDrawLineStripSet_AGZ_32, mlib_GraphicsDraw- LineStripSet_AZ_8, mlib_GraphicsDrawLineStripSet_AZ_32, mlib_GraphicsDrawLineStripSet_BG_8, mlib_GraphicsDrawLineStripSet_BG_32, mlib_GraphicsDrawLineStripSet_BGZ_8, mlib_GraphicsDrawLineStripSet_BGZ_32, mlib_GraphicsDrawLineStripSet_BZ_8, mlib_GraphicsDraw- LineStripSet_BZ_32, mlib_GraphicsDrawLineStripSet_GZ_8, mlib_GraphicsDrawLineStripSet_GZ_32 - draw line set where each member of the set starts at the point where the previous member ended SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_GraphicsDrawLineStripSet_8(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c); mlib_status mlib_GraphicsDrawLineStripSet_32(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c); mlib_status mlib_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_A_8(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c); mlib_status mlib_GraphicsDrawLineStripSet_A_32(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, mlib_s32 c); mlib_status mlib_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_G_8(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, const mlib_s32 *c); mlib_status mlib_GraphicsDrawLineStripSet_G_32(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, const mlib_s32 *c); mlib_status mlib_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_AG_8(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, const mlib_s32 *c); mlib_status mlib_GraphicsDrawLineStripSet_AG_32(mlib_image *buffer, const mlib_s16 *x, const mlib_s16 *y, mlib_s32 npoints, const mlib_s32 *c); mlib_status mlib_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_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_GraphicsDrawLineStripSet_*() functions draws a set of lines connecting (x1,y1) with (x2,y2), (x2,y2) with (x3,y3), ..., and (xn-1,yn-1) with (xn,yn). Each of the mlib_GraphicsDrawLineStripSet_X_*() functions draws a set of lines in Xor mode as follows: data[x,y] ^= c ^ c2 Each of the mlib_GraphicsDrawLineStripSet_A_*() functions draws a set of lines with antialiasing. Each of the mlib_GraphicsDrawLineStripSet_B_*() functions draws a set of lines with alpha blending as follows: data[x,y] = (data[x,y] * (255 - a) + c * a) / 255 Each of the mlib_GraphicsDrawLineStripSet_G_*() functions draws a set of lines with Gouraud shading. Each of the mlib_GraphicsDrawLineStripSet_Z_*() functions draws a set of lines with Z buffering. Each of the other functions draws a set of lines with a combination of two or more features like antialiasing (A), alpha blending (B), Gouraud shading (G), and Z buffering (Z). Note that the mlib_GraphicsDrawPolyline_*() functions are aliases of the mlib_GraphicsDrawLineStripSet_*() functions. 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_GraphicsDrawLine(3MLIB), mlib_GraphicsDrawLineSet(3MLIB), mlib_GraphicsDrawLineFanSet(3MLIB), mlib_GraphicsDrawPolyline(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_GraphicsDrawLineStripSet(3MLIB)
Man Page