int kcolor_query_attribute(
kobject object,
char *attribute,
int *num_args,
int *arg_size,
int *data_type,
int *permanent)
This color service function should be used in conjunction with other application services such as polymorphic data services and geometry data services. This function will work on data objects opened or created with either of those services.
The following example illustrates the use of the query attribute call to determine the data type of the colorspace attribute.
int data_type;
kcolor_query_attributes(object, KCOLOR_COLORSPACE,
NULL, NULL, &data_type, NULL);
A complete list of color attributes can be found in Chapter 4 of Programming Services Volume II.
none
none
$DATASERV/objects/library/kappserv/src/color.c