共用方式為


ContentCoordinateConverter.ConvertScreenToLocal 方法

定義

多載

ConvertScreenToLocal(PointInt32)

將所提供 的螢幕座標轉換為本機座標空間, (調整 RasterizationScale) 。

ConvertScreenToLocal(PointInt32[])

將所提供 集合的螢幕座標轉換為本機座標空間, (調整 RasterizationScale) 。

ConvertScreenToLocal(RectInt32)

將所提供 Rect 的螢幕座標轉換成本機座標空間, (針對 RasterizationScale) 調整。

ConvertScreenToLocal(PointInt32)

將所提供 的螢幕座標轉換為本機座標空間, (調整 RasterizationScale) 。

public:
 virtual Point ConvertScreenToLocal(PointInt32 screenPoint) = ConvertScreenToLocal;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("ConvertScreenToLocalWithPoint")]
Point ConvertScreenToLocal(PointInt32 const& screenPoint);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("ConvertScreenToLocalWithPoint")]
public Point ConvertScreenToLocal(PointInt32 screenPoint);
function convertScreenToLocal(screenPoint)
Public Function ConvertScreenToLocal (screenPoint As PointInt32) As Point

參數

screenPoint
PointInt32

從螢幕座標轉換成本機座標的 , (針對) 調整 RasterizationScale

傳回

已轉換 的點

屬性

適用於

ConvertScreenToLocal(PointInt32[])

將所提供 集合的螢幕座標轉換為本機座標空間, (調整 RasterizationScale) 。

public:
 virtual Platform::Array <Point> ^ ConvertScreenToLocal(Platform::Array <PointInt32> ^ screenPoints) = ConvertScreenToLocal;
/// [Windows.Foundation.Metadata.Overload("ConvertScreenToLocalWithPoints")]
winrt::array_view <Point> ConvertScreenToLocal(winrt::array_view <PointInt32> const& screenPoints);
[Windows.Foundation.Metadata.Overload("ConvertScreenToLocalWithPoints")]
public Point[] ConvertScreenToLocal(PointInt32[] screenPoints);
function convertScreenToLocal(screenPoints)
Public Function ConvertScreenToLocal (screenPoints As PointInt32()) As Point()

參數

screenPoints
PointInt32[]

要從螢幕座標轉換成本機座標的 集合, (針對) 進行調整 RasterizationScale

傳回

Point[]

已轉換 的點 集合。

屬性

適用於

ConvertScreenToLocal(RectInt32)

將所提供 Rect 的螢幕座標轉換成本機座標空間, (針對 RasterizationScale) 調整。

public:
 virtual Rect ConvertScreenToLocal(RectInt32 screenRect) = ConvertScreenToLocal;
/// [Windows.Foundation.Metadata.Overload("ConvertScreenToLocalWithRect")]
Rect ConvertScreenToLocal(RectInt32 const& screenRect);
[Windows.Foundation.Metadata.Overload("ConvertScreenToLocalWithRect")]
public Rect ConvertScreenToLocal(RectInt32 screenRect);
function convertScreenToLocal(screenRect)
Public Function ConvertScreenToLocal (screenRect As RectInt32) As Rect

參數

screenRect
RectInt32

要從螢幕座標轉換成本機座標的 rect , (針對) 進行調整 RasterizationScale

傳回

已轉換 的 rect

屬性

適用於