2 references to ConstraintToSystemDrawingSize
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
247
SD.Size constraintSize = Convert.
ConstraintToSystemDrawingSize
(constraint, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);
280
SD.Size targetSize = Convert.
ConstraintToSystemDrawingSize
(finalSize, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);