Share via


ContentCoordinateConverter Class

Definition

Converts between a local coordinate space and the system screen coordinates.

[WebHostHidden]
public ref class ContentCoordinateConverter
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ContentCoordinateConverter
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ContentCoordinateConverter
Public Class ContentCoordinateConverter
Inheritance
Object Platform::Object IInspectable ContentCoordinateConverter
Attributes

Methods

ConvertLocalToScreen(Point)

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

ConvertLocalToScreen(Point[], ContentCoordinateRoundingMode)

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

ConvertLocalToScreen(Point[])

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

ConvertLocalToScreen(Rect)

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

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).

CreateForWindowId(WindowId)

Creates a new ContentCoordinateConverter object for the specified WindowId.

Applies to