Mercurial > gemma
changeset 3785:0c5816af79a5 yworks-svg2pdf
client: improve pdf generation of Fairwayprofile
* Improve legend graphic style of lines to be closer to the screen.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Wed, 03 Jul 2019 13:12:32 +0200 |
parents | 110436ee8ed2 |
children | a2da2328bb86 |
files | client/src/components/fairway/Fairwayprofile.vue |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue Wed Jul 03 12:38:13 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Wed Jul 03 13:12:32 2019 +0200 @@ -513,13 +513,13 @@ this.pdf.doc.circle(x, y, 2, "FD"); this.pdf.doc.text(x + 3, y + 1, "Water"); - this.pdf.doc.setLineDashPattern([0.3], 0); + this.pdf.doc.setLineDashPattern([0.8], 0); this.pdf.doc.setDrawColor("#0000ff"); this.pdf.doc.setFillColor("#fcfacc"); this.pdf.doc.circle(x, y + 5, 2, "FD"); this.pdf.doc.text(x + 3, y + 6, "Fairway (LOS 1)"); - this.pdf.doc.setLineDashPattern([1], 0); + this.pdf.doc.setLineDashPattern([1.8], 0); this.pdf.doc.setFillColor("#fdfce5"); this.pdf.doc.circle(x, y + 10, 2, "FD"); this.pdf.doc.text(x + 3, y + 11, "Fairway (LOS 2)");