Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 754 Bytes

File metadata and controls

24 lines (13 loc) · 754 Bytes

GraphicsPathRotatedStringDrawingIssue

black = expected, red = actual (in previous commits where "sample text" is drawn)

mousemove = change drawing position mouseclick left = start/stop rotation mouseclick right = reset rotation to 0

Solved thanks to: https://docs.microsoft.com/en-us/answers/questions/939696/graphicspath-text-rendering-issue-empty-space-betw.html

Solved issues (GraphicsPath string rendering offset issue only): https://stackoverflow.com/questions/51006343/winforms-drawing-a-path-in-the-right-place

dotnet/winforms#7485

Working result:

winforms.graphicspath.rotation.mp4