A binary buffer of X-Y pairs of doubles, created by a call to hist_buffer_id_read.
The X value of the data pairs is transformed as follows:
x' = x * xscale + xoffset
The Y value of the data pairs is transformed as follows:
y' = y * yscale + yoffset
This function performs an offset and scaling transformation on a binary buffer of X-Y data pairs. The buffer is modified in place (i.e., a new buffer is not created, and the old values cannot be recovered). This function can be used to adjust data for graphing.
This function corresponds to the Cogent API function HI_ScaleBuffer.