public PixelToTime ( float pixelX, |
||
pixelX | float | |
rect | ||
return | float |
public float PixelToTime(float pixelX, Rect rect)
{
return ((((pixelX - rect.x) * this.shownArea.width) / rect.width) + this.shownArea.x);
}