I was trying to figure out some points from Smith chart and following is my code:
Code: Select all
private void LcuBitmapContour_MouseMove(object sender, MouseEventArgs e)
{
var vals = lcuBitmapContour.ViewSmith.Axis.CoordToValue(new PointFloat(Cursor.Position.X, Cursor.Position.Y));
lblBitmap.Text = $"{vals.RealValue}, {vals.ImgValue}";
}
When the window is at around middle left of the screen: When the window is maximized: The red dot represents the mouse position with a small precision error
My axis reference value is set to 1.
Is there something that I am doing wrong?
Thanks.
Regards,
Lokesh