Faces


Functions

HC_EXTERNAL HIC_API void HIC_Draw_DC_Colorized_Face (HIC_Rendition const *nr, int count, HIC_DC_Point const *points, HIC_RGBAS32 const *color)
HC_EXTERNAL HIC_API void HIC_Draw_DC_Ellipse (HIC_Rendition const *nr, HIC_DC_Point const *where, HIC_DC_Point const *radius)
HC_EXTERNAL HIC_API void HIC_Draw_DC_Elliptical_Arc (HIC_Rendition const *nr, HIC_DC_Point const *where, HIC_DC_Point const *radius, float start, float end)
HC_EXTERNAL HIC_API void HIC_Draw_DC_Face (HIC_Rendition const *nr, int count, HIC_DC_Point const *points)
HC_EXTERNAL HIC_API void HIC_Draw_DC_Outline_Ellipse (HIC_Rendition const *nr, HIC_DC_Point const *where, HIC_DC_Point const *radius)
HC_EXTERNAL HIC_API void HIC_Draw_DC_Polygon (HIC_Rendition const *nr, int count, HIC_DC_Point const *points)
HC_EXTERNAL HIC_API void HIC_Draw_DC_Rectangle (HIC_Rendition const *nr, int left, int right, int bottom, int top)

Function Documentation

HC_EXTERNAL HIC_API void HIC_Draw_DC_Colorized_Face ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const *  points,
HIC_RGBAS32 const *  color 
)

Parameters:
nr A pointer to a const HIC_Rendition.
count An int.
points A pointer to a const HIC_DC_Point.
color A pointer to a const HIC_RGBAS32.
This function draws a face using passed in color values instead of rendition colors.

HC_EXTERNAL HIC_API void HIC_Draw_DC_Ellipse ( HIC_Rendition const *  nr,
HIC_DC_Point const *  where,
HIC_DC_Point const *  radius 
)

Parameters:
nr A pointer to a const HIC_Rendition.
where A pointer to a const HIC_DC_Point.
radius A pointer to a const HIC_DC_Point.
This function draws a filled ellipse.

HC_EXTERNAL HIC_API void HIC_Draw_DC_Elliptical_Arc ( HIC_Rendition const *  nr,
HIC_DC_Point const *  where,
HIC_DC_Point const *  radius,
float  start,
float  end 
)

Parameters:
nr A pointer to a const HIC_Rendition.
where A pointer to a const HIC_DC_Point.
radius A pointer to a const HIC_DC_Point.
start A float.
end A float.
This function draws an elliptical arc.

HC_EXTERNAL HIC_API void HIC_Draw_DC_Face ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const *  points 
)

Parameters:
nr A pointer to a const HIC_Rendition.
count An int, the number of points in the array of vertices which define a polygon.
points A pointer to a const HIC_DC_Point.
This function draws a face.

HC_EXTERNAL HIC_API void HIC_Draw_DC_Outline_Ellipse ( HIC_Rendition const *  nr,
HIC_DC_Point const *  where,
HIC_DC_Point const *  radius 
)

Parameters:
nr A pointer to a const HIC_Rendition.
where A pointer to a const HIC_DC_Point.
radius A pointer to a const HIC_DC_Point.
This function draws an ellipse outline (closed curve).

HC_EXTERNAL HIC_API void HIC_Draw_DC_Polygon ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const *  points 
)

Parameters:
nr A pointer to a const HIC_Rendition.
count An int, one greater than the number of polygon vertices.
points A pointer to a const HIC_DC_Point.
This function draws a filled polygon with edge.

See also:
HIC_Insert_Polygon, HIC_Draw_3D_Polygon

HC_EXTERNAL HIC_API void HIC_Draw_DC_Rectangle ( HIC_Rendition const *  nr,
int  left,
int  right,
int  bottom,
int  top 
)

Parameters:
nr A pointer to a const HIC_Rendition.
left An int.
right An int.
bottom An int.
top An int.
This function draws a filled rectangle using face color, pattern, and contrast color attributes. The rectangle is aligned with the device coordinate axes. HOOPS uses this function to fill windows after replacing face with window attributes.

HOOPS/3dGS I.M. Interface

     Full Index