7 references to ComputeScaleFactor
PresentationFramework (7)
System\Windows\Controls\Image.cs (1)
331
Size scaleFactor = Viewbox.
ComputeScaleFactor
(inputSize,
System\Windows\Controls\MediaElement.cs (1)
785
Size scaleFactor = Viewbox.
ComputeScaleFactor
(inputSize,
System\Windows\Controls\Primitives\DocumentPageView.cs (2)
322
pageZoom = Viewbox.
ComputeScaleFactor
(availableSize, pageSize, this.Stretch, this.StretchDirection);
413
pageZoom = Viewbox.
ComputeScaleFactor
(finalSize, pageSize, this.Stretch, this.StretchDirection);
System\Windows\Controls\ViewBox.cs (2)
317
Size scalefac =
ComputeScaleFactor
(constraint, childSize, this.Stretch, this.StretchDirection);
343
Size scalefac =
ComputeScaleFactor
(arrangeSize, childSize, this.Stretch, this.StretchDirection);
System\Windows\Documents\XamlToRtfWriter.cs (1)
2096
Size scaleFactor = System.Windows.Controls.Viewbox.
ComputeScaleFactor
(