Draw_DC_XXX_Triangle

Functions

HC_EXTERNAL HIC_API void HIC_Draw_DC_Colorized_Triangle (HIC_Rendition const *nr, HIC_DC_Point const points[], HIC_RGBAS32 const color[])
 
HC_EXTERNAL HIC_API void HIC_Draw_DC_Gouraud_Triangle (HIC_Rendition const *nr, HIC_DC_Point const points[], HIC_RGBAS32 const colors[])
 
HC_EXTERNAL HIC_API void HIC_Draw_DC_Reshaded_Triangle (HIC_Rendition const *nr, HIC_DC_Point const points[], HIC_RGBA const colors[], HIC_Plane const planes[], HIC_Parameter const params[], int param_width, HIC_Integer32 param_flags)
 
HC_EXTERNAL HIC_API void HIC_Draw_DC_Triangle (HIC_Rendition const *nr, HIC_DC_Point const points[])
 

Detailed Description

Function Documentation

◆ HIC_Draw_DC_Colorized_Triangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Colorized_Triangle ( HIC_Rendition const *  nr,
HIC_DC_Point const  points[],
HIC_RGBAS32 const  color[] 
)
Parameters
nrA pointer to a const HIC_Rendition.
pointsA pointer to a const HIC_DC_Point.
colorA pointer to a const HIC_RGBAS32.

This function draws a triangle using passed in color values instead of the rendition colors.

◆ HIC_Draw_DC_Gouraud_Triangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Gouraud_Triangle ( HIC_Rendition const *  nr,
HIC_DC_Point const  points[],
HIC_RGBAS32 const  colors[] 
)
Parameters
nrA pointer to a const HIC_Rendition.
pointsA pointer to a const HIC_DC_Point.
colorsA pointer to a const HIC_RGBAS32.

This function draws a filled triangle using the face pattern and face contrast color attributes with color interpolated from the vertex colors.

◆ HIC_Draw_DC_Reshaded_Triangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Reshaded_Triangle ( HIC_Rendition const *  nr,
HIC_DC_Point const  points[],
HIC_RGBA const  colors[],
HIC_Plane const  planes[],
HIC_Parameter const  params[],
int  param_width,
HIC_Integer32  param_flags 
)
Parameters
nrA pointer to a const HIC_Rendition.
pointsA pointer to a const HIC_DC_Point.
colorsA pointer to a const HIC_RGBA.
planesA pointer to a const HIC_Plane.
paramsA pointer to a const HIC_Parameter.
param_widthAn int.
param_flagsA HIC_Integer32.

This function draws a filled triangle with color interpolated at each pixel using the face pattern and face contrast color attributes.

◆ HIC_Draw_DC_Triangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Triangle ( HIC_Rendition const *  nr,
HIC_DC_Point const  points[] 
)
Parameters
nrA pointer to a const HIC_Rendition.
pointsA pointer to a const HIC_DC_Point.

This function draws a triangle using passed in color values instead of the rendition colors.