int kcolor_copy_attributes(
kobject object1,
kobject object2
kvalist)
object2 - the object to use as the destination for the copy
The variable argument list takes the form:
ATTRIBUTE_NAME1,
ATTRIBUTE_NAME2,
..., NULL
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 attributes call to compare two different color attributes.
kcolor_copy_attributes(obj1, obj2
KCOLOR_COLORSPACE,
KCOLOR_MAP_OPERATION,
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