Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible endless loop when stroking curves
The bezier shifting algorithm compared coordinates exactly, and so could end up in an endless loop when values were at the edge of the number resolution. Fix by using fuzzy comparison instead. Fixes: QTBUG-75522 Change-Id: I61346edbd87389f66965a906ac337fc1f5300e5c Reviewed-by: Robert Loehning <[email protected]> Reviewed-by: Allan Sandfeld Jensen <[email protected]>
- Loading branch information