Skip Navigation Links | |
Exit Print View | |
![]() |
man pages section 3: Multimedia Library Functions Oracle Solaris 11.1 Information Library |
Multimedia Library Functions - Part 1
Multimedia Library Functions - Part 2
mlib_GraphicsFillPolygon_BZ_8(3MLIB)
mlib_GraphicsFillPolygon_G_32(3MLIB)
mlib_GraphicsFillPolygon_G_8(3MLIB)
mlib_GraphicsFillPolygon_GZ_32(3MLIB)
mlib_GraphicsFillPolygon_GZ_8(3MLIB)
mlib_GraphicsFillPolygon_X_32(3MLIB)
mlib_GraphicsFillPolygon_X_8(3MLIB)
mlib_GraphicsFillPolygon_Z_32(3MLIB)
mlib_GraphicsFillPolygon_Z_8(3MLIB)
mlib_GraphicsFillRectangle_32(3MLIB)
mlib_GraphicsFillRectangle(3MLIB)
mlib_GraphicsFillRectangle_8(3MLIB)
mlib_GraphicsFillRectangle_B_32(3MLIB)
mlib_GraphicsFillRectangle_B_8(3MLIB)
mlib_GraphicsFillRectangle_X_32(3MLIB)
mlib_GraphicsFillRectangle_X_8(3MLIB)
mlib_GraphicsFillTriangle_32(3MLIB)
mlib_GraphicsFillTriangle(3MLIB)
mlib_GraphicsFillTriangle_8(3MLIB)
mlib_GraphicsFillTriangle_A_32(3MLIB)
mlib_GraphicsFillTriangle_A_8(3MLIB)
mlib_GraphicsFillTriangle_AB_32(3MLIB)
mlib_GraphicsFillTriangle_AB_8(3MLIB)
mlib_GraphicsFillTriangle_ABG_32(3MLIB)
mlib_GraphicsFillTriangle_ABG_8(3MLIB)
mlib_GraphicsFillTriangle_ABGZ_32(3MLIB)
mlib_GraphicsFillTriangle_ABGZ_8(3MLIB)
mlib_GraphicsFillTriangle_ABZ_32(3MLIB)
mlib_GraphicsFillTriangle_ABZ_8(3MLIB)
mlib_GraphicsFillTriangle_AG_32(3MLIB)
mlib_GraphicsFillTriangle_AG_8(3MLIB)
mlib_GraphicsFillTriangle_AGZ_32(3MLIB)
mlib_GraphicsFillTriangle_AGZ_8(3MLIB)
mlib_GraphicsFillTriangle_AZ_32(3MLIB)
mlib_GraphicsFillTriangle_AZ_8(3MLIB)
mlib_GraphicsFillTriangle_B_32(3MLIB)
mlib_GraphicsFillTriangle_B_8(3MLIB)
mlib_GraphicsFillTriangle_BG_32(3MLIB)
mlib_GraphicsFillTriangle_BG_8(3MLIB)
mlib_GraphicsFillTriangle_BGZ_32(3MLIB)
mlib_GraphicsFillTriangle_BGZ_8(3MLIB)
mlib_GraphicsFillTriangle_BZ_32(3MLIB)
mlib_GraphicsFillTriangle_BZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_32(3MLIB)
mlib_GraphicsFillTriangleFanSet(3MLIB)
mlib_GraphicsFillTriangleFanSet_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_A_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_A_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_AB_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_AB_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_ABG_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_ABG_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_ABGZ_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_ABGZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_ABZ_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_ABZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_AG_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_AG_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_AGZ_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_AGZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_AZ_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_AZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_B_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_B_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_BG_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_BG_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_BGZ_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_BGZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_BZ_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_BZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_G_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_G_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_GZ_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_GZ_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_X_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_X_8(3MLIB)
mlib_GraphicsFillTriangleFanSet_Z_32(3MLIB)
mlib_GraphicsFillTriangleFanSet_Z_8(3MLIB)
mlib_GraphicsFillTriangle_G_32(3MLIB)
mlib_GraphicsFillTriangle_G_8(3MLIB)
mlib_GraphicsFillTriangle_GZ_32(3MLIB)
mlib_GraphicsFillTriangle_GZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_32(3MLIB)
mlib_GraphicsFillTriangleSet(3MLIB)
mlib_GraphicsFillTriangleSet_8(3MLIB)
mlib_GraphicsFillTriangleSet_A_32(3MLIB)
mlib_GraphicsFillTriangleSet_A_8(3MLIB)
mlib_GraphicsFillTriangleSet_AB_32(3MLIB)
mlib_GraphicsFillTriangleSet_AB_8(3MLIB)
mlib_GraphicsFillTriangleSet_ABG_32(3MLIB)
mlib_GraphicsFillTriangleSet_ABG_8(3MLIB)
mlib_GraphicsFillTriangleSet_ABGZ_32(3MLIB)
mlib_GraphicsFillTriangleSet_ABGZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_ABZ_32(3MLIB)
mlib_GraphicsFillTriangleSet_ABZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_AG_32(3MLIB)
mlib_GraphicsFillTriangleSet_AG_8(3MLIB)
mlib_GraphicsFillTriangleSet_AGZ_32(3MLIB)
mlib_GraphicsFillTriangleSet_AGZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_AZ_32(3MLIB)
mlib_GraphicsFillTriangleSet_AZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_B_32(3MLIB)
mlib_GraphicsFillTriangleSet_B_8(3MLIB)
mlib_GraphicsFillTriangleSet_BG_32(3MLIB)
mlib_GraphicsFillTriangleSet_BG_8(3MLIB)
mlib_GraphicsFillTriangleSet_BGZ_32(3MLIB)
mlib_GraphicsFillTriangleSet_BGZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_BZ_32(3MLIB)
mlib_GraphicsFillTriangleSet_BZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_G_32(3MLIB)
mlib_GraphicsFillTriangleSet_G_8(3MLIB)
mlib_GraphicsFillTriangleSet_GZ_32(3MLIB)
mlib_GraphicsFillTriangleSet_GZ_8(3MLIB)
mlib_GraphicsFillTriangleSet_X_32(3MLIB)
mlib_GraphicsFillTriangleSet_X_8(3MLIB)
mlib_GraphicsFillTriangleSet_Z_32(3MLIB)
mlib_GraphicsFillTriangleSet_Z_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_32(3MLIB)
mlib_GraphicsFillTriangleStripSet(3MLIB)
mlib_GraphicsFillTriangleStripSet_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_A_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_A_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_AB_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_AB_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_ABG_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_ABG_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_ABGZ_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_ABGZ_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_ABZ_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_ABZ_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_AG_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_AG_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_AGZ_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_AGZ_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_AZ_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_AZ_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_B_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_B_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_BG_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_BG_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_BGZ_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_BGZ_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_BZ_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_BZ_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_G_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_G_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_GZ_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_GZ_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_X_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_X_8(3MLIB)
mlib_GraphicsFillTriangleStripSet_Z_32(3MLIB)
mlib_GraphicsFillTriangleStripSet_Z_8(3MLIB)
mlib_GraphicsFillTriangle_X_32(3MLIB)
mlib_GraphicsFillTriangle_X_8(3MLIB)
mlib_GraphicsFillTriangle_Z_8(3MLIB)
mlib_GraphicsFloodFill_32(3MLIB)
mlib_GraphicsFloodFill_8(3MLIB)
mlib_ImageAffineTable_Fp(3MLIB)
mlib_ImageAffineTransform(3MLIB)
mlib_ImageAffineTransform_Fp(3MLIB)
mlib_ImageAffineTransformIndex(3MLIB)
mlib_ImageAutoCorrel_Fp(3MLIB)
mlib_ImageBlend1_Fp_Inp(3MLIB)
mlib_ImageBlend2_Fp_Inp(3MLIB)
mlib_ImageBlend_BSRC1_BSRC2(3MLIB)
mlib_ImageBlend_BSRC1_BSRC2_Inp(3MLIB)
mlib_ImageBlendColor_Fp(3MLIB)
mlib_ImageBlendColor_Fp_Inp(3MLIB)
mlib_ImageBlendColor_Inp(3MLIB)
mlib_ImageBlend_DA_DA_Inp(3MLIB)
mlib_ImageBlend_DA_DC_Inp(3MLIB)
mlib_ImageBlend_DA_OMDA(3MLIB)
mlib_ImageBlend_DA_OMDA_Inp(3MLIB)
mlib_ImageBlend_DA_OMDC(3MLIB)
mlib_ImageBlend_DA_OMDC_Inp(3MLIB)
mlib_ImageBlend_DA_OMSA(3MLIB)
mlib_ImageBlend_DA_OMSA_Inp(3MLIB)
mlib_ImageBlend_DA_ONE_Inp(3MLIB)
mlib_ImageBlend_DA_SA_Inp(3MLIB)
mlib_ImageBlend_DA_SAS_Inp(3MLIB)
mlib_ImageBlend_DA_ZERO(3MLIB)
mlib_ImageBlend_DA_ZERO_Inp(3MLIB)
mlib_ImageBlendMulti_Fp(3MLIB)
mlib_ImageBlend_OMDA_DA(3MLIB)
mlib_ImageBlend_OMDA_DA_Inp(3MLIB)
mlib_ImageBlend_OMDA_DC(3MLIB)
mlib_ImageBlend_OMDA_DC_Inp(3MLIB)
mlib_ImageBlend_OMDA_OMDA(3MLIB)
mlib_ImageBlend_OMDA_OMDA_Inp(3MLIB)
mlib_ImageBlend_OMDA_OMDC(3MLIB)
mlib_ImageBlend_OMDA_OMDC_Inp(3MLIB)
mlib_ImageBlend_OMDA_OMSA(3MLIB)
mlib_ImageBlend_OMDA_OMSA_Inp(3MLIB)
mlib_ImageBlend_OMDA_ONE(3MLIB)
mlib_ImageBlend_OMDA_ONE_Inp(3MLIB)
mlib_ImageBlend_OMDA_SA(3MLIB)
mlib_ImageBlend_OMDA_SA_Inp(3MLIB)
mlib_ImageBlend_OMDA_SAS(3MLIB)
mlib_ImageBlend_OMDA_SAS_Inp(3MLIB)
mlib_ImageBlend_OMDA_ZERO(3MLIB)
mlib_ImageBlend_OMDA_ZERO_Inp(3MLIB)
mlib_ImageBlend_OMSA_DA(3MLIB)
mlib_ImageBlend_OMSA_DA_Inp(3MLIB)
mlib_ImageBlend_OMSA_DC(3MLIB)
mlib_ImageBlend_OMSA_DC_Inp(3MLIB)
mlib_ImageBlend_OMSA_OMDA(3MLIB)
mlib_ImageBlend_OMSA_OMDA_Inp(3MLIB)
mlib_ImageBlend_OMSA_OMDC(3MLIB)
mlib_ImageBlend_OMSA_OMDC_Inp(3MLIB)
mlib_ImageBlend_OMSA_OMSA(3MLIB)
mlib_ImageBlend_OMSA_OMSA_Inp(3MLIB)
mlib_ImageBlend_OMSA_ONE(3MLIB)
mlib_ImageBlend_OMSA_ONE_Inp(3MLIB)
mlib_ImageBlend_OMSA_SA(3MLIB)
mlib_ImageBlend_OMSA_SA_Inp(3MLIB)
mlib_ImageBlend_OMSA_SAS(3MLIB)
mlib_ImageBlend_OMSA_SAS_Inp(3MLIB)
mlib_ImageBlend_OMSA_ZERO(3MLIB)
mlib_ImageBlend_OMSA_ZERO_Inp(3MLIB)
mlib_ImageBlend_OMSC_DA(3MLIB)
mlib_ImageBlend_OMSC_DA_Inp(3MLIB)
mlib_ImageBlend_OMSC_DC(3MLIB)
mlib_ImageBlend_OMSC_DC_Inp(3MLIB)
mlib_ImageBlend_OMSC_OMDA(3MLIB)
mlib_ImageBlend_OMSC_OMDA_Inp(3MLIB)
mlib_ImageBlend_OMSC_OMDC(3MLIB)
mlib_ImageBlend_OMSC_OMDC_Inp(3MLIB)
mlib_ImageBlend_OMSC_OMSA(3MLIB)
mlib_ImageBlend_OMSC_OMSA_Inp(3MLIB)
mlib_ImageBlend_OMSC_ONE(3MLIB)
mlib_ImageBlend_OMSC_ONE_Inp(3MLIB)
mlib_ImageBlend_OMSC_SA(3MLIB)
mlib_ImageBlend_OMSC_SA_Inp(3MLIB)
mlib_ImageBlend_OMSC_SAS(3MLIB)
mlib_ImageBlend_OMSC_SAS_Inp(3MLIB)
mlib_ImageBlend_OMSC_ZERO(3MLIB)
mlib_ImageBlend_OMSC_ZERO_Inp(3MLIB)
mlib_ImageBlend_ONE_DA_Inp(3MLIB)
mlib_ImageBlend_ONE_DC_Inp(3MLIB)
mlib_ImageBlend_ONE_OMDA(3MLIB)
mlib_ImageBlend_ONE_OMDA_Inp(3MLIB)
mlib_ImageBlend_ONE_OMDC(3MLIB)
mlib_ImageBlend_ONE_OMDC_Inp(3MLIB)
mlib_ImageBlend_ONE_OMSA(3MLIB)
mlib_ImageBlend_ONE_OMSA_Inp(3MLIB)
mlib_ImageBlend_ONE_ONE(3MLIB)
mlib_ImageBlend_ONE_ONE_Inp(3MLIB)
mlib_ImageBlend_ONE_SA_Inp(3MLIB)
mlib_ImageBlend_ONE_SAS(3MLIB)
mlib_ImageBlend_ONE_SAS_Inp(3MLIB)
mlib_ImageBlend_ONE_ZERO(3MLIB)
mlib_ImageBlend_ONE_ZERO_Inp(3MLIB)
mlib_ImageBlendRGBA2ARGB(3MLIB)
mlib_ImageBlendRGBA2BGRA(3MLIB)
mlib_ImageBlend_SA_DA_Inp(3MLIB)
mlib_ImageBlend_SA_DC_Inp(3MLIB)
mlib_ImageBlend_SA_OMDA(3MLIB)
mlib_ImageBlend_SA_OMDA_Inp(3MLIB)
mlib_ImageBlend_SA_OMDC(3MLIB)
mlib_ImageBlend_SA_OMDC_Inp(3MLIB)
mlib_ImageBlend_SA_OMSA(3MLIB)
mlib_ImageBlend_SA_OMSA_Inp(3MLIB)
mlib_ImageBlend_SA_ONE_Inp(3MLIB)
mlib_ImageBlend_SA_SA_Inp(3MLIB)
mlib_ImageBlend_SA_SAS_Inp(3MLIB)
mlib_ImageBlend_SA_ZERO(3MLIB)
mlib_ImageBlend_SA_ZERO_Inp(3MLIB)
mlib_ImageBlend_SC_DA_Inp(3MLIB)
mlib_ImageBlend_SC_DC_Inp(3MLIB)
mlib_ImageBlend_SC_OMDA(3MLIB)
mlib_ImageBlend_SC_OMDA_Inp(3MLIB)
mlib_ImageBlend_SC_OMDC(3MLIB)
mlib_ImageBlend_SC_OMDC_Inp(3MLIB)
mlib_ImageBlend_SC_OMSA(3MLIB)
mlib_ImageBlend_SC_OMSA_Inp(3MLIB)
mlib_ImageBlend_SC_ONE_Inp(3MLIB)
mlib_ImageBlend_SC_SA_Inp(3MLIB)
mlib_ImageBlend_SC_SAS_Inp(3MLIB)
mlib_ImageBlend_SC_ZERO(3MLIB)
mlib_ImageBlend_SC_ZERO_Inp(3MLIB)
mlib_ImageBlend_ZERO_DA(3MLIB)
mlib_ImageBlend_ZERO_DA_Inp(3MLIB)
mlib_ImageBlend_ZERO_DC(3MLIB)
mlib_ImageBlend_ZERO_DC_Inp(3MLIB)
mlib_ImageBlend_ZERO_OMDA(3MLIB)
mlib_ImageBlend_ZERO_OMDA_Inp(3MLIB)
mlib_ImageBlend_ZERO_OMDC(3MLIB)
mlib_ImageBlend_ZERO_OMDC_Inp(3MLIB)
mlib_ImageBlend_ZERO_OMSA(3MLIB)
mlib_ImageBlend_ZERO_OMSA_Inp(3MLIB)
mlib_ImageBlend_ZERO_ONE(3MLIB)
mlib_ImageBlend_ZERO_ONE_Inp(3MLIB)
mlib_ImageBlend_ZERO_SA(3MLIB)
mlib_ImageBlend_ZERO_SA_Inp(3MLIB)
mlib_ImageBlend_ZERO_SAS(3MLIB)
mlib_ImageBlend_ZERO_SAS_Inp(3MLIB)
mlib_ImageBlend_ZERO_ZERO(3MLIB)
mlib_ImageBlend_ZERO_ZERO_Inp(3MLIB)
mlib_ImageChannelExtract(3MLIB)
mlib_ImageChannelInsert(3MLIB)
mlib_ImageColorConvert1(3MLIB)
mlib_ImageColorConvert1_Fp(3MLIB)
mlib_ImageColorConvert2(3MLIB)
mlib_ImageColorConvert2_Fp(3MLIB)
mlib_ImageColorDitherFree(3MLIB)
mlib_ImageColorDitherInit(3MLIB)
mlib_ImageColorErrorDiffusion3x3(3MLIB)
mlib_ImageColorErrorDiffusionMxN(3MLIB)
mlib_ImageColorHSL2RGB_Fp(3MLIB)
mlib_ImageColorHSV2RGB_Fp(3MLIB)
mlib_ImageColorOrderedDither8x8(3MLIB)
mlib_ImageColorOrderedDitherMxN(3MLIB)
mlib_ImageColorRGB2CIEMono(3MLIB)
mlib_ImageColorRGB2CIEMono_Fp(3MLIB)
mlib_ImageColorRGB2HSL_Fp(3MLIB)
mlib_ImageColorRGB2HSV_Fp(3MLIB)
mlib_ImageColorRGB2Mono(3MLIB)
mlib_ImageColorRGB2Mono_Fp(3MLIB)
mlib_ImageColorRGB2XYZ_Fp(3MLIB)
mlib_ImageColorRGB2YCC_Fp(3MLIB)
mlib_ImageColorTrue2Index(3MLIB)
mlib_ImageColorTrue2IndexFree(3MLIB)
mlib_ImageColorTrue2IndexInit(3MLIB)
mlib_ImageColorXYZ2RGB_Fp(3MLIB)
mlib_ImageColorYCC2RGB_Fp(3MLIB)
mlib_ImageComposite_Inp(3MLIB)
mlib_ImageConstAdd_Fp_Inp(3MLIB)
mlib_ImageConstAndNot_Inp(3MLIB)
mlib_ImageConstDiv_Fp_Inp(3MLIB)
mlib_ImageConstDivShift(3MLIB)
mlib_ImageConstDivShift_Inp(3MLIB)
mlib_ImageConstMul_Fp_Inp(3MLIB)
mlib_ImageConstMulShift(3MLIB)
mlib_ImageConstMulShift_Inp(3MLIB)
mlib_ImageConstNotAnd_Inp(3MLIB)
mlib_ImageConstNotOr_Inp(3MLIB)
mlib_ImageConstNotXor_Inp(3MLIB)
mlib_ImageConstOrNot_Inp(3MLIB)
mlib_ImageConstSub_Fp_Inp(3MLIB)
mlib_ImageConvKernelConvert(3MLIB)
mlib_ImageConvolveMxN_Fp(3MLIB)
mlib_ImageCreateSubimage(3MLIB)
mlib_ImageCrossCorrel_Fp(3MLIB)
mlib_ImageDataTypeConvert(3MLIB)
mlib_ImageDivAlpha_Fp_Inp(3MLIB)
mlib_ImageDivConstShift(3MLIB)
mlib_ImageDivConstShift_Inp(3MLIB)
mlib_ImageDivShift1_Inp(3MLIB)
Multimedia Library Functions - Part 3
Multimedia Library Functions - Part 4
Multimedia Library Functions - Part 5
- draw filled triangle
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_GraphicsFillTriangle_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_X_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c, mlib_s32 c2);
mlib_status mlib_GraphicsFillTriangle_X_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c, mlib_s32 c2);
mlib_status mlib_GraphicsFillTriangle_A_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_A_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_B_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_B_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_G_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
mlib_status mlib_GraphicsFillTriangle_G_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
mlib_status mlib_GraphicsFillTriangle_Z_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_Z_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_AB_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_AB_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_ABG_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_ABG_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_ABGZ_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_ABGZ_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_ABZ_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_ABZ_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_AG_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
mlib_status mlib_GraphicsFillTriangle_AG_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
mlib_status mlib_GraphicsFillTriangle_AGZ_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
mlib_status mlib_GraphicsFillTriangle_AGZ_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
mlib_status mlib_GraphicsFillTriangle_AZ_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_AZ_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c);
mlib_status mlib_GraphicsFillTriangle_BG_8(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_BG_32(mlib_image *buffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 x2, mlib_s16 y2, mlib_s16 x3, mlib_s16 y3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_BGZ_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_BGZ_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_BZ_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_BZ_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c, mlib_s32 a);
mlib_status mlib_GraphicsFillTriangle_GZ_8(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
mlib_status mlib_GraphicsFillTriangle_GZ_32(mlib_image *buffer, mlib_image *zbuffer, mlib_s16 x1, mlib_s16 y1, mlib_s16 z1, mlib_s16 x2, mlib_s16 y2, mlib_s16 z2, mlib_s16 x3, mlib_s16 y3, mlib_s16 z3, mlib_s32 c1, mlib_s32 c2, mlib_s32 c3);
Each of the mlib_GraphicsFillTriangle_*() functions draws a filled triangle with the vertices at (x1,y1), (x2,y2), and (x3,y3).
Each of the mlib_GraphicsFillTriangle_X_*() functions draws a filled triangle in Xor mode as follows:
data[x,y] ^= c ^ c2
Each of the mlib_GraphicsFillTriangle_A_*() functions draws a filled triangle with antialiasing.
Each of the mlib_GraphicsFillTriangle_B_*() functions draws a filled triangle with alpha blending as follows:
data[x,y] = (data[x,y] * (255 - a) + c * a) / 255
Each of the mlib_GraphicsFillTriangle_G_*() functions draws a filled triangle with Gouraud shading.
Each of the mlib_GraphicsFillTriangle_Z_*() functions draws a filled triangle with Z buffering.
Each of the other functions draws a filled triangle with a combination of two or more features like antialiasing (A), alpha blending (B), Gouraud shading (G), and Z buffering (Z).
Each of the functions takes some of the following arguments:
Pointer to the image into which the function is drawing.
Pointer to the image that holds the Z buffer.
X coordinate of the first vertex.
Y coordinate of the first vertex.
Z coordinate of the first vertex.
X coordinate of the second vertex.
Y coordinate of the second vertex.
Z coordinate of the second vertex.
X coordinate of the third vertex.
Y coordinate of the third vertex.
Z coordinate of the third vertex.
Color used in the drawing.
Color of the first vertex.
Color of the second vertex, or the alternation color in Xor Mode.
Color of the third vertex.
Alpha value for blending. 0 ≤ a ≤ 255.
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|