New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ControlPaint.DrawBorder doesn't draw correctly #3945
Labels
💥 regression-preview
Regression from a preview release
Comments
RussKie
added
💥 regression-preview
Regression from a preview release
Priority:1
Work that is critical for the release, but we could probably ship without
labels
Sep 18, 2020
JeremyKuhne
added a commit
to JeremyKuhne/winforms
that referenced
this issue
Sep 18, 2020
Fixes dotnet#3945 The DrawBorder overload that takes individual side parameters needed to adjust line ends when drawing in GDI. Manually validated output at different widths and transparencies between 3.1 and 5.0. Will follow up with automated regression tests in a separate PR.
JeremyKuhne
added a commit
that referenced
this issue
Sep 19, 2020
Fixes #3945 The DrawBorder overload that takes individual side parameters needed to adjust line ends when drawing in GDI. Manually validated output at different widths and transparencies between 3.1 and 5.0. Will follow up with automated regression tests in a separate PR.
JeremyKuhne
added a commit
to JeremyKuhne/winforms
that referenced
this issue
Sep 19, 2020
Fixes dotnet#3945 The DrawBorder overload that takes individual side parameters needed to adjust line ends when drawing in GDI. Manually validated output at different widths and transparencies between 3.1 and 5.0. Will follow up with automated regression tests in a separate PR.
JeremyKuhne
added a commit
to JeremyKuhne/winforms
that referenced
this issue
Sep 21, 2020
…or the end point of lines that were switched from GDI+ to GDI (for performance and memory usage). Note that the majority of the code in these commits are test code. Fixes dotnet#3953 Fixes dotnet#3945 Fixes dotnet#3931 Fixes dotnet#3944
RussKie
removed
the
Priority:1
Work that is critical for the release, but we could probably ship without
label
Sep 24, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The ControlPaint.DrawBorder that takes individual side styles and colors doesn't render correctly:
Normal is on the left, current is on the right:
Dotted and dashed are ok, the others are missing the lower right pixel. This is an artifact of GDI not ending on the same pixel as GDI+. This is more obvious when widths are greater than 1:
The text was updated successfully, but these errors were encountered: