System\Windows\UIElement.cs (6)
1072return new Size(RoundLayoutValue(size.Width, dpiScaleX), RoundLayoutValue(size.Height, dpiScaleY));
1120return new Rect(RoundLayoutValue(rect.X, dpiScaleX),
1121RoundLayoutValue(rect.Y, dpiScaleY),
1122RoundLayoutValue(rect.Width, dpiScaleX),
1123RoundLayoutValue(rect.Height, dpiScaleY)