Draw_DC_XXX_Line

Functions

void

HIC_Draw_DC_Line

void

HIC_Draw_DC_Colorized_Line

void

HIC_Draw_DC_Gouraud_Line

void

HIC_Draw_DC_Reshaded_Line

Detailed Description

group Draw_DC_XXX_Line

Function Documentation

void HIC_Draw_DC_Line(HIC_Rendition *nr, HIC_DC_Point points[])

This function draws a line.

Parameters
  • nr – A pointer to a const HIC_Rendition.

  • points – A pointer to a const HIC_DC_Point.

void HIC_Draw_DC_Colorized_Line(HIC_Rendition *nr, HIC_DC_Point points[], HIC_RGBAS32 color[])

This function draws a line 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_Line(HIC_Rendition *nr, HIC_DC_Point points[], HIC_RGBAS32 colors[])

This function draws a line segment with color interpolated from the argument endpoint 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_Line(HIC_Rendition *nr, HIC_DC_Point points[], HIC_RGBA colors[], HIC_Plane planes[], HIC_Parameter params[], int param_width, HIC_Integer32 param_flags)

This function draws a line segment with color interpolated at each pixel, using the line pattern and line weight 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, 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.