Draw empty arrowheads closed
ClosedPublic

Authored by davidre on Aug 11 2019, 1:11 PM.

Details

Summary

Because drawPolyline will not implicitely close the supplied Polygon
(as drawPolygon does), there was always the last edge of the arrowhead missing.
We have to manually close the Polygon by setting the endpoint to be the
starting point.

Test Plan

Before:


After:

Diff Detail

Repository
R491 KGraphViewer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidre requested review of this revision.Aug 11 2019, 1:11 PM
davidre created this revision.
davidre edited the test plan for this revision. (Show Details)Aug 11 2019, 1:12 PM
davidre edited the test plan for this revision. (Show Details)
vkrause accepted this revision.Aug 11 2019, 1:52 PM
This revision is now accepted and ready to land.Aug 11 2019, 1:52 PM
This revision was automatically updated to reflect the committed changes.