[OpenJDK 2D-Dev] RFR [14]: JDK-8228711: Path rendered incorrectly when it goes outside the clipping region

Laurent Bourgès bourges.laurent at gmail.com
Mon Jul 29 07:56:16 UTC 2019


Please review this bug fix for the Marlin renderer (introduced in
JBS: https://bugs.openjdk.java.net/browse/JDK-8228711
webrev: http://cr.openjdk.java.net/~lbourges/marlin/marlin-8228711.0/

This patch is very close to MarlinFX patch integrated last week in OpenJFX
14, see https://bugs.openjdk.java.net/browse/JDK-8226789

- Stroker: fixed closePath() to preserve last position and its outcode
- TransformingPathConsumer2D: fixed PathClipFilter.closePath() to preserve
last position and its outcode
- Dasher: better precision handling (comparison float value with epsilon)
- ClipShapeTest: use preliminary curve subdivision (length > 50px) to avoid
false positives on long stroked curves (quad / cubic) + lowered thresholds

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/2d-dev/attachments/20190729/4e95f72c/attachment.html>

More information about the 2d-dev mailing list