Draw_DC_XXX_Line
Functions | |
HC_EXTERNAL HIC_API void | HIC_Draw_DC_Colorized_Line (HIC_Rendition const *nr, HIC_DC_Point const points[], HIC_RGBAS32 const color[]) |
HC_EXTERNAL HIC_API void | HIC_Draw_DC_Gouraud_Line (HIC_Rendition const *nr, HIC_DC_Point const points[], HIC_RGBAS32 const colors[]) |
HC_EXTERNAL HIC_API void | HIC_Draw_DC_Line (HIC_Rendition const *nr, HIC_DC_Point const points[]) |
HC_EXTERNAL HIC_API void | HIC_Draw_DC_Reshaded_Line (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) |
Detailed Description
Function Documentation
◆ HIC_Draw_DC_Colorized_Line()
HC_EXTERNAL HIC_API void HIC_Draw_DC_Colorized_Line | ( | HIC_Rendition const * | nr, |
HIC_DC_Point const | points[], | ||
HIC_RGBAS32 const | color[] | ||
) |
- 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.
This function draws a line using passed in color values instead of the rendition colors.
◆ HIC_Draw_DC_Gouraud_Line()
HC_EXTERNAL HIC_API void HIC_Draw_DC_Gouraud_Line | ( | HIC_Rendition const * | nr, |
HIC_DC_Point const | points[], | ||
HIC_RGBAS32 const | 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.
This function draws a line segment with color interpolated from the argument endpoint colors.
◆ HIC_Draw_DC_Line()
HC_EXTERNAL HIC_API void HIC_Draw_DC_Line | ( | HIC_Rendition const * | nr, |
HIC_DC_Point const | points[] | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. points A pointer to a const HIC_DC_Point.
This function draws a line.
◆ HIC_Draw_DC_Reshaded_Line()
HC_EXTERNAL HIC_API void HIC_Draw_DC_Reshaded_Line | ( | 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
-
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, defined for each vertex V as the camera-space plane that passes through V with V's surface normal, after modelling and camera positioning and before camera projection. params A pointer to a const HIC_Parameter. param_width An int. param_flags A HIC_Integer32.
This function draws a line segment with color interpolated at each pixel, using the line pattern and line weight attributes.