ContentCoordinateConverter.ConvertLocalToScreen 方法

定义

重载

ConvertLocalToScreen(Point)

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

ConvertLocalToScreen(Point[])

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

ConvertLocalToScreen(Rect)

将所提供的 矩形 的本地坐标转换为屏幕坐标空间, (根据 RasterizationScale) 进行调整。

ConvertLocalToScreen(Point[], ContentCoordinateRoundingMode)

将提供的 集合的本地坐标转换为屏幕坐标空间, (使用指定的舍入模式调整 RasterizationScale) 。

ConvertLocalToScreen(Point)

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

public:
 virtual PointInt32 ConvertLocalToScreen(Point localPoint) = ConvertLocalToScreen;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithPoint")]
PointInt32 ConvertLocalToScreen(Point const& localPoint);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithPoint")]
public PointInt32 ConvertLocalToScreen(Point localPoint);
function convertLocalToScreen(localPoint)
Public Function ConvertLocalToScreen (localPoint As Point) As PointInt32

参数

localPoint
Point

要从本地坐标转换为屏幕坐标空间的 (调整为 RasterizationScale) 。

返回

转换的

属性

适用于

ConvertLocalToScreen(Point[])

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

public:
 virtual Platform::Array <PointInt32> ^ ConvertLocalToScreen(Platform::Array <Point> ^ localPoints) = ConvertLocalToScreen;
/// [Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithPoints")]
winrt::array_view <PointInt32> ConvertLocalToScreen(winrt::array_view <Point> const& localPoints);
[Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithPoints")]
public PointInt32[] ConvertLocalToScreen(Point[] localPoints);
function convertLocalToScreen(localPoints)
Public Function ConvertLocalToScreen (localPoints As Point()) As PointInt32()

参数

localPoints
Point[]

要从本地坐标转换为屏幕坐标空间的 集合 (调整为 RasterizationScale) 。

返回

属性

注解

转换后的 集合。

适用于

ConvertLocalToScreen(Rect)

将所提供的 矩形 的本地坐标转换为屏幕坐标空间, (根据 RasterizationScale) 进行调整。

public:
 virtual RectInt32 ConvertLocalToScreen(Rect localRect) = ConvertLocalToScreen;
/// [Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithRect")]
RectInt32 ConvertLocalToScreen(Rect const& localRect);
[Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithRect")]
public RectInt32 ConvertLocalToScreen(Rect localRect);
function convertLocalToScreen(localRect)
Public Function ConvertLocalToScreen (localRect As Rect) As RectInt32

参数

localRect
Rect

要从本地坐标转换为屏幕坐标空间的 矩形 (调整为 RasterizationScale) 。

返回

转换后的 矩形

属性

适用于

ConvertLocalToScreen(Point[], ContentCoordinateRoundingMode)

将提供的 集合的本地坐标转换为屏幕坐标空间, (使用指定的舍入模式调整 RasterizationScale) 。

public:
 virtual Platform::Array <PointInt32> ^ ConvertLocalToScreen(Platform::Array <Point> ^ localPoints, ContentCoordinateRoundingMode roundingMode) = ConvertLocalToScreen;
/// [Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithPointsAndRoundingMode")]
winrt::array_view <PointInt32> ConvertLocalToScreen(winrt::array_view <Point> const& localPoints, ContentCoordinateRoundingMode const& roundingMode);
[Windows.Foundation.Metadata.Overload("ConvertLocalToScreenWithPointsAndRoundingMode")]
public PointInt32[] ConvertLocalToScreen(Point[] localPoints, ContentCoordinateRoundingMode roundingMode);
function convertLocalToScreen(localPoints, roundingMode)
Public Function ConvertLocalToScreen (localPoints As Point(), roundingMode As ContentCoordinateRoundingMode) As PointInt32()

参数

localPoints
Point[]

要从本地坐标转换为屏幕坐标空间的 集合 (调整为 RasterizationScale) 。

roundingMode
ContentCoordinateRoundingMode

舍入模式。

返回

转换后的 集合。

属性

适用于