Skip to content

Commit

Permalink
Fix QPainter fill_path (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiggins authored Mar 2, 2021
1 parent 0ddaa89 commit 7cc3b1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kiva/qpainter.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ def stroke_path(self):
def fill_path(self):
"""
"""
self.path.path.setFillRule(QtCore.Qt.WindingFill)
self.gc.fillPath(self.path.path, self.gc.brush())
self.begin_path()

Expand Down

0 comments on commit 7cc3b1e

Please sign in to comment.