Click or drag to resize

ScreenLogicalPixelSize Property

Gets the number of physical pixels per logical pixel of this display.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public float LogicalPixelSize { get; }

Property Value

Type: Single
The number of physical pixels for each logical pixel.
On Retina/HighDPI displays, this will usually return 2.0, but can also be a fraction of pixels. Non-retina will return 1.0. This essentially returns the value of RealScale divided by Scale.
See Also