Skip to main content

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

Parameters

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

Return Value

PixelPoint
The device-independent point.

See Also

Reference

PixelPoint Structure
FromPointWithDpi Overload
Avalonia Namespace