Set_Clipping

Functions

HC_EXTERNAL HIC_API void HIC_Set_Clipping (HIC_Rendition const *nr, long nleft, long nright, long nbottom, long ntop)
 
HC_EXTERNAL HIC_API HIC_Int_Rectangle const * HIC_Show_Clipping (HIC_Rendition const *nr)
 
HC_EXTERNAL HIC_API void HIC_UnSet_Clipping_Not_Needed (HIC_Rendition const *nr)
 

Detailed Description

Function Documentation

◆ HIC_Set_Clipping()

HC_EXTERNAL HIC_API void HIC_Set_Clipping ( HIC_Rendition const *  nr,
long  nleft,
long  nright,
long  nbottom,
long  ntop 
)
Parameters
nrA pointer to a const HIC_Rendition.
nleftAn int.
nrightAn int.
nbottomAn int.
ntopAn int.

This function sets the hard clip limit attributes.

◆ HIC_Show_Clipping()

HC_EXTERNAL HIC_API HIC_Int_Rectangle const* HIC_Show_Clipping ( HIC_Rendition const *  nr)
Parameters
nrA pointer to a const HIC_Rendition.
Returns
A pointer to a HIC_Int_Rectangle.

This function returns the clipping rectangle.

◆ HIC_UnSet_Clipping_Not_Needed()

HC_EXTERNAL HIC_API void HIC_UnSet_Clipping_Not_Needed ( HIC_Rendition const *  nr)
Parameters
nrA pointer to a const HIC_Rendition. This should be a new rendition created by HIC_New_Rendition.

This function clears the 'clipping not needed' flag.