PixelPointFromPointWithDpi(Point, Double) Method

Converts a Point to device pixels using the specified dots per inch (DPI).

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static PixelPoint FromPointWithDpi(
	Point point,
	double dpi
)

Parameters

point  Point
The point.
dpi  Double
The dots per inch of the device.

Return Value

PixelPoint
The device-independent point.

See Also