Functions | |
void | Show_Color (char *color_spec) |
void | QShow_Color (const char *segment, char *color_spec) |
void | Show_Net_Color (char *color_spec) |
void | PShow_Net_Color (int keycount, HC_KEY *pathkeys, char *color_spec) |
void | QShow_Net_Color (const char *segment, char *color_spec) |
void | Show_Color_By_Index (char *types, int *index) |
void | QShow_Color_By_Index (const char *segment, char *types, int *index) |
void | Show_Net_Color_By_Index (char *types, int *index) |
void | PShow_Net_Color_By_Index (int keycount, HC_KEY *pathkeys, char *types, int *index) |
void | QShow_Net_Color_By_Index (const char *segment, char *types, int *index) |
void | Show_Color_By_Value (char *types, char *colorspace, float *a, float *b, float *c) |
void | QShow_Color_By_Value (const char *segment, char *types, char *colorspace, float *a, float *b, float *c) |
void | Show_Net_Color_By_Value (char *types, char *colorspace, float *a, float *b, float *c) |
void | PShow_Net_Color_By_Value (int keycount, HC_KEY *pathkeys, char *types, char *colorspace, float *a, float *b, float *c) |
void | QShow_Net_Color_By_Value (const char *segment, char *types, char *colorspace, float *a, float *b, float *c) |
void Show_Color | ( | char * | color_spec | ) |
Returns the named color(s) used to render the contents of the currently open segment.
color_spec | - A specification for the desired color setting. Passed by reference. Returned to user. |
The Show Color routines will complain if they're called and the attribute is not actually set in the segment. Use Show_Existence() to avoid this, if necessary.
The internal RGB-to-HLS and HLS-to-RGB routines are not exactly inverse. This might cause Show_Color_By_Value() not to give results matching the loaded values.
void QShow_Color | ( | const char * | segment, | |
char * | color_spec | |||
) |
Similar to Show_Color(), but operates on a given segment rather than the currently open one.
segment | - Name of the segment(s) to be changed. | |
color_spec | - A specification for the desired color setting. Passed by reference. Returned to user. |
void Show_Net_Color | ( | char * | color_spec | ) |
Similar to Show_Color(), but returns the net effective setting rather than the local one.
color_spec | - A specification for the desired color setting. Passed by reference. Returned to user. |
void PShow_Net_Color | ( | int | count, | |
HC_KEY * | keys, | |||
char * | color_spec | |||
) |
Similar to Show_Net_Color(), but returns the net effective settings along a discrete path of segments.
keycount | The size of pathkeys | |
pathkeys | An array of HC_KEY's delineating a path of segments. | |
color_spec | - A specification for the desired color setting. Passed by reference. Returned to user. |
void QShow_Net_Color | ( | const char * | segment, | |
char * | color_spec | |||
) |
Similar to Show_Net_Color(), but operates on a given segment rather than the currently open one.
segment | - Name of the segment(s) to be changed. | |
color_spec | - A specification for the desired color setting. Passed by reference. Returned to user. |
void Show_Color_By_Index | ( | char * | types, | |
int * | index | |||
) |
Returns the color map indices used to render the contents of the currently open segment.
types | - A list of geometry types. Passed by reference. Returned to user. | |
index | - The offset in the applicable color map in which the colors are found. The very first entry is at offset zero. Passed by reference. Returned to user. |
void QShow_Color_By_Index | ( | const char * | segment, | |
char * | types, | |||
int * | index | |||
) |
Similar to Show_Color_By_Index () but operates on a given segment, rather than the currently open one.
segment | - Name of the segment to query. | |
types | - A list of geometry types. Passed by reference. Returned to user. | |
index | - The offset in the applicable color map in which the colors are found. Passed by reference. Returned to user. |
void Show_Net_Color_By_Index | ( | char * | types, | |
int * | index | |||
) |
Similar to Show_Color_By_Index(), but returns the net effective setting rather than the local one.
types | - A list of geometry types. Passed by reference. Returned to user. | |
index | - The offset in the applicable color map in which the colors are found. The very first entry is at offset zero. Passed by reference. Returned to user. |
void PShow_Net_Color_By_Index | ( | int | count, | |
HC_KEY * | keys, | |||
char * | types, | |||
int * | index | |||
) |
Similar to Show_Net_Color_By_Index(), but returns the net effective setting along a discrete segment path.
keycount | The size of pathkeys | |
pathkeys | An array of HC_KEY's delineating a path of segments. | |
types | - A list of geometry types. Passed by reference. Returned to user. | |
index | - The offset in the applicable color map in which the colors are found. The very first entry is at offset zero. Passed by reference. Returned to user. |
void QShow_Net_Color_By_Index | ( | const char * | segment, | |
char * | types, | |||
int * | index | |||
) |
Similar to Show_Net_Color_By_Index() but operates on a given segment, rather than the currently open one.
segment | - Name of the segment to query. | |
types | - A list of geometry types. Passed by reference. Returned to user. | |
index | - The offset in the applicable color map in which the colors are found. Passed by reference. Returned to user. |
void Show_Color_By_Value | ( | char * | types, | |
char * | colorspace, | |||
float * | a, | |||
float * | b, | |||
float * | c | |||
) |
Returns the numerically-defined colors of objects in the currently open segment.
types | - A list of geometry types. Passed by reference. Returned to user. | |
colorspace | - Special constant---either "HLS", "HSV", "HIC", or "RGB". Passed by reference. Returned to user. | |
a | - The location in the given color space. Passed by reference. Returned to user. | |
b | - | |
c | - |
void QShow_Color_By_Value | ( | const char * | segment, | |
char * | types, | |||
char * | colorspace, | |||
float * | a, | |||
float * | b, | |||
float * | c | |||
) |
Similar to Show_Color_By_Value() but operates on a given segment, rather than the currently open one.
segment | - Name of the segment to query. | |
types | - A list of geometry types. Passed by reference. Returned to user. | |
colorspace | - Special constant---either "HLS", "HSV", "HIC", or "RGB". Passed by reference. Returned to user. | |
a | - The location in the given color space. Passed by reference. Returned to user. | |
b | - | |
c | - |
void Show_Net_Color_By_Value | ( | char * | types, | |
char * | colorspace, | |||
float * | a, | |||
float * | b, | |||
float * | c | |||
) |
Similar to Show_Color_By_Value(), but returns the net effective setting rather than the local one.
types | - A list of geometry types. Passed by reference. Returned to user. | |
colorspace | - Special constant---either "HLS", "HSV", "HIC", or "RGB". Passed by reference. Returned to user. | |
a | - The location in the given color space. Passed by reference. Returned to user. | |
b | - | |
c | - |
void PShow_Net_Color_By_Value | ( | int | keycount, | |
HC_KEY * | pathkeys, | |||
char * | types, | |||
char * | colorspace, | |||
float * | a, | |||
float * | b, | |||
float * | c | |||
) |
Similar to Show_Net_Color_By_Value(), but returns the net effective setting along a discrete segment path.
keycount | The size of pathkeys | |
pathkeys | An array of HC_KEY's delineating a path of segments. | |
types | - A list of geometry types. Passed by reference. Returned to user. | |
colorspace | - Special constant---either "HLS", "HSV", "HIC", or "RGB". Passed by reference. Returned to user. | |
a | - The location in the given color space. Passed by reference. Returned to user. | |
b | - | |
c | - |
void QShow_Net_Color_By_Value | ( | const char * | segment, | |
char * | types, | |||
char * | colorspace, | |||
float * | a, | |||
float * | b, | |||
float * | c | |||
) |
Similar to Show_Net_Color_By_Value() but operates on a given segment, rather than the currently open one.
segment | - Name of the segment to query. | |
types | - A list of geometry types. Passed by reference. Returned to user. | |
colorspace | - Special constant---either "HLS", "HSV", "HIC", or "RGB". Passed by reference. Returned to user. | |
a | - The location in the given color space. Passed by reference. Returned to user. | |
b | - | |
c | - |