mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c74ed9e887
commit
af2095453a
@ -313,10 +313,11 @@ class PdfEngine(QPaintEngine):
|
||||
self.pdf.add_clip(p, fill_rule=fill_rule)
|
||||
|
||||
def drawPoints(self, points):
|
||||
p = Path()
|
||||
for point in points:
|
||||
point = self.current_transform.map(point)
|
||||
self.canvas.circle(point.x(), point.y(), 0.1,
|
||||
stroke=self.do_stroke, fill=self.do_fill)
|
||||
p.move_to(point.x(), point.y())
|
||||
p.line_to(point.x(), point.y() + 0.001)
|
||||
self.pdf.draw_path(p, stroke=self.do_stroke, fill=False)
|
||||
|
||||
def drawRects(self, rects):
|
||||
for rect in rects:
|
||||
|
Loading…
x
Reference in New Issue
Block a user