PixelPoint.

FromPointWithDpi(Point, double) Method

Summary

Converts a Point to device pixels using the specified dots per inch (DPI).
Namespace
Avalonia
Containing Type
PixelPoint

Syntax

public static PixelPoint FromPointWithDpi(Point point, double dpi)

Parameters

Name Type Description
point Point The point.
dpi double The dots per inch of the device.

Return Value

Type Description
PixelPoint The device-independent point.