ContentCoordinateConverter.ConvertLocalToScreen 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ConvertLocalToScreen(Point) |
將所提供 點 的本機座標轉換為螢幕座標空間, (調整 RasterizationScale) 。 |
ConvertLocalToScreen(Point[]) |
將所提供 點 集合的本機座標轉換為螢幕座標空間, (調整 RasterizationScale) 。 |
ConvertLocalToScreen(Rect) |
將所提供 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)
將所提供 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
要從本機座標轉換成螢幕座標空間的 rect , (針對 RasterizationScale) 進行調整。
傳回
已轉換 的 rect。
- 屬性
適用於
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
四捨五入模式。
傳回
已轉換 的點 集合。
- 屬性