try different compass logo

dev-compass-alternatives
Hartmut Holzgraefe 2018-11-20 18:31:33 +00:00
rodzic 438873334c
commit d65f80f494
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -9,13 +9,13 @@ LOG = logging.getLogger('ocitysmap')
def render(renderer, ctx):
svg_path = os.path.abspath(os.path.join(
os.path.dirname(__file__), 'svg', 'default.svg'))
os.path.dirname(__file__), 'svg', 'Compass-wheel-black-white-red-yellow-background-64.svg'))
if not os.path.exists(svg_path):
LOG.warning("No compass rose image found")
return
h = convert_pt_to_dots(0.05 * renderer.paper_height_pt, renderer.dpi)
h = convert_pt_to_dots(0.10 * renderer.paper_height_pt, renderer.dpi)
if type(renderer).__name__ == "MultiPageRenderer":
x = 0

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 1.5 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 3.5 KiB