~kdevelop/kgraphviewer/master

Viewing all changes in revision 636.

  • Committer: David Redondo
  • Date: 2019-08-11 14:00:06 UTC
  • Revision ID: git-v1:6068b0dc8b80cac73585d92decfea569d796e182
Draw empty arrowheads closed

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:
{F7204345}
After:
{F7204349}

Reviewers: vkrause

Reviewed By: vkrause

Differential Revision: https://phabricator.kde.org/D23093

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: