int
kapu_scale_data(kobject *src_obj, double min, double max)
INPUT
src_obj - object to be scaled.
min - minimum of scaled data.
max - maximum of scale data.
OUTPUT
none
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
For unmapped data, the value segment is scaled
using KPDS_VALUE_SCALING. For mapped data, the
map segment is scaled using KPDS_MAP_SCALING.
Attributes are set so that any subsequent calls
to kpds_get_data will provide scaled data. Note
that the actual data is not transformed by this
function. If KPDS_DATA_RANGE is set, then these
values are used for the input minimum and maximum;
otherwise, the data is scanned to determine the
input minimum and maximum.