PixelPoint.

FromPoint(Point, double) Method

Summary

Converts a Point to device pixels using the specified scaling factor.
Namespace
Avalonia
Containing Type
PixelPoint

Syntax

public static PixelPoint FromPoint(Point point, double scale)

Parameters

Name Type Description
point Point The point.
scale double The scaling factor.

Return Value

Type Description
PixelPoint The device-independent point.