7 references to ComputeScaleFactor
PresentationFramework (7)
src\Framework\System\Windows\Controls\Image.cs (1)
344
Size scaleFactor = Viewbox.
ComputeScaleFactor
(inputSize,
src\Framework\System\Windows\Controls\MediaElement.cs (1)
797
Size scaleFactor = Viewbox.
ComputeScaleFactor
(inputSize,
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (2)
328
pageZoom = Viewbox.
ComputeScaleFactor
(availableSize, pageSize, this.Stretch, this.StretchDirection);
419
pageZoom = Viewbox.
ComputeScaleFactor
(finalSize, pageSize, this.Stretch, this.StretchDirection);
src\Framework\System\Windows\Controls\ViewBox.cs (2)
331
Size scalefac =
ComputeScaleFactor
(constraint, childSize, this.Stretch, this.StretchDirection);
358
Size scalefac =
ComputeScaleFactor
(arrangeSize, childSize, this.Stretch, this.StretchDirection);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2098
Size scaleFactor = System.Windows.Controls.Viewbox.
ComputeScaleFactor
(