Special Window Actions


Functions

HC_EXTERNAL HIC_API void HIC_Clear_Z_Buffer (HIC_Rendition const *nr)
HC_EXTERNAL HIC_API void HIC_Draw_Window (HIC_Rendition const *nr, HIC_Int_Rectangle const *extent)
HC_EXTERNAL HIC_API void HIC_Draw_Window_Frame (HIC_Rendition const *nr, HIC_Int_Rectangle const *extent, HIC_Int_Rectangle *frame, bool calculate_only)
HC_EXTERNAL HIC_API void HIC_Finish_Picture (HIC_Rendition const *nr, bool swap_buffers)

Function Documentation

HC_EXTERNAL HIC_API void HIC_Clear_Z_Buffer ( HIC_Rendition const *  nr  ) 

Parameters:
nr A pointer to a const HIC_Rendition.
This function clears the Z-buffer.

HC_EXTERNAL HIC_API void HIC_Draw_Window ( HIC_Rendition const *  nr,
HIC_Int_Rectangle const *  extent 
)

Parameters:
nr A pointer to a const HIC_Rendition.
extent A pointer to a const HIC_Int_Rectangle.
This function fills the intersection of the rectangle specified by extent and the current clipping rectangle with the pattern determined by window color, pattern and contrast color.

HC_EXTERNAL HIC_API void HIC_Draw_Window_Frame ( HIC_Rendition const *  nr,
HIC_Int_Rectangle const *  extent,
HIC_Int_Rectangle *  frame,
bool  calculate_only 
)

Parameters:
nr A pointer to a const HIC_Rendition.
extent A pointer to a const HIC_Int_Rectangle. Specifies extents of frame around window.
frame A pointer to a HIC_Int_Rectangle.
calculate_only A boolean. If true the function draws nothing, otherwise draws specified frame.
This function draws a frame of concentric rectangles using two solid polylines where the weight of the lines and the space between them is the device's default line weight.

HC_EXTERNAL HIC_API void HIC_Finish_Picture ( HIC_Rendition const *  nr,
bool  swap_buffers 
)

Parameters:
nr A pointer to a const HIC_Rendition.
swap_buffers A boolean. If true, function called once, otherwise called multiple times per frame if the hidden surface removal algorithm is "fast hlr".
This function can be used to make direct opengl or gdi calls to capture the results of a render.

HOOPS/3dGS I.M. Interface

     Full Index