Udostępnij za pośrednictwem


ContentCoordinateConverter.ConvertScreenToLocal Method

Definition

Overloads

ConvertScreenToLocal(PointInt32)

Converts the screen coordinates of the supplied point to local coordinate space (adjusted for RasterizationScale).

ConvertScreenToLocal(PointInt32[])

Converts the screen coordinates of the supplied point collection to local coordinate space (adjusted for RasterizationScale).

ConvertScreenToLocal(RectInt32)

Converts the screen coordinates of the supplied rect to local coordinate space (adjusted for RasterizationScale).

ConvertScreenToLocal(PointInt32)

Converts the screen coordinates of the supplied point to local coordinate space (adjusted for 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

Parameters

screenPoint
PointInt32

The point to convert from screen coordinates to local coordinate space (adjusted for RasterizationScale).

Returns

The converted point.

Attributes

Applies to

ConvertScreenToLocal(PointInt32[])

Converts the screen coordinates of the supplied point collection to local coordinate space (adjusted for 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()

Parameters

screenPoints
PointInt32[]

The point collection to convert from screen coordinates to local coordinate space (adjusted for RasterizationScale).

Returns

Point[]

The converted point collection.

Attributes

Applies to

ConvertScreenToLocal(RectInt32)

Converts the screen coordinates of the supplied rect to local coordinate space (adjusted for 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

Parameters

screenRect
RectInt32

The rect to convert from screen coordinates to local coordinate space (adjusted for RasterizationScale).

Returns

The converted rect.

Attributes

Applies to