view .hgchurn @ 1883:76a6d334e681 dev-pdf-generation

Client: pdf-gen: refactor addScaleBar * Change positioning from center to left-upper corner for a new function addRoundedBox() that is now used before addScaleBar(). This is easier to calculate and is more like the model of jsPDF. * Add more comments to show how this works. * Move saving of the current vue instance to be the last command before the callback is set.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 16 Jan 2019 20:58:59 +0100
parents 451c7d3fe6be
children
line wrap: on
line source

teichmann@intevation.de = sascha.teichmann@intevation.de
bernhard.reiter@intevation.de = bernhard@intevation.de