18 references to ToScaledDP
Microsoft.Maui (18)
Platform\Tizen\MauiSwipeView.cs (10)
127 var point = new Point(touchPosition.X.ToScaledDP(), touchPosition.Y.ToScaledDP()); 610 double contentHeight = _contentView.SizeHeight.ToScaledDP(); 611 double contentWidth = _contentView.SizeWidth.ToScaledDP(); 686 var contentHeight = _contentView.SizeHeight.ToScaledDP(); 767 swipeOffset = _contentView.PositionX.ToScaledDP(); 771 swipeOffset = _contentView.PositionY.ToScaledDP(); 893 var contentWidth = _contentView.SizeWidth.ToScaledDP(); 908 var contentHeight = _contentView.SizeHeight.ToScaledDP(); 909 var contentWidth = _contentView.SizeWidth.ToScaledDP();
Platform\Tizen\PlatformTouchGraphicsView.cs (6)
25 _bounds = new RectF(0, 0, SizeWidth.ToScaledDP(), SizeHeight.ToScaledDP()); 37 touchPoints[i] = new PointF(e.Touch.GetLocalPosition(i).X.ToScaledDP(), e.Touch.GetLocalPosition(i).Y.ToScaledDP()); 63 touchPoints[i] = new PointF(e.Hover.GetLocalPosition(i).X.ToScaledDP(), e.Hover.GetLocalPosition(i).Y.ToScaledDP());
WindowOverlay\WindowOverlay.Tizen.cs (2)
101 var point = new Point(touch.GetLocalPosition(0).X.ToScaledDP(), touch.GetLocalPosition(0).Y.ToScaledDP());