ScreenInfo IRenderWebBrowser.GetScreenInfo() { var screenInfo = new ScreenInfo(); screenInfo.Width = size.Width; screenInfo.Height = size.Height; //TODO: Expose NotifyScreenInfoChanged and allow user to specify their own scale factor screenInfo.ScaleFactor = 1.0F; return screenInfo; }
ScreenInfo IRenderWebBrowser.GetScreenInfo() { //TODO: Expose NotifyScreenInfoChanged and allow user to specify their own scale factor var screenInfo = new ScreenInfo { ScaleFactor = 1.0F }; return screenInfo; }
ScreenInfo IRenderWebBrowser.GetScreenInfo() { var screenInfo = new ScreenInfo { ScaleFactor = (float)matrix.M11 }; return screenInfo; }
ScreenInfo IRenderWebBrowser.GetScreenInfo() { var screenInfo = new ScreenInfo(); var point = matrix.Transform(new Point(ActualWidth, ActualHeight)); screenInfo.Width = (int)point.X; screenInfo.Height = (int)point.Y; screenInfo.ScaleFactor = (float)matrix.M11; return screenInfo; }