Set_Line_XXX
Functions | |
HC_EXTERNAL HIC_API void | HIC_Set_Internal_Line_Color (HIC_Rendition const *nr, HIC_RGBAS32 internal) |
HC_EXTERNAL HIC_API void | HIC_Set_Line_Color (HIC_Rendition const *nr, HIC_RGB const *rgb) |
HC_EXTERNAL HIC_API void | HIC_Set_Line_Contrast_Color (HIC_Rendition const *nr, HIC_RGB const *rgb) |
HC_EXTERNAL HIC_API void | HIC_Set_Line_Pattern (HIC_Rendition const *nr, int npattern) |
HC_EXTERNAL HIC_API void | HIC_Set_Line_Style (HIC_Rendition const *nr, const char *nname) |
HC_EXTERNAL HIC_API void | HIC_Set_Line_Weight (HIC_Rendition const *nr, int nweight) |
HC_EXTERNAL HIC_API void | HIC_Set_User_Line_Pattern (HIC_Rendition const *nr, HIC_Line_Style const *upat) |
HC_EXTERNAL HIC_API void | HIC_Set_Variable_Line_Weight (HIC_Rendition const *nr, HIC_Size_Units nunit, float nweight) |
Detailed Description
Function Documentation
◆ HIC_Set_Internal_Line_Color()
HC_EXTERNAL HIC_API void HIC_Set_Internal_Line_Color | ( | HIC_Rendition const * | nr, |
HIC_RGBAS32 | internal | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. internal A HIC_RGBAS32 type.
This function changes the internal line color.
◆ HIC_Set_Line_Color()
HC_EXTERNAL HIC_API void HIC_Set_Line_Color | ( | HIC_Rendition const * | nr, |
HIC_RGB const * | rgb | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. rgb A pointer to a HIC_RGB, a structure of three floats, each between zero and one.
This function changes the line color.
◆ HIC_Set_Line_Contrast_Color()
HC_EXTERNAL HIC_API void HIC_Set_Line_Contrast_Color | ( | HIC_Rendition const * | nr, |
HIC_RGB const * | rgb | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. rgb A pointer to a HIC_RGB, a structure of three floats, each between zero and one.
This function changes the line contrast color.
◆ HIC_Set_Line_Pattern()
HC_EXTERNAL HIC_API void HIC_Set_Line_Pattern | ( | HIC_Rendition const * | nr, |
int | npattern | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. npattern An int.
This function changes the line pattern to the passed in int value.
◆ HIC_Set_Line_Style()
HC_EXTERNAL HIC_API void HIC_Set_Line_Style | ( | HIC_Rendition const * | nr, |
const char * | nname | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. nname A pointer to a const char, a user-defined line style or existing line pattern such as "dashdot".
This function sets the line style using the passed in string value.
◆ HIC_Set_Line_Weight()
HC_EXTERNAL HIC_API void HIC_Set_Line_Weight | ( | HIC_Rendition const * | nr, |
int | nweight | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. nweight An int.
This function sets the line weight to the width in pixels using the passed in int value.
◆ HIC_Set_User_Line_Pattern()
HC_EXTERNAL HIC_API void HIC_Set_User_Line_Pattern | ( | HIC_Rendition const * | nr, |
HIC_Line_Style const * | upat | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. upat A pointer to a HIC_Line_Style.
This function sets the user line pattern.
- See also
- HIC_New_User_Line_Pattern
◆ HIC_Set_Variable_Line_Weight()
HC_EXTERNAL HIC_API void HIC_Set_Variable_Line_Weight | ( | HIC_Rendition const * | nr, |
HIC_Size_Units | nunit, | ||
float | nweight | ||
) |
- Parameters
-
nr A pointer to a const HIC_Rendition. nunit An HIC_GSU_UNITS. nweight An float.
This function sets the line weight to the width in pixels using the passed in int value.