Draw_DC_XXX_Triangle
Functions
void | HIC_Draw_DC_Triangle |
void | HIC_Draw_DC_Colorized_Triangle |
void | HIC_Draw_DC_Gouraud_Triangle |
void | HIC_Draw_DC_Reshaded_Triangle |
Detailed Description
-
group
Draw_DC_XXX_Triangle
Function Documentation
-
void
HIC_Draw_DC_Triangle
(HIC_Rendition const *nr, HIC_DC_Point const points[]) This function draws a triangle using passed in color values instead of the rendition colors.
Parameters: - nr – A pointer to a const HIC_Rendition.
- points – A pointer to a const HIC_DC_Point.
-
void
HIC_Draw_DC_Colorized_Triangle
(HIC_Rendition const *nr, HIC_DC_Point const points[], HIC_RGBAS32 const color[]) This function draws a triangle using passed in color values instead of the rendition colors.
Parameters: - nr – A pointer to a const HIC_Rendition.
- points – A pointer to a const HIC_DC_Point.
- color – A pointer to a const HIC_RGBAS32.
-
void
HIC_Draw_DC_Gouraud_Triangle
(HIC_Rendition const *nr, HIC_DC_Point const points[], HIC_RGBAS32 const colors[]) This function draws a filled triangle using the face pattern and face contrast color attributes with color interpolated from the vertex colors.
Parameters: - nr – A pointer to a const HIC_Rendition.
- points – A pointer to a const HIC_DC_Point.
- colors – A pointer to a const HIC_RGBAS32.
-
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) This function draws a filled triangle with color interpolated at each pixel using the face pattern and face contrast color attributes.
Parameters: - nr – A pointer to a const HIC_Rendition.
- points – A pointer to a const HIC_DC_Point.
- colors – A pointer to a const HIC_RGBA.
- planes – A pointer to a const HIC_Plane.
- params – A pointer to a const HIC_Parameter.
- param_width – An int.
- param_flags – A HIC_Integer32.