ClientToImage

function ClientToImage(var clientPt: TPoint): Boolean;

Convert the panel's client coordinates to image coordinates.
Returns True if 'clientPt' is inside the visible portion of image bounds.