7 references to ComputeScaleFactor
PresentationFramework (7)
System\Windows\Controls\Image.cs (1)
339
Size scaleFactor = Viewbox.
ComputeScaleFactor
(inputSize,
System\Windows\Controls\MediaElement.cs (1)
792
Size scaleFactor = Viewbox.
ComputeScaleFactor
(inputSize,
System\Windows\Controls\Primitives\DocumentPageView.cs (2)
326
pageZoom = Viewbox.
ComputeScaleFactor
(availableSize, pageSize, this.Stretch, this.StretchDirection);
417
pageZoom = Viewbox.
ComputeScaleFactor
(finalSize, pageSize, this.Stretch, this.StretchDirection);
System\Windows\Controls\ViewBox.cs (2)
323
Size scalefac =
ComputeScaleFactor
(constraint, childSize, this.Stretch, this.StretchDirection);
349
Size scalefac =
ComputeScaleFactor
(arrangeSize, childSize, this.Stretch, this.StretchDirection);
System\Windows\Documents\XamlToRtfWriter.cs (1)
2097
Size scaleFactor = System.Windows.Controls.Viewbox.
ComputeScaleFactor
(