Alexandre Julliard pushed to branch master at wine / wine
Commits: 46a99090 by Elizabeth Figura at 2024-10-31T11:02:16-05:00 win32u: Normalize inverted rectangles in dibdrv_RoundRect().
- - - - - cf366006 by Elizabeth Figura at 2024-10-31T11:02:19-05:00 win32u: Correctly handle transforms which flip in get_arc_points().
- - - - - 6be6f67d by Elizabeth Figura at 2024-10-31T11:02:19-05:00 win32u: Do not convert back to integer before finding intersections.
This unnecessarily loses precision, and if the point is very close to the origin (as for the internal arcs generated by RoundRect(), but also for those specified manually) this may generate an incorrect arc.
This addresses the last artifacts from bug 35331.
- - - - - 41711279 by Elizabeth Figura at 2024-10-31T11:02:23-05:00 win32u: Forward to Rectangle() if the ellipse width or height is zero.
Before 5924ab4c5155d97f4b23a33e97258c1ec382ea02 we would forward to Rectangle() if the width or height was <= 2. This is incorrect for scaling transformations, but forwarding when the dimensions are zero is still correct, and avoids errors.
- - - - -
1 changed file:
- dlls/win32u/dibdrv/graphics.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/7d5ddd37fab45afb3beb979cdaf263...