Skip to main content

FromPointWithDpi(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)

public static PixelPoint FromPointWithDpi(
Point point,
double dpi
)

Parameters

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

Return Value

PixelPoint
The device-independent point.

See Also

Reference

PixelPoint Structure
FromPointWithDpi Overload
Avalonia Namespace