projects
/
pgeu-system.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c3aa0
)
Fix bug in calculation of circle location
author
Kaiting Chen
<ktchen14@gmail.com>
Thu, 24 Apr 2025 21:20:07 +0000
(17:20 -0400)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 25 Apr 2025 15:32:36 +0000
(17:32 +0200)
postgresqleu/confreg/jinjapdf.py
patch
|
blob
|
blame
|
history
diff --git
a/postgresqleu/confreg/jinjapdf.py
b/postgresqleu/confreg/jinjapdf.py
index 56cc24950e4fb132f30f617994850e3f267c7158..f10be6e1b8051358e9aa71dc5d0543b2f4c9b327 100755
(executable)
--- a/
postgresqleu/confreg/jinjapdf.py
+++ b/
postgresqleu/confreg/jinjapdf.py
@@
-86,7
+86,7
@@
class JinjaFlowable(Flowable):
else:
self.canv.setStrokeColor(get_color(o['stroke']))
self.canv.circle(getmm(o, 'x'),
- self.height - getmm(o, 'y') -
(getmm(o, 'radius') / 2
),
+ self.height - getmm(o, 'y') -
getmm(o, 'radius'
),
getmm(o, 'radius'),
stroke=stroke,
fill=fill)