Mercurial > gemma
changeset 2539:ad2a1d02ad1c
client:pdf-gen: improve north arrow drawing
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Thu, 07 Mar 2019 14:59:03 +0100 |
parents | 29eb15039d0d |
children | 3c17d401fbd4 |
files | client/src/components/Pdftool.vue |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue Thu Mar 07 13:22:33 2019 +0100 +++ b/client/src/components/Pdftool.vue Thu Mar 07 14:59:03 2019 +0100 @@ -694,9 +694,9 @@ // north arrow this.pdf.doc.setDrawColor(0, 0, 0); this.pdf.doc.setFillColor(255, 255, 255); - this.pdf.doc.triangle(x3, y3, x1, y1, x1, y2, "FD"); + this.pdf.doc.triangle(x3, y3, x1 - 0.1, y1 + 0.2, x1 - 0.1, y2, "FD"); this.pdf.doc.setFillColor(0, 0, 0); - this.pdf.doc.triangle(x1, y1, x1, y2, x4, y3, "FD"); + this.pdf.doc.triangle(x1 + 0.1, y1 + 0.2, x1 + 0.1, y2, x4, y3, "FD"); this.pdf.doc.setFontSize(size * 3.1); this.pdf.doc.setTextColor(255, 255, 255); this.pdf.doc.setFontStyle("bold");