I need to create a custom control. The control needs to be similar to the one used in Photoshop for curves adjustments. I need the control where a user can draw a line or bezier curve. I need to be able to read the y position of every point of the line at various spots along the x-axes.

Thanks in advance,
Jack Adkins