PixelPoint.

FromPointWithDpi(Point, Vector) 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, Vector dpi)

Parameters

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

Return Value

Type Description
PixelPoint The device-independent point.