Inline Documentation for GraphicsUnit.Display is incorrect.
Open
area-System.Drawing
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
The documentation site has the correct value:
>Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.
https://learn.microsoft.com/en-us/dotnet/api/system.drawing.graphicsunit?view=windowsdesktop-9.0
However the linked source has the following, incorrect value:
>Specifies 1/75 inch as the unit of measure.
https://github.com/dotnet/winforms/blob/ece6f6dbbacdcd43c32e1d33eed39ee3afe8934c/src/System.Drawing.Common/src/System/Drawing/GraphicsUnit.cs#L22
Contributor guide
Assessment
This issue has not been assessed yet.