/// <summary> /// Update the Info Window with new mouse position (and state of current tool). /// </summary> /// <param name="p">New mouse position to show</param> private void UpdateInfoWindow(SKPoint p) { windowInfo.ReportSelectedTool(appTools.ActiveTool); windowInfo.ReportMousePosition(p); windowInfo.ReportLabelPlacement(appTools.ActiveTool); windowInfo.ReportMeasurements(appTools.ActiveTool); var invalidateAtPos = new SKPointI((int)InfoWindowLocation.X + 1, (int)InfoWindowLocation.Y + 1); screenService.Invalidate(invalidateAtPos); }