int kcolor_copy_attribute(
kobject object1,
kobject object2,
char *attribute)
none
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 copy attribute call to copy two different color attributes.
kcolor_copy_attribute(obj1, ob2, KCOLOR_COLORSPACE);,
kcolor_copy_attribute(obj1, obj2, KCOLOR_MAP_OPERATION);,
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