mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-21 21:53:40 +08:00
new commit
This commit is contained in:
@@ -125,7 +125,8 @@ class Shape(object):
|
||||
color = self.select_line_color if self.selected else self.line_color
|
||||
pen = QPen(color)
|
||||
# Try using integer sizes for smoother drawing(?)
|
||||
pen.setWidth(max(1, int(round(2.0 / self.scale))))
|
||||
# no need, it casuses that font is too small in high-resolusion image
|
||||
# pen.setWidth(max(1, int(round(2.0 / self.scale))))
|
||||
painter.setPen(pen)
|
||||
|
||||
line_path = QPainterPath()
|
||||
|
||||
Reference in New Issue
Block a user