ContentCoordinateConverter.ConvertScreenToLocal 方法

定义

重载

ConvertScreenToLocal(PointInt32)

将提供的 的屏幕坐标转换为本地坐标空间, (调整为 RasterizationScale) 。

ConvertScreenToLocal(PointInt32[])

将提供的 集合的屏幕坐标转换为本地坐标空间, (调整为 RasterizationScale) 。

ConvertScreenToLocal(RectInt32)

将所提供的 矩形 的屏幕坐标转换为本地坐标空间, (调整为 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)

将所提供的 矩形 的屏幕坐标转换为本地坐标空间, (调整为 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) 。

返回

转换后的 矩形

属性

适用于