Do not round rotation in SVG
When making >8 generation fan charts, the rounding of rotation becomes visible. SVG does not force rotation to be integers, so better not round this.
This commit is contained in:
parent
ca0e77d1f4
commit
2b033dfaff
@ -128,7 +128,8 @@ class SvgDrawDoc(BaseDoc, DrawDoc):
|
||||
self.buffer.write(
|
||||
'<text ' +
|
||||
'x="%4.2f" y="%4.2f" ' % (xpos, ypos) +
|
||||
'transform="rotate(%d %4.2f %4.2f)" ' % (angle, centerx, centery) +
|
||||
'transform="rotate(%4.2f %4.2f %4.2f)" ' % (angle, centerx,
|
||||
centery) +
|
||||
'style="fill:#%02x%02x%02x; '% font.get_color()
|
||||
)
|
||||
if font.get_bold():
|
||||
|
Loading…
Reference in New Issue
Block a user