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.5.3-dev
Syntax public float PointsPerPixel { get; }
Public ReadOnly Property PointsPerPixel As Single
Get
member PointsPerPixel : float32 with get
Property Value
Type:
SingleRemarks
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