Click or drag to resize

GraphicsPointsPerPixel Property

Gets the scale of points per pixel. Multiply by pixel size to get point value (e.g. to set font size in pixels).

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public float PointsPerPixel { get; }

Property Value

Type: Single
Remarks
A value of 1.0 indicates that one point equals one pixel. Windows is usually 0.75 (96 dpi) while other systems are usually 1.0 (e.g. linux, os x)
See Also