ContentCoordinateConverter.ConvertLocalToScreen Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConvertLocalToScreen(Point) |
Converts the local coordinates of the supplied point to screen coordinate space (adjusted for RasterizationScale). |
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). |
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 to screen coordinate space (adjusted for 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
Parameters
- localPoint
- Point
The point to convert from local coordinates to screen coordinate space (adjusted for RasterizationScale).
Returns
The converted point.
- Attributes
Applies to
ConvertLocalToScreen(Point[])
Converts the local coordinates of the supplied point collection to screen coordinate space (adjusted for 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()
Parameters
- localPoints
- Point[]
The point collection to convert from local coordinates to screen coordinate space (adjusted for RasterizationScale).
Returns
- Attributes
Remarks
The converted point collection.
Applies to
ConvertLocalToScreen(Rect)
Converts the local coordinates of the supplied rect to screen coordinate space (adjusted for 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
Parameters
- localRect
- Rect
The rect to convert from local coordinates to screen coordinate space (adjusted for RasterizationScale).
Returns
The converted rect.
- Attributes
Applies to
ConvertLocalToScreen(Point[], ContentCoordinateRoundingMode)
Converts the local coordinates of the supplied point collection to screen coordinate space (adjusted for RasterizationScale) using the specified rounding mode.
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()
Parameters
- localPoints
- Point[]
The point collection to convert from local coordinates to screen coordinate space (adjusted for RasterizationScale).
- roundingMode
- ContentCoordinateRoundingMode
The rounding mode.
Returns
The converted point collection.
- Attributes