1
0
forked from ScoDoc/ScoDoc

Filigranne PDF: légère modif position.

This commit is contained in:
Emmanuel Viennet 2024-05-22 13:00:44 +02:00
parent 42882154d5
commit 3ca5636454

View File

@ -382,11 +382,11 @@ class ScoDocPageTemplate(PageTemplate):
filigranne = self.filigranne.get(doc.page, None)
if filigranne:
canv.saveState()
canv.translate(9 * cm, 27.6 * cm)
canv.rotate(30)
canv.scale(4.5, 4.5)
canv.translate(10 * cm, 21.0 * cm)
canv.rotate(36)
canv.scale(7, 7)
canv.setFillColorRGB(1.0, 0.65, 0.65, alpha=0.6)
canv.drawRightString(0, 0, SU(filigranne))
canv.drawCentredString(0, 0, SU(filigranne))
canv.restoreState()
doc.filigranne = None