PixelPointFromPointWithDpi(Point, Double) Method
Converts a
Point to device pixels using the specified dots per inch (DPI).
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static PixelPoint FromPointWithDpi(
Point point,
double dpi
)
Public Shared Function FromPointWithDpi (
point As Point,
dpi As Double
) As PixelPoint
static member FromPointWithDpi :
point : Point *
dpi : float -> PixelPoint
- point Point
- The point.
- dpi Double
- The dots per inch of the device.
PixelPointThe device-independent point.